Turning Off Closed Caption On Html5 Video By Default May 30, 2024 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 postsWhy Does HTML5 Video With Very Large H.264 Encoded Mp4 (with +faststart, Ie Metadata At Beginning), Take Ages To Load?Embedding Image/Video Stream Into WebpageSeeking In HTML5 Video With ChromeHow To Play Videos In .avi File Format In Chrome? 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"