Turning Off Closed Caption On Html5 Video By Default December 10, 2023 Post a Comment Here's what I have... <scripttype="text/javascript"> $(document).ready(function() { var video = document.querySelector('#video'); // get the video elementvar tracks = video.textTracks; // one for each track elementvar track = tracks[0]; // corresponds to the first track element track.mode = 'hidden'; }); Copy Share You may like these postsChanging Src Based On Screen Size With JavascriptHow To Play Videos In .avi File Format In Chrome?Video Event On Given SecondHow Can I Redirect To A Url After A Html Video Has Ended? Post a Comment for "Turning Off Closed Caption On Html5 Video By Default"
Post a Comment for "Turning Off Closed Caption On Html5 Video By Default"