mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
one page webapp try
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
var Playercontrols = {
|
||||
|
||||
interval: null,
|
||||
|
||||
initYoutubeControls: function(player)
|
||||
{
|
||||
if(window.mobilecheck() && !/iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream){
|
||||
$("#controls").appendTo("#playbar");
|
||||
}
|
||||
setInterval(Playercontrols.durationSetter, 1000);
|
||||
Playercontrols.interval = setInterval(Playercontrols.durationSetter, 1000);
|
||||
Playercontrols.initControls();
|
||||
},
|
||||
|
||||
@@ -17,6 +19,11 @@ var Playercontrols = {
|
||||
|
||||
},
|
||||
|
||||
clearDurationInterval: function()
|
||||
{
|
||||
clearInterval(Playercontrols.interval);
|
||||
},
|
||||
|
||||
initSlider: function()
|
||||
{
|
||||
vol = (Crypt.get_volume());
|
||||
|
||||
Reference in New Issue
Block a user