This commit is contained in:
Calvin Montgomery 2021-08-10 21:03:13 -07:00
parent 337e8cd1d3
commit a33d1e12d2
2 changed files with 2 additions and 2 deletions

View file

@ -59,7 +59,7 @@ window.VideoJSPlayer = class VideoJSPlayer extends Player
width: '100%'
height: '100%'
if @mediaType == 'cm' and data.meta.textTracks
if @mediaType == 'cm' and data.meta.textTracks != null && data.meta.textTracks.length > 0
attrs.crossorigin = 'anonymous'
video = $('<video/>')