Add '12/player.js'
parent
ce389bf020
commit
19088bd98d
@ -0,0 +1,5 @@
|
||||
var track = document.querySelector("track");
|
||||
track.addEventListener('cuechange', function () {
|
||||
let cues = track.track.activeCues; // array of current cues
|
||||
console.log("cuechange", cues, cues[0].text, cues[0].startTime, cues[0].endTime);
|
||||
});
|
Loading…
Reference in New Issue