Commit bd6471b5 authored by Brendan Long's avatar Brendan Long

Automatically set all text tracks to "hidden" to make it easier to access their cues.

parent 762efa4e
......@@ -144,6 +144,9 @@ function setupControls(tracks, container, type) {
console.log("There are " + tracks.length + " " + type + " tracks.");
for(var i = 0; i < tracks.length; ++i) {
var track = tracks[i];
if (track.mode == "disabled") {
track.mode = "hidden";
}
var enabled = isTrackEnabled(track);
var button = document.createElement("button");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment