Small UI tweaks and fix for instanceof issue
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user