📜  自定义视频播放器 html5 书籍 - Html 代码示例

📅  最后修改于: 2022-03-11 14:52:51.730000             🧑  作者: Mango

代码示例1
var moviecontainer = document.getElementById("customcontrols"),
movie = moviecontainer.querySelector("video"),
controls = moviecontainer.querySelector("figcaption"),
playpause = controls.querySelector("a");
movie.removeAttribute("controls");
controls.style.display = "block";