diff --git a/view/include/video.php b/view/include/video.php index 91649dcc0..8fc1ec5e1 100644 --- a/view/include/video.php +++ b/view/include/video.php @@ -1,346 +1,291 @@ videoStartSeconds)){ $video['externalOptions']->videoStartSeconds = parseDurationToSeconds($video['externalOptions']->videoStartSeconds); }else{ $video['externalOptions']->videoStartSeconds = 0; } if (isset($_GET['t'])) { $currentTime = intval($_GET['t']); } else if (!empty($video['progress']['lastVideoTime'])) { $currentTime = intval($video['progress']['lastVideoTime']); $maxCurrentTime = parseDurationToSeconds($video['duration']); if ($maxCurrentTime <= $currentTime + 5) { if (!empty($video['externalOptions']->videoStartSeconds)) { $currentTime = intval($video['externalOptions']->videoStartSeconds); } else { $currentTime = 0; } } } else if (!empty($video['externalOptions']->videoStartSeconds)) { $currentTime = intval($video['externalOptions']->videoStartSeconds); } AVideoPlugin::loadPlugin('PlayerSkins'); ?>
" class="btn btn-outline btn-xs" style="position: absolute; top: 5px; right: 5px; display: none;" id="youtubeModeOnFullscreenCloseButton">