aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/plyr.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/plyr.js')
-rw-r--r--src/js/plyr.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/js/plyr.js b/src/js/plyr.js
index 3de42f9c..03396c68 100644
--- a/src/js/plyr.js
+++ b/src/js/plyr.js
@@ -379,8 +379,11 @@ class Plyr {
* Stop playback
*/
stop() {
- this.restart();
- this.pause();
+ if (this.isHTML5) {
+ this.media.load();
+ } else {
+ this.media.stop();
+ }
}
/**