diff options
author | Sam Potts <sam@potts.es> | 2018-05-28 10:08:42 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-28 10:08:42 +1000 |
commit | bf91a0e73f0b662ddcfd1f64498a554251f4e798 (patch) | |
tree | 4bc2c30efd71c1d668daf29bdf2f4c346e648147 /src/js | |
parent | 14b6309aef298a2662e694902d84dda2bc573ba9 (diff) | |
parent | f34bf221253be40e4a620107a3f27196d577608d (diff) | |
download | plyr-bf91a0e73f0b662ddcfd1f64498a554251f4e798.tar.lz plyr-bf91a0e73f0b662ddcfd1f64498a554251f4e798.tar.xz plyr-bf91a0e73f0b662ddcfd1f64498a554251f4e798.zip |
Merge pull request #977 from friday/utils.is.icue-ie11
Restore utils.is.cue()
Diffstat (limited to 'src/js')
-rw-r--r-- | src/js/utils.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/utils.js b/src/js/utils.js index 0c5a28d7..0334879d 100644 --- a/src/js/utils.js +++ b/src/js/utils.js @@ -44,7 +44,7 @@ const utils = { return this.instanceof(input, Event); }, cue(input) { - return this.instanceof(input, TextTrackCue) || this.instanceof(input, VTTCue); + return this.instanceof(input, window.TextTrackCue) || this.instanceof(input, window.VTTCue); }, track(input) { return this.instanceof(input, TextTrack) || (!this.nullOrUndefined(input) && this.string(input.kind)); |