From faa345671b1f4afc0647669c7637838f80d68da2 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Tue, 12 Nov 2013 04:47:53 -0800 Subject: [PATCH] bugfix for hover --- expandvideo.js | 2 ++ 1 file changed, 2 insertions(+) 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;