From 46950eb6d0286c458483b865afc8fb2dc81d83af Mon Sep 17 00:00:00 2001 From: Roy Olav Purser Date: Wed, 12 May 2021 10:35:15 +0200 Subject: [PATCH] set className --- script.js | 1 + 1 file changed, 1 insertion(+) diff --git a/script.js b/script.js index e99024f..74cdd79 100644 --- a/script.js +++ b/script.js @@ -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");