diff options
author | Sam Potts <sam@potts.es> | 2018-05-28 10:42:11 +1000 |
---|---|---|
committer | Sam Potts <sam@potts.es> | 2018-05-28 10:42:11 +1000 |
commit | d70a787af19ece0b9eeeba60d947225c73ded291 (patch) | |
tree | 7241df3a362b24a8def20448d3aef5548735dcb4 /src/js/utils.js | |
parent | 6f256d09b2b594289b369f8815e484ecdc07a1d9 (diff) | |
parent | 69bb0917ad0e2a1ff2c033a0c4ddd2582de8124b (diff) | |
download | plyr-d70a787af19ece0b9eeeba60d947225c73ded291.tar.lz plyr-d70a787af19ece0b9eeeba60d947225c73ded291.tar.xz plyr-d70a787af19ece0b9eeeba60d947225c73ded291.zip |
Merge branch 'develop'
Diffstat (limited to 'src/js/utils.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)); |