diff options
author | Sam Potts <sam@potts.es> | 2017-12-20 20:49:41 +0000 |
---|---|---|
committer | Sam Potts <sam@potts.es> | 2017-12-20 20:49:41 +0000 |
commit | a2ef691b4b2031882581ed1c80d4ef0acee4acbe (patch) | |
tree | ee9f76f6fb458f33d91236153bfc2db9c95a2da1 | |
parent | 9e0c406a4ab7afa3e1f76687c4befcad171fe5aa (diff) | |
download | plyr-a2ef691b4b2031882581ed1c80d4ef0acee4acbe.tar.lz plyr-a2ef691b4b2031882581ed1c80d4ef0acee4acbe.tar.xz plyr-a2ef691b4b2031882581ed1c80d4ef0acee4acbe.zip |
Comment update
-rw-r--r-- | readme.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -321,7 +321,7 @@ player.play(); | `supports(type)` | String | Check support for a mime type. | | `destroy()` | - | Destroy the instance and garbage collect any elements. | -1. `play()` will return a [`Promise`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise) in _some_ browsers - WebKit and Mozilla [according to MDN](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/play) at time of writing. +1. For HTML5 players, `play()` will return a [`Promise`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise) in _some_ browsers - WebKit and Mozilla [according to MDN](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/play) at time of writing. ### Getters and Setters |