Comments, small tweaks
This commit is contained in:
@ -5,6 +5,7 @@
|
||||
// License: The MIT License (MIT)
|
||||
// ==========================================================================
|
||||
|
||||
// UMD-Inspired JS Module from https://gist.github.com/wilmoore/3880415
|
||||
(function(name, context, definition) {
|
||||
/* global define,module,require */
|
||||
'use strict';
|
||||
@ -4845,6 +4846,11 @@
|
||||
return toggle;
|
||||
};
|
||||
|
||||
// Get playback status
|
||||
Plyr.prototype.isPlaying = function() {
|
||||
return !this.media.paused;
|
||||
};
|
||||
|
||||
// Stop
|
||||
Plyr.prototype.stop = function() {
|
||||
var player = this;
|
||||
|
Reference in New Issue
Block a user