diff --git a/plugin/SeekButton/SeekButton.php b/plugin/SeekButton/SeekButton.php index 18b6c30025..15c4a3f03b 100644 --- a/plugin/SeekButton/SeekButton.php +++ b/plugin/SeekButton/SeekButton.php @@ -1,70 +1,70 @@ -forward = 30; - $obj->back = 10; - return $obj; - } - - public function getHeadCode() { - global $global; - $css = ""; - if (isVideoPlayerHasProgressBar()) { - $css = ''; - $css .= ''; - $css .= ''; - if(isMobile()){ - $css .= ''; - } - } - return $css; - } - - public function getFooterCode() { - global $global; - if (isVideoPlayerHasProgressBar()) { - $obj = $this->getDataObject(); - $js = ""; - if (isVideoPlayerHasProgressBar()) { - $js .= ''; - $js .= ''; - $js .= ''; - } - return $js; - } - } -} +forward = 30; + $obj->back = 10; + return $obj; + } + + public function getHeadCode() { + global $global; + $css = ""; + if (isVideoPlayerHasProgressBar() && !isMobile()) { + $css = ''; + $css .= ''; + $css .= ''; + if(isMobile()){ + $css .= ''; + } + } + return $css; + } + + public function getFooterCode() { + global $global; + if (isVideoPlayerHasProgressBar() && !isMobile()) { + $obj = $this->getDataObject(); + $js = ""; + if (isVideoPlayerHasProgressBar()) { + $js .= ''; + $js .= ''; + $js .= ''; + } + return $js; + } + } +}