Turning Off Closed Caption On HTML5 Video By Default January 08, 2023 Post a Comment Here's what I have... <script type="text/javascript"> $(document).ready(function() { var video = document.querySelector('#video'); // get the video element var tracks = video.textTracks; // one for each track element var track = tracks[0]; // corresponds to the first track element track.mode = 'hidden'; }); Copy Share You may like these postsHow Can Variable And That Value Move Freely In The Cycle Of Php->html->js->phpCreating Pdf From Html Background Color In The PdfJavascript, Controlling An Onbeforeunload TagJavascript Class Return Array, Create Library Like Jquery 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"