I need to be able to disbale a menu item button called screen Description. I tired disabling the track not wrking can any one help.
player.on("loadedmetadata", function () { let textContent = player.textTracks(); textContent.tracks_[1].label === 'screen Description' ? player.textTracks()[1].mode = 'disabled' : player.textTracks()[1].mode = 'none' ; })