Turning Off Closed Caption On Html5 Video By Default October 27, 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 postsChange Canvas Image With JavascriptBind Event To Dynamically Created Html Elements With Vanilla Javascript [no Jquery]Ignore Mouse Interaction On Overlay ImageHide Or Remove Left Border When Collapsing To Small Screen Using Bootstrap 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"