Fix for .stop() method (fixes #819)
This commit is contained in:
@ -379,8 +379,11 @@ class Plyr {
|
||||
* Stop playback
|
||||
*/
|
||||
stop() {
|
||||
this.restart();
|
||||
this.pause();
|
||||
if (this.isHTML5) {
|
||||
this.media.load();
|
||||
} else {
|
||||
this.media.stop();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user