diff --git a/frontend/index.html b/frontend/index.html index f4b00bf..8831bab 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -3,7 +3,7 @@ watch party :D - + @@ -47,6 +47,6 @@ - + diff --git a/frontend/main.js b/frontend/main.js index 1e460b3..f119e7b 100644 --- a/frontend/main.js +++ b/frontend/main.js @@ -6,6 +6,7 @@ const createVideoElement = (videoUrl, subtitles) => { const video = document.createElement("video"); video.controls = true; video.autoplay = false; + video.crossOrigin = "anonymous"; const source = document.createElement("source"); source.src = videoUrl;