summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--expandvideo.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/expandvideo.js b/expandvideo.js
index 364aa90b..7a68f631 100644
--- a/expandvideo.js
+++ b/expandvideo.js
@@ -71,6 +71,7 @@ function setupVideo(thumb, url) {
video.style.display = "inline";
videoHide.style.display = "inline";
videoContainer.style.display = "block";
+ videoContainer.style.position = "static";
thumb.style.display = "none";
video.muted = setting("videomuted");
@@ -103,6 +104,7 @@ function setupVideo(thumb, url) {
video.style.display = "inline";
videoHide.style.display = "none";
videoContainer.style.display = "inline";
+ videoContainer.style.position = "fixed";
video.muted = setting("videomuted");
video.controls = false;