Skip to content

Commit

Permalink
Documented .destroy() method
Browse files Browse the repository at this point in the history
  • Loading branch information
phoboslab committed Feb 18, 2017
1 parent ae2f96a commit 7f580a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ A `JSMpeg.Player` instance supports the following methods and properties:
- `.play()` – start playback
- `.pause()` – pause playback
- `.stop()` – stop playback and seek to the beginning
- `.destroy()` – stops playback, disconnects the source and cleans up WebGL and WebAudio state. The player can not be used afterwards.
- `.volume` – get or set the audio volume (0-1)
- `.currentTime` – get or set the current playback position in seconds

Expand Down

0 comments on commit 7f580a7

Please sign in to comment.