mirror of
https://github.com/KevinMidboe/zoff.git
synced 2026-01-04 08:35:34 +00:00
No appends for iphone
This commit is contained in:
4
static/dist/main.min.js
vendored
4
static/dist/main.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -2,7 +2,7 @@ var Playercontrols = {
|
|||||||
|
|
||||||
initYoutubeControls: function(player)
|
initYoutubeControls: function(player)
|
||||||
{
|
{
|
||||||
if(window.mobilecheck()){
|
if(window.mobilecheck() && !/iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream){
|
||||||
$("#controls").appendTo("#playbar");
|
$("#controls").appendTo("#playbar");
|
||||||
}
|
}
|
||||||
setInterval(Playercontrols.durationSetter, 1000);
|
setInterval(Playercontrols.durationSetter, 1000);
|
||||||
|
|||||||
Reference in New Issue
Block a user