Neu:
FILM.TV Durchziehen
😏
Kenn' ich schon!

The Hunters Prayer - Bild 5 von 8

$item['title'] = $item['title'] ?: 'Trailer'; $item['description'] = $item['description'] ?: FTV_Helper::transformArticlePageTitleToFilmName($articlePageTitle, $idtpl); if ($item['server'] == 'youtube') { $item['prepend_youtube_intro'] = false; $item['picture_cover'] = FTV_Player::getYouTubeImage($item['file']); $item['picture_thumbnail'] = FTV_Player::getYouTubeThumbnail($item['file']); } else { $item['picture_cover'] = FTV_Player::getVideoCoverImage($item['server'], $item['file']); $item['picture_thumbnail'] = FTV_Player::getVideoThumbnailImage($item['server'], $item['file']); } $item['image'] = $item['picture_cover']; }); $trailerShowHeadline = FTV_Data::configValue(FTV::CONT_PLAYER, FTV::KEY_PLAYER_TRAILER_SHOW_HEADLINE, $idart); $thumbnail = FTV_Data::configValue(FTV::CONT_FB_SETTINGS, FTV::KEY_FB_PICTURE, $idart); if (empty($trailerShowHeadline) && !empty($thumbnail)) { $thumbnail = "https://m.film.tv/upload/bilder/" . $thumbnail; $playerData[0]['image'] = $thumbnail; } // Old YouTube Video if ("$C45" != "") { $playerData[] = [ 'type' => 'video', 'server' => 'youtube', 'file' => "$C45", 'title' => "$C45", 'description' => "$C45", 'picture_cover' => 'https://cdn1.film.tv/trailers/bilder/youtube-pre.jpg', 'picture_thumbnail' => 'https://cdn1.film.tv/trailers/bilder/youtube-pre.jpg' ]; } // Recommendations $db = cRegistry::getDb(); $query = FTV_Database::getArticleListQuery([ "elements" => ["idart"], "modules" => "video", "order_by" => "last_modified", "order_direction" => "DESC", "key_feed" => 88925, "max_entries" => 3, "offset" => 0 ]); $db->query($query); while ($db->nextRecord()) { $cIdart = $db->f("idart"); list($title, $shortTitle, $server, $file, $shotPicturePath) = FTV_Data::configValues([ [FTV::CONT_CONFIG_VIDEO, FTV::KEY_CONFIG_TITLE], [FTV::CONT_CONFIG_VIDEO, FTV::KEY_CONFIG_TITLE_SHORT], [FTV::CONT_PLAYER, FTV::KEY_PLAYER_SERVER_DEFAULT], [FTV::CONT_PLAYER, FTV::KEY_PLAYER_FILE_NAME_DEFAULT], [FTV::CONT_CONFIG_VIDEO, FTV::KEY_CONFIG_PICTURE] ], $cIdart); if (!empty($shortTitle)) { $title = $shortTitle; } $url = FTV::getInstance()->getArticleUrl($cIdart); $pictureCover = FTV_Helper::changePictureSizeUrl(1, $shotPicturePath, "thumb-960"); $pictureThumbnail = FTV_Helper::changePictureSizeUrl(1, $shotPicturePath, "thumb"); $playerData[] = [ 'type' => 'recommendation', 'server' => $server, 'file' => $file, 'title' => $title, 'description' => '', // 'Video Tipp' 'image' => $pictureCover, 'picture_cover' => $pictureCover, 'picture_thumbnail' => $pictureThumbnail, 'url' => $url ]; } $articleGenre = FTV_Data::configValue(FTV::CONT_ART_INFO, FTV::KEY_GENRE, $idart, "unbekannt"); FTV_Ads::getInstance()->addKeyword($articleGenre); //$autostart = ("$C45" != "") ? false : true; $autostart = false; $playlist = FTV_Player::getPlaylistWithData($playerData); ?>





 
 
Anzeige
 
 

Surftipps: User, die hier waren, besuchten übrigens auch diese Seiten: