You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
457 B
JavaScript

// console.log("ccplayer", ccplayer);
(function () {
var ccp = ccplayer.ccplayer ({
titles: "#titles",
frames: {
"video": "#video",
"scans": "#scans"
}
});
var titlesdiv = document.getElementById("titlesdiv"),
textcontroldiv = document.getElementById("textcontroldiv");
textcontroldiv.addEventListener("click", function () {
titlesdiv.classList.toggle("hidden");
});
})();