diff --git a/plugin/YouTube/YouTube.php b/plugin/YouTube/YouTube.php index 3d57c22a7..edb994b19 100644 --- a/plugin/YouTube/YouTube.php +++ b/plugin/YouTube/YouTube.php @@ -1,122 +1,122 @@ getDataObject(); // preload image $js = ""; $css = ''; if(!empty($obj->playVideoOnFullscreen) && !empty($_GET['videoName'])){ - $css .= ''; + $css .= ''; } if(!empty($obj->playVideoOnFullscreen)){ $css .= ''; } $sidebarStyle = ($this->menuIsOpen())?"/**/":"display: none;"; return $js.$css; } public function getEmptyDataObject() { global $global; $obj = new stdClass(); $obj->hidePrivateVideos = false; $obj->BigVideo = true; $obj->Description = false; $obj->CategoryDescription = false; $obj->Trending = true; $obj->TrendingCustomTitle = ""; $obj->TrendingRowCount = 12; $obj->DateAdded = true; $obj->DateAddedCustomTitle = ""; $obj->DateAddedRowCount = 12; $obj->MostWatched = true; $obj->MostWatchedCustomTitle = ""; $obj->MostWatchedRowCount = 12; $obj->MostPopular = true; $obj->MostPopularCustomTitle = ""; $obj->MostPopularRowCount = 12; $obj->SortByName = false; $obj->SortByNameCustomTitle = ""; $obj->SortByNameRowCount = 12; $obj->SubscribedChannels = true; $obj->SubscribedChannelsRowCount = 12; $obj->Categories = false; $obj->CategoriesRowCount = 12; $obj->sortReverseable = false; $obj->SubCategorys = false; $obj->showTags = true; $obj->searchOnChannels = true; $obj->searchOnChannelsRowCount = 12; $obj->playVideoOnFullscreen = false; $obj->playVideoOnBrowserFullscreen = false; $obj->filterUserChannel = false; return $obj; } public function getHelp(){ if(User::isAdmin()){ return "
| Option-name | Default | Description |
|---|---|---|
| BigVideo | checked | Create a big preview with a direct description on top |
| DateAdded,MostPopular,MostWatched,SortByName | checked,checked,checked,unchecked | Metacategories |
| SubCategorys | unchecked | Enable a view for subcategories on top |
| Description | unchecked | Enable a small button for show the description |