From 7976d21be4a883533912eeeacd0834f5dd749c08 Mon Sep 17 00:00:00 2001 From: PeterTheOne Date: Wed, 28 Feb 2018 09:51:25 +0100 Subject: fix click player screen to start --- contrib/site/js/player.js | 2 +- contrib/site/style.css | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'contrib/site') 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; -- cgit v1.2.3