|
|
@@ -72,6 +72,7 @@ A `JSMpeg.Player` instance supports the following methods and properties:
|
|
72
|
72
|
- `.play()` – start playback
|
|
73
|
73
|
- `.pause()` – pause playback
|
|
74
|
74
|
- `.stop()` – stop playback and seek to the beginning
|
|
|
75
|
+- `.destroy()` – stops playback, disconnects the source and cleans up WebGL and WebAudio state. The player can not be used afterwards.
|
|
75
|
76
|
- `.volume` – get or set the audio volume (0-1)
|
|
76
|
77
|
- `.currentTime` – get or set the current playback position in seconds
|
|
77
|
78
|
|