Comments, small tweaks

This commit is contained in:
Sam Potts
2017-10-02 13:55:03 +11:00
parent 2bba1f30e2
commit 6dd010ea34
7 changed files with 61 additions and 43 deletions

View File

@ -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;