diff --git a/plugin/Live/view/modeYoutubeLive.php b/plugin/Live/view/modeYoutubeLive.php index dcd24c8a7..e9240d5d0 100644 --- a/plugin/Live/view/modeYoutubeLive.php +++ b/plugin/Live/view/modeYoutubeLive.php @@ -1,230 +1,233 @@ userCanSeeTransmition()) { forbiddenPage("You are not allowed see this streaming"); } $uuid = LiveTransmition::keyNameFix($livet['key']); $u = new User(0, $_GET['u'], false); $user_id = $u->getBdId(); $video['users_id'] = $user_id; $subscribe = Subscribe::getButton($user_id); $name = $u->getNameIdentificationBd(); $name = "{$name} " . User::getEmailVerifiedIcon($user_id) . ""; $liveTitle = $livet['title']; $liveDescription = $livet['description']; $liveImg = User::getPhoto($user_id); if (!empty($_REQUEST['playlists_id_live'])) { $liveTitle = PlayLists::getNameOrSerieTitle($_REQUEST['playlists_id_live']); $liveDescription = PlayLists::getDescriptionIfIsSerie($_REQUEST['playlists_id_live']); $liveImg = PlayLists::getImage($_REQUEST['playlists_id_live']); } $video['creator'] = '
User Photo
' . $name . '
' . $subscribe . '
'; $img = "{$global['webSiteRootURL']}plugin/Live/getImage.php?u={$_GET['u']}&format=jpg"; $imgw = 640; $imgh = 360; $liveDO = AVideoPlugin::getObjectData("Live"); $video['type'] = 'video'; AVideoPlugin::getModeYouTubeLive($user_id); $isCompressed = AVideoPlugin::loadPluginIfEnabled('TheaterButton') && TheaterButton::isCompressed(); $sideAd = getAdsSideRectangle(); $modeYoutubeBottomClass1 = "col-sm-7 col-md-7 col-lg-6"; $modeYoutubeBottomClass2 = "col-sm-5 col-md-5 col-lg-4 "; if (empty($sideAd) && !AVideoPlugin::loadPluginIfEnabled("Chat2")) { $modeYoutubeBottomClass1 = "col-sm-12 col-md-12 col-lg-10"; $modeYoutubeBottomClass2 = "hidden "; } ?> <?php echo $liveTitle . $config->getPageTitleSeparator() . __("Live") . $config->getPageTitleSeparator() . $config->getWebSiteTitle(); ?> - getWebSiteTitle(); ?>" /> " />

isAPrivateLive()) { ?>

disableShareAndPlaylist) && empty($advancedCustom->disableShareOnly)) { ?>
disableShareAndPlaylist) && empty($advancedCustom->disableShareOnly)) { getShareMenu($liveTitle, $link, $link, addQueryStringParameter($link, 'embed', 1), $img,"row bgWhite list-group-item menusDiv"); } ?>