diff options
Diffstat (limited to 'src/js/plyr.js')
-rw-r--r-- | src/js/plyr.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/js/plyr.js b/src/js/plyr.js index 131f5a64..f64c15ae 100644 --- a/src/js/plyr.js +++ b/src/js/plyr.js @@ -1,6 +1,6 @@ // ========================================================================== // Plyr -// plyr.js v3.0.0-beta.10 +// plyr.js v3.0.0-beta.11 // https://github.com/sampotts/plyr // License: The MIT License (MIT) // ========================================================================== @@ -559,6 +559,10 @@ class Plyr { return true; } + if (this.isAudio) { + return true; + } + // Get audio tracks return this.media.mozHasAudio || Boolean(this.media.webkitAudioDecodedByteCount) || Boolean(this.media.audioTracks && this.media.audioTracks.length); } |