Trying to get iphone playbutton to work

This commit is contained in:
Kasper Rynning-Tønnesen
2017-01-22 17:35:08 +01:00
parent 0c1353b660
commit aa7ed10522
4 changed files with 8 additions and 7 deletions

View File

@@ -293,7 +293,7 @@ var Player = {
player_ready = true;
if(!window.MSStream)
{
if(Helper.mobilecheck()){
if(Helper.mobilecheck() && !/iPad|iPhone|iPod/.test(navigator.userAgent)){
$("#playpause").css("visibility", "hidden");
$("#playpause").css("pointer-events", "none");
}