summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeterTheOne <petertheone@gmail.com>2018-02-28 09:51:25 +0100
committerPeterTheOne <petertheone@gmail.com>2018-02-28 09:51:25 +0100
commit7976d21be4a883533912eeeacd0834f5dd749c08 (patch)
treeeb4bc266c744e814d8fc91f724171eaaad7960de
parentturn off nocache for direct-links (diff)
fix click player screen to start
-rw-r--r--contrib/site/js/player.js2
-rw-r--r--contrib/site/style.css4
2 files changed, 5 insertions, 1 deletions
diff --git a/contrib/site/js/player.js b/contrib/site/js/player.js
index 619bf08..2ecf9f7 100644
--- a/contrib/site/js/player.js
+++ b/contrib/site/js/player.js
@@ -78,7 +78,7 @@ var player = new Player();
function player_init(video) {
player.init(video);
- $('#player-playstop').on('click', player_playstop);
+ $('#video-overlay').on('click', player_playstop);
$('#player-state').on('click', player_playstop);
player.playstop();
if(navigator.userAgent.match(/(\(iPod|\(iPhone|\(iPad)/)) {
diff --git a/contrib/site/style.css b/contrib/site/style.css
index dc65fc7..eefa7e4 100644
--- a/contrib/site/style.css
+++ b/contrib/site/style.css
@@ -142,6 +142,10 @@ helsinki player styles
display: block;
}
+#video-overlay {
+ z-index: 10;
+}
+
#video-overlay-inner {
width: 125px;
height: 125px;