Fix #918
This commit is contained in:
parent
337e8cd1d3
commit
a33d1e12d2
2 changed files with 2 additions and 2 deletions
|
|
@ -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/>')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue