Open DoomTay opened 7 years ago
If I have a setup like this
<div id='player'> <video id="video" class="video-js vjs-default-skin" width="640" height="360" controls autoplay> <source src="https://www.w3schools.com/html/mov_bbb.mp4" type="video/mp4"> <track kind="subtitles" src="upc-video-subtitles-en.vtt" srclang="en" default> </video> </div> <script> var player = videojs("video",{ plugins: { "vastClient": { "adTagUrl": "http://servedby.flashtalking.com/imp/1/31714;812030;208;xml;DailyMail;640x360VASTHTML5/", "adsEnabled": true } } }); </script>
then despite the "default" attribute subtitles are switched off and kept off when the actual video begins
If I have a setup like this
then despite the "default" attribute subtitles are switched off and kept off when the actual video begins