|
|
@ -5,7 +5,7 @@ function player(element){
|
|
|
|
console.log("cuechange", cues, cues[0].text, cues[0].startTime, cues[0].endTime);
|
|
|
|
console.log("cuechange", cues, cues[0].text, cues[0].startTime, cues[0].endTime);
|
|
|
|
var d = JSON.parse(cues[0].text);
|
|
|
|
var d = JSON.parse(cues[0].text);
|
|
|
|
console.log("d",d);
|
|
|
|
console.log("d",d);
|
|
|
|
var old = document.querySelector(".now_playing");
|
|
|
|
var old = element.querySelector(".now_playing");
|
|
|
|
if (old) {
|
|
|
|
if (old) {
|
|
|
|
old.classList.remove("now_playing");
|
|
|
|
old.classList.remove("now_playing");
|
|
|
|
}
|
|
|
|
}
|
|
|
|