forked from lavender/watch-party
Initialize volume to 0.5
parent
f42200b0fe
commit
e4740c757f
|
@ -6,6 +6,7 @@ const createVideoElement = (videoUrl, subtitles) => {
|
|||
const video = document.createElement("video");
|
||||
video.controls = true;
|
||||
video.autoplay = false;
|
||||
video.volume = 0.5;
|
||||
video.crossOrigin = "anonymous";
|
||||
|
||||
const source = document.createElement("source");
|
||||
|
|
Loading…
Reference in New Issue