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 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"