captions - Chromecast VTT not showing -
i creating chromecast app streams video , uses out of stream vtt captions. have managed load ttml require load vtt have following code
this.player.enablecaptions(true, 'vtt', 'http://some_file.vtt');
this fails within mediaplayer.js tyhe following error
uncaught typeerror: cannot read property 'parse' of null
this looks in code load individual cues has come across problem?
you need add (text/audio) track(s) information mediainfo , set active track. take @ guide. aware having tracks, when media mp4, require cors.
Comments
Post a Comment