diff options
author | PeterTheOne <petertheone@gmail.com> | 2018-02-28 09:51:25 +0100 |
---|---|---|
committer | PeterTheOne <petertheone@gmail.com> | 2018-02-28 09:51:25 +0100 |
commit | 7976d21be4a883533912eeeacd0834f5dd749c08 (patch) | |
tree | eb4bc266c744e814d8fc91f724171eaaad7960de | |
parent | turn off nocache for direct-links (diff) |
fix click player screen to start
-rw-r--r-- | contrib/site/js/player.js | 2 | ||||
-rw-r--r-- | contrib/site/style.css | 4 |
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; |