set className
This commit is contained in:
parent
ef89f57c83
commit
46950eb6d0
@ -6,6 +6,7 @@ document.addEventListener("DOMContentLoaded", () => {
|
||||
xhr.onreadystatechange = () => {
|
||||
let video = document.createElement("video");
|
||||
video.id = "video-player";
|
||||
video.className = "video-js";
|
||||
body.appendChild(video);
|
||||
let ctype = xhr.getResponseHeader("Content-Type");
|
||||
let player = videojs("video-player");
|
||||
|
Loading…
Reference in New Issue
Block a user