the-real-sumsome /
subrocks-2012
| 1 | <?php require_once($_SERVER['DOCUMENT_ROOT'] . "/s/classes/config.inc.php"); ?> |
||
| 2 | <?php require_once($_SERVER['DOCUMENT_ROOT'] . "/s/classes/db_helper.php"); ?> |
||
| 3 | <?php require_once($_SERVER['DOCUMENT_ROOT'] . "/s/classes/time_manip.php"); ?> |
||
| 4 | <?php require_once($_SERVER['DOCUMENT_ROOT'] . "/s/classes/user_helper.php"); ?> |
||
| 5 | <?php require_once($_SERVER['DOCUMENT_ROOT'] . "/s/classes/video_helper.php"); ?> |
||
| 6 | <?php $__server->page_title = "test"; ?> |
||
| 7 | <?php $__video_h = new video_helper($__db); ?> |
||
| 8 | <?php $__user_h = new user_helper($__db); ?> |
||
|
0 ignored issues
–
show
|
|||
| 9 | <?php $__db_h = new db_helper(); ?> |
||
| 10 | <?php $__time_h = new time_helper(); ?> |
||
| 11 | <!DOCTYPE html> |
||
| 12 | <html> |
||
| 13 | <head> |
||
| 14 | <title><?php echo $__server->page_title; ?> - SubRocks</title> |
||
| 15 | <meta property="og:title" content="<?php echo $__server->page_embeds->page_title; ?>" /> |
||
| 16 | <meta property="og:url" content="<?php echo $__server->page_embeds->page_url; ?>" /> |
||
| 17 | <meta property="og:description" content="<?php echo $__server->page_embeds->page_description; ?>" /> |
||
| 18 | <meta property="og:image" content="<?php echo $__server->page_embeds->page_image; ?>" /> |
||
| 19 | <script> |
||
| 20 | var yt = yt || {};yt.timing = yt.timing || {};yt.timing.tick = function(label, opt_time) {var timer = yt.timing['timer'] || {};if(opt_time) {timer[label] = opt_time;}else {timer[label] = new Date().getTime();}yt.timing['timer'] = timer;};yt.timing.info = function(label, value) {var info_args = yt.timing['info_args'] || {};info_args[label] = value;yt.timing['info_args'] = info_args;};yt.timing.info('e', "904821,919006,922401,920704,912806,913419,913546,913556,919349,919351,925109,919003,920201,912706");if (document.webkitVisibilityState == 'prerender') {document.addEventListener('webkitvisibilitychange', function() {yt.timing.tick('start');}, false);}yt.timing.tick('start');yt.timing.info('li','0');try {yt.timing['srt'] = window.gtbExternal && window.gtbExternal.pageT() ||window.external && window.external.pageT;} catch(e) {}if (window.chrome && window.chrome.csi) {yt.timing['srt'] = Math.floor(window.chrome.csi().pageT);}if (window.msPerformance && window.msPerformance.timing) {yt.timing['srt'] = window.msPerformance.timing.responseStart - window.msPerformance.timing.navigationStart;} |
||
| 21 | </script> |
||
| 22 | <link id="www-core-css" rel="stylesheet" href="/yt/cssbin/www-core-vfluMRDnk.css"> |
||
| 23 | <link rel="stylesheet" href="/yt/cssbin/www-guide-vflx0V5Tq.css"> |
||
| 24 | <script> |
||
| 25 | if (window.yt.timing) {yt.timing.tick("ct");} |
||
| 26 | </script> |
||
| 27 | </head> |
||
| 28 | <body id="" class="date-20120930 en_US ltr ytg-old-clearfix guide-feed-v2 " dir="ltr"> |
||
| 29 | <form name="logoutForm" method="POST" action="/logout"> |
||
| 30 | <input type="hidden" name="action_logout" value="1"> |
||
| 31 | </form> |
||
| 32 | <!-- begin page --> |
||
| 33 | <div id="page" class=""> |
||
| 34 | <div id="masthead-container"><?php require($_SERVER['DOCUMENT_ROOT'] . "/s/mod/header.php"); ?></div> |
||
| 35 | <div id="content-container"> |
||
| 36 | <!-- begin content --> |
||
| 37 | <div id="content"> |
||
| 38 | <div class="guide-layout-container enable-fancy-subscribe-button"> |
||
| 39 | <div class="guide-container"> |
||
| 40 | <?php if(!isset($_SESSION['siteusername'])) { ?> |
||
| 41 | <div id="guide-builder-promo"> |
||
| 42 | <h2> |
||
| 43 | Sign in to add channels to your homepage |
||
| 44 | </h2> |
||
| 45 | <div id="guide-builder-promo-buttons" class="signed-out"> |
||
| 46 | <button href="login" type="button" class=" yt-uix-button yt-uix-button-dark" onclick=";window.location.href=this.getAttribute('href');return false;" role="button"><span class="yt-uix-button-content">Sign In </span></button> |
||
| 47 | <button href="signup" type="button" class=" yt-uix-button yt-uix-button-primary" onclick=";window.location.href=this.getAttribute('href');return false;" role="button"><span class="yt-uix-button-content">Create Account </span></button> |
||
| 48 | </div> |
||
| 49 | <?php } else { ?> |
||
| 50 | <div id="guide-builder-promo"> |
||
| 51 | |||
| 52 | <div id="guide-builder-promo-buttons" class=""> |
||
| 53 | <button href="/browse" type="button" onclick=";window.location.href=this.getAttribute('href');return false;" role="button" class=" yt-uix-button yt-uix-button-primary"><img src="/static/pixel-vfl3z5WfW.gif" class="yt-uix-button-icon-add"><span class="yt-uix-button-content"> Browse channels</span></button> |
||
| 54 | </div> |
||
| 55 | <?php } ?> |
||
| 56 | </div> |
||
| 57 | <div class="guide"> |
||
| 58 | <?php |
||
| 59 | if(isset($_SESSION['siteusername'])) { |
||
| 60 | ?> |
||
| 61 | <div style="/*! margin-top: 0px; *//*! margin-left: 10px; *//*! margin-bottom: 13px; */height: 99px;" class="guide-section feed-header channel first"><img alt="" src="/dynamic/pfp/<?php echo $__user_h->fetch_pfp($_SESSION['siteusername']); ?>" style="height: 88px;position: relative;top: 4px;left: 4px;" class="feed-header-thumb channel-thumb" width="88px"><div id="links" style="/*! margin-left: 5px; */position: relative;left: 13px;top: 7px;"><div style="font-size: 11px;margin-bottom: 6px;" class="metadata"> |
||
| 62 | <a href="/user/<?php echo htmlspecialchars($_SESSION['siteusername']); ?>" style="color: inherit;">My channel |
||
| 63 | <img src="/static/pixel-vfl3z5WfW.gif" class="see-more-arrow" alt=""></a> |
||
| 64 | </div><div style="font-size: 11px;margin-bottom: 6px;" class="metadata"> |
||
| 65 | <a href="/my_videos" style="color: inherit;">Videos</a> </div><div style="font-size: 11px;margin-bottom: 6px;" class="metadata"> |
||
| 66 | <a href="/playlists" style="color: inherit;">Playlists</a> </div><div style="font-size: 11px;margin-bottom: 6px;" class="metadata"> |
||
| 67 | <a href="/logout" style="color: inherit;">Log Out</a> </div><div style="font-size: 11px;margin-bottom: 6px;" class="metadata"> |
||
| 68 | <a href="/feed" style="color: inherit;">Dashboard</a> </div></div></div> |
||
| 69 | |||
| 70 | <div class="guide-section yt-uix-expander "> |
||
| 71 | <h3 class="guide-item-container"> |
||
| 72 | <a data-feed-name="balls" data-feed-type="system" class="guide-item" href="/inbox/"> |
||
| 73 | <span class="thumb"> |
||
| 74 | <img src="/static/pixel-vfl3z5WfW.gif" alt="" class="system-icon category"> |
||
| 75 | </span> |
||
| 76 | <span class="display-name">Inbox</span> |
||
| 77 | </a> |
||
| 78 | </h3> |
||
| 79 | <ul> |
||
| 80 | <li class="guide-item-container "> |
||
| 81 | <a class="guide-item" data-feed-type="system" data-feed-name="retard" href="/feed"> |
||
| 82 | <span class="thumb"> |
||
| 83 | <img src="/static/pixel-vfl3z5WfW.gif" alt="" class="system-icon system social"> |
||
| 84 | </span> |
||
| 85 | <span class="display-name">Feed</span> |
||
| 86 | </a> |
||
| 87 | </li> |
||
| 88 | </ul> |
||
| 89 | <div class="guide-item-container"> |
||
| 90 | <span class="guide-item guide-item-action guide-item-fake"> |
||
| 91 | <a style="display: none;" href="/web/20121123233507/http://www.youtube.com/videos?feature=hp"> <img src="/static/pixel-vfl3z5WfW.gif" class="see-more-arrow" alt=""></a> </span> |
||
| 92 | </div> |
||
| 93 | </div> |
||
| 94 | <?php } ?> |
||
| 95 | <div class="guide-section yt-uix-expander first "> |
||
| 96 | <h3 class="guide-item-container selected-child"> |
||
| 97 | <a class="guide-item selected" data-feed-name="youtube" data-feed-type="system"> |
||
| 98 | <span class="thumb"> |
||
| 99 | <img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt="" class="system-icon category"> |
||
| 100 | </span> |
||
| 101 | <span class="display-name"> |
||
| 102 | From SubRocks |
||
| 103 | </span> |
||
| 104 | </a> |
||
| 105 | </h3> |
||
| 106 | <ul> |
||
| 107 | <li class="guide-item-container "> |
||
| 108 | <a class="guide-item" data-feed-name="trending" data-feed-type="system"> |
||
| 109 | <span class="thumb"> |
||
| 110 | <img class="system-icon system trending" src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt=""> |
||
| 111 | </span> |
||
| 112 | <span class="display-name"> |
||
| 113 | Trending |
||
| 114 | </span> |
||
| 115 | </a> |
||
| 116 | </li> |
||
| 117 | <li class="guide-item-container "> |
||
| 118 | <a class="guide-item" data-feed-name="music" data-feed-type="system"> |
||
| 119 | <span class="thumb"> |
||
| 120 | <img class="system-icon system music" src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt=""> |
||
| 121 | </span> |
||
| 122 | <span class="display-name"> |
||
| 123 | Music |
||
| 124 | </span> |
||
| 125 | </a> |
||
| 126 | </li> |
||
| 127 | <li class="guide-item-container "> |
||
| 128 | <a class="guide-item" data-feed-name="entertainment" data-feed-type="chart"> |
||
| 129 | <span class="thumb"> |
||
| 130 | <img class="system-icon chart entertainment" src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt=""> |
||
| 131 | </span> |
||
| 132 | <span class="display-name"> |
||
| 133 | Entertainment |
||
| 134 | </span> |
||
| 135 | </a> |
||
| 136 | </li> |
||
| 137 | <li class="guide-item-container "> |
||
| 138 | <a class="guide-item" data-feed-name="sports" data-feed-type="chart"> |
||
| 139 | <span class="thumb"> |
||
| 140 | <img class="system-icon chart sports" src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt=""> |
||
| 141 | </span> |
||
| 142 | <span class="display-name"> |
||
| 143 | Sports |
||
| 144 | </span> |
||
| 145 | </a> |
||
| 146 | </li> |
||
| 147 | <li class="guide-item-container "> |
||
| 148 | <a class="guide-item" data-feed-name="comedy" data-feed-type="chart"> |
||
| 149 | <span class="thumb"> |
||
| 150 | <img class="system-icon chart comedy" src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt=""> |
||
| 151 | </span> |
||
| 152 | <span class="display-name"> |
||
| 153 | Comedy |
||
| 154 | </span> |
||
| 155 | </a> |
||
| 156 | </li> |
||
| 157 | <li class="guide-item-container "> |
||
| 158 | <a class="guide-item" data-feed-name="film" data-feed-type="chart"> |
||
| 159 | <span class="thumb"> |
||
| 160 | <img class="system-icon chart film" src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt=""> |
||
| 161 | </span> |
||
| 162 | <span class="display-name"> |
||
| 163 | Film & Animation |
||
| 164 | </span> |
||
| 165 | </a> |
||
| 166 | </li> |
||
| 167 | <li class="guide-item-container "> |
||
| 168 | <a class="guide-item" data-feed-name="gadgets" data-feed-type="chart"> |
||
| 169 | <span class="thumb"> |
||
| 170 | <img class="system-icon chart gadgets" src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt=""> |
||
| 171 | </span> |
||
| 172 | <span class="display-name"> |
||
| 173 | Gaming |
||
| 174 | </span> |
||
| 175 | </a> |
||
| 176 | </li> |
||
| 177 | <?php foreach($__server->featured_channels as $channel) { ?> |
||
| 178 | <li class="guide-item-container "> |
||
| 179 | <a class="guide-item" data-external-id="<?php echo htmlspecialchars($channel); ?>" data-feed-name="<?php echo htmlspecialchars($channel); ?>" data-feed-type="user"> |
||
| 180 | <span class="thumb"> <span class="video-thumb ux-thumb yt-thumb-square-28 "><span class="yt-thumb-clip"><span class="yt-thumb-clip-inner"><img src="http://s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt="Thumbnail" data-thumb="/dynamic/pfp/<?php echo $__user_h->fetch_pfp($channel); ?>" width="28"><span class="vertical-align"></span></span></span></span> |
||
| 181 | </span> |
||
| 182 | <span class="display-name"> |
||
| 183 | <?php echo htmlspecialchars($channel); ?> |
||
| 184 | </span> |
||
| 185 | </a> |
||
| 186 | </li> |
||
| 187 | <?php } ?> |
||
| 188 | </ul> |
||
| 189 | <div class="guide-item-container"> |
||
| 190 | <span class="guide-item guide-item-action guide-item-fake"> |
||
| 191 | <a href="/videos?feature=hp">see all<img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" class="see-more-arrow" alt=""></a> </span> |
||
| 192 | </div> |
||
| 193 | </div> |
||
| 194 | </div> |
||
| 195 | </div> |
||
| 196 | <div class="guide-background"></div> |
||
| 197 | <div id="video-sidebar"> |
||
| 198 | <div id="ad_creative_expand_btn_1" class="masthead-ad-control open hid"> |
||
| 199 | <a onclick="masthead.expand_ad(); return false;"> |
||
| 200 | <span>Show ad</span> |
||
| 201 | <img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt=""> |
||
| 202 | </a> |
||
| 203 | </div> |
||
| 204 | <h2>2012 is out!</h2> |
||
| 205 | <p class="sidebar-module-description"> |
||
| 206 | Enjoy some recommended videos selected for you by our nonexistant recommendation algorythmn. |
||
| 207 | </p> |
||
| 208 | <p class="sidebar-module-description"> |
||
| 209 | Presented by: <a href="/user/SubRocks">SubRocks</a> |
||
| 210 | </p> |
||
| 211 | <ul> |
||
| 212 | <?php |
||
| 213 | $stmt = $__db->prepare("SELECT * FROM videos ORDER BY rand() LIMIT 4"); |
||
| 214 | $stmt->execute(); |
||
| 215 | while($video = $stmt->fetch(PDO::FETCH_ASSOC)) { |
||
| 216 | $video['age'] = $__time_h->time_elapsed_string($video['publish']); |
||
| 217 | $video['duration'] = $__time_h->timestamp($video['duration']); |
||
| 218 | $video['views'] = $__video_h->fetch_video_views($video['rid']); |
||
| 219 | $video['author'] = htmlspecialchars($video['author']); |
||
| 220 | $video['title'] = htmlspecialchars($video['title']); |
||
| 221 | $video['description'] = $__video_h->shorten_description($video['description'], 50); |
||
| 222 | ?> |
||
| 223 | <li class="video-list-item "><a href="/watch?v=<?php echo $video['rid']; ?>" class="video-list-item-link yt-uix-sessionlink" data-sessionlink="ei=CNLr3rbS3rICFSwSIQodSW397Q%3D%3D&feature=g-sptl%26cid%3Dinp-hs-ytg"><span class="ux-thumb-wrap contains-addto "><span class="video-thumb ux-thumb yt-thumb-default-120 "><span class="yt-thumb-clip"><span class="yt-thumb-clip-inner"><img src="http://s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt="<?php echo $video['title']; ?>" data-thumb="/dynamic/thumbs/<?php echo $video['thumbnail']; ?>" width="120"><span class="vertical-align"></span></span></span></span><span class="video-time"><?php echo $video['duration']; ?></span> |
||
| 224 | <button onclick=";return false;" title="Watch Later" type="button" class="addto-button video-actions addto-watch-later-button-sign-in yt-uix-button yt-uix-button-default yt-uix-button-short yt-uix-tooltip" data-button-menu-id="shared-addto-watch-later-login" data-video-ids="yuTBQ86r8o0" role="button"><span class="yt-uix-button-content"> <img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt="Watch Later"> |
||
| 225 | </span><img class="yt-uix-button-arrow" src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt=""></button> |
||
| 226 | </span><span dir="ltr" class="title" title="<?php echo $video['title']; ?>"><?php echo $video['title']; ?></span><span class="stat">by <span class="yt-user-name " dir="ltr"><?php echo $video['author']; ?></span></span><span class="stat view-count"> <span class="viewcount"><?php echo $video['views']; ?> views</span> |
||
| 227 | </span></a> |
||
| 228 | </li> |
||
| 229 | <?php } ?> |
||
| 230 | </ul> |
||
| 231 | <h3> |
||
| 232 | Featured |
||
| 233 | </h3> |
||
| 234 | <ul> |
||
| 235 | <?php |
||
| 236 | $stmt = $__db->prepare("SELECT * FROM videos WHERE featured = 'v' ORDER BY id DESC LIMIT 4"); |
||
| 237 | $stmt->execute(); |
||
| 238 | while($video = $stmt->fetch(PDO::FETCH_ASSOC)) { |
||
| 239 | $video['age'] = $__time_h->time_elapsed_string($video['publish']); |
||
| 240 | $video['duration'] = $__time_h->timestamp($video['duration']); |
||
| 241 | $video['views'] = $__video_h->fetch_video_views($video['rid']); |
||
| 242 | $video['author'] = htmlspecialchars($video['author']); |
||
| 243 | $video['title'] = htmlspecialchars($video['title']); |
||
| 244 | $video['description'] = $__video_h->shorten_description($video['description'], 50); |
||
| 245 | ?> |
||
| 246 | <li class="video-list-item "><a href="/watch?v=<?php echo $video['rid']; ?>" class="video-list-item-link yt-uix-sessionlink" data-sessionlink="ei=CNLr3rbS3rICFSwSIQodSW397Q%3D%3D&feature=g-sptl%26cid%3Dinp-hs-ytg"><span class="ux-thumb-wrap contains-addto "><span class="video-thumb ux-thumb yt-thumb-default-120 "><span class="yt-thumb-clip"><span class="yt-thumb-clip-inner"><img src="http://s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt="<?php echo $video['title']; ?>" data-thumb="/dynamic/thumbs/<?php echo $video['thumbnail']; ?>" width="120"><span class="vertical-align"></span></span></span></span><span class="video-time"><?php echo $video['duration']; ?></span> |
||
| 247 | <button onclick=";return false;" title="Watch Later" type="button" class="addto-button video-actions addto-watch-later-button-sign-in yt-uix-button yt-uix-button-default yt-uix-button-short yt-uix-tooltip" data-button-menu-id="shared-addto-watch-later-login" data-video-ids="yuTBQ86r8o0" role="button"><span class="yt-uix-button-content"> <img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt="Watch Later"> |
||
| 248 | </span><img class="yt-uix-button-arrow" src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt=""></button> |
||
| 249 | </span><span dir="ltr" class="title" title="<?php echo $video['title']; ?>"><?php echo $video['title']; ?></span><span class="stat">by <span class="yt-user-name " dir="ltr"><?php echo $video['author']; ?></span></span><span class="stat view-count"> <span class="viewcount"><?php echo $video['views']; ?> views</span> |
||
| 250 | </span></a> |
||
| 251 | </li> |
||
| 252 | <?php } ?> |
||
| 253 | </ul> |
||
| 254 | </div> |
||
| 255 | <div id="feed"> |
||
| 256 | <div id="feed-system-youtube" class="individual-feed" data-loaded="true" data-feed-name="youtube" data-feed-type="system"> |
||
| 257 | <div class="feed-header no-metadata"> |
||
| 258 | <div class="feed-header-thumb"> |
||
| 259 | <img class="feed-header-icon youtube" src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt=""> |
||
| 260 | </div> |
||
| 261 | <div class="feed-header-details"> |
||
| 262 | <h2> From SubRocks</h2> |
||
| 263 | </div> |
||
| 264 | </div> |
||
| 265 | <div class="feed-container" data-filter-type="" data-view-type=""> |
||
| 266 | <div class="feed-page"> |
||
| 267 | <ul> |
||
| 268 | <?php |
||
| 269 | $stmt = $__db->prepare("SELECT * FROM videos ORDER BY id DESC LIMIT 20"); |
||
| 270 | $stmt->execute(); |
||
| 271 | while($video = $stmt->fetch(PDO::FETCH_ASSOC)) { |
||
| 272 | $video['age'] = $__time_h->time_elapsed_string($video['publish']); |
||
| 273 | $video['duration'] = $__time_h->timestamp($video['duration']); |
||
| 274 | $video['views'] = $__video_h->fetch_video_views($video['rid']); |
||
| 275 | $video['author'] = htmlspecialchars($video['author']); |
||
| 276 | $video['title'] = htmlspecialchars($video['title']); |
||
| 277 | $video['description'] = $__video_h->shorten_description($video['description'], 50); |
||
| 278 | ?> |
||
| 279 | <li> |
||
| 280 | <div class="feed-item-container first " data-channel-key="UCR2A9ZNliJfgC66IvIpe-Zw"> |
||
| 281 | <div class="feed-author-bubble-container"> |
||
| 282 | <a href="/user/<?php echo $video['author']; ?>" class="feed-author-bubble "> <span class="feed-item-author"> |
||
| 283 | <span class="video-thumb ux-thumb yt-thumb-square-28 "><span class="yt-thumb-clip"><span class="yt-thumb-clip-inner"><img src="http://s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt="<?php echo $video['author']; ?>" data-thumb="/dynamic/pfp/<?php echo $__user_h->fetch_pfp($video['author']); ?>" width="28"><span class="vertical-align"></span></span></span></span> |
||
| 284 | </span> |
||
| 285 | </a> |
||
| 286 | </div> |
||
| 287 | <div class="feed-item-main"> |
||
| 288 | <div class="feed-item-header"> |
||
| 289 | <span class="feed-item-actions-line "> |
||
| 290 | <span class="feed-item-owner"> <a href="/user/<?php echo $video['author']; ?>" class="yt-uix-sessionlink yt-user-name " data-sessionlink="feature=g-logo-xit" dir="ltr"><?php echo $video['author']; ?></a> |
||
| 291 | </span> |
||
| 292 | uploaded a video |
||
| 293 | <span class="feed-item-time"> |
||
| 294 | <?php echo $video['age']; ?> |
||
| 295 | </span> |
||
| 296 | </span> |
||
| 297 | </div> |
||
| 298 | <div class="feed-item-content-wrapper clearfix"> |
||
| 299 | <div class="feed-item-thumb"> |
||
| 300 | <a class="ux-thumb-wrap contains-addto yt-uix-contextlink yt-uix-sessionlink" data-sessionlink="ei=CNLr3rbS3rICFSwSIQodSW397Q%3D%3D&context=G266dc06FOAAAAAAAAAA" href="/watch?v=<?php echo $video['rid']; ?>"> |
||
| 301 | <span class="video-thumb ux-thumb yt-thumb-default-185 "><span class="yt-thumb-clip"><span class="yt-thumb-clip-inner"><img src="http://s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt="Thumbnail" data-thumb="/dynamic/thumbs/<?php echo $video['thumbnail']; ?>" width="185"><span class="vertical-align"></span></span></span></span> |
||
| 302 | <span class="video-time"><?php echo $video['duration']; ?></span> |
||
| 303 | <button onclick=";return false;" title="Watch Later" type="button" class="addto-button video-actions addto-watch-later-button-sign-in yt-uix-button yt-uix-button-default yt-uix-button-short yt-uix-tooltip" data-button-menu-id="shared-addto-watch-later-login" data-video-ids="rLHU-_OhT8g" role="button"><span class="yt-uix-button-content"> <img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt="Watch Later"> |
||
| 304 | </span><img class="yt-uix-button-arrow" src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt=""></button> |
||
| 305 | </a> |
||
| 306 | </div> |
||
| 307 | <div class="feed-item-content"> |
||
| 308 | <h4> |
||
| 309 | <a class="feed-video-title title yt-uix-contextlink yt-uix-sessionlink secondary" href="/watch?v=<?php echo $video['rid']; ?>" data-sessionlink="ei=CNLr3rbS3rICFSwSIQodSW397Q%3D%3D&feature=g-logo-xit&context=G266dc06FOAAAAAAAAAA"> |
||
| 310 | <?php echo $video['title']; ?> |
||
| 311 | </a> |
||
| 312 | </h4> |
||
| 313 | <div class="metadata"> |
||
| 314 | <a href="/user/<?php echo $video['author']; ?>" class="yt-user-photo "> |
||
| 315 | <span class="video-thumb ux-thumb yt-thumb-square-18 "><span class="yt-thumb-clip"><span class="yt-thumb-clip-inner"><img src="http://s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt="<?php echo $video['author']; ?>" data-thumb="/dynamic/pfp/<?php echo $__user_h->fetch_pfp($video['author']); ?>" width="18"><span class="vertical-align"></span></span></span></span> |
||
| 316 | </a> |
||
| 317 | <a href="/user/<?php echo $video['author']; ?>" class="yt-uix-sessionlink yt-user-name " data-sessionlink="ei=CNLr3rbS3rICFSwSIQodSW397Q%3D%3D&feature=g-logo-xit" dir="ltr"><?php echo $video['author']; ?></a> |
||
| 318 | <span class="bull">•</span> |
||
| 319 | <span class="view-count"> |
||
| 320 | <?php echo $video['views']; ?> views |
||
| 321 | </span> |
||
| 322 | <div class="description"> |
||
| 323 | <p><?php echo $video['description']; ?></p> |
||
| 324 | </div> |
||
| 325 | </div> |
||
| 326 | </div> |
||
| 327 | </div> |
||
| 328 | </div> |
||
| 329 | </div> |
||
| 330 | <div class="feed-item-dismissal-notices"> |
||
| 331 | <div class="feed-item-dismissal feed-item-dismissal-hide hid">This item has been hidden</div> |
||
| 332 | <div class="feed-item-dismissal feed-item-dismissal-uploads hid">In the future you will only see uploads from <span class="feed-item-owner"> <a href="/user/<?php echo $video['author']; ?>" class="yt-uix-sessionlink yt-user-name " data-sessionlink="feature=g-logo-xit" dir="ltr"><?php echo $video['author']; ?></a> |
||
| 333 | </span> |
||
| 334 | </div> |
||
| 335 | <div class="feed-item-dismissal feed-item-dismissal-all-activity hid">In the future you will see all activity from <span class="feed-item-owner"> <a href="/user/<?php echo $video['author']; ?>" class="yt-uix-sessionlink yt-user-name " data-sessionlink="feature=g-logo-xit" dir="ltr"><?php echo $video['author']; ?></a> |
||
| 336 | </span> |
||
| 337 | </div> |
||
| 338 | <div class="feed-item-dismissal feed-item-dismissal-unsubscribe hid">You have been unsubscribed from <span class="feed-item-owner"> <a href="/user/<?php echo $video['author']; ?>" class="yt-uix-sessionlink yt-user-name " data-sessionlink="feature=g-logo-xit" dir="ltr"><?php echo $video['author']; ?></a> |
||
| 339 | </span> |
||
| 340 | </div> |
||
| 341 | </div> |
||
| 342 | </li> |
||
| 343 | <?php } ?> |
||
| 344 | </ul> |
||
| 345 | </div> |
||
| 346 | </div> |
||
| 347 | </div> |
||
| 348 | <div id="feed-error" class="individual-feed hid"> |
||
| 349 | <p class="feed-message"> |
||
| 350 | We were unable to complete the request, please try again later. |
||
| 351 | </p> |
||
| 352 | </div> |
||
| 353 | <div id="feed-loading-template" class="hid"> |
||
| 354 | <div class="feed-message"> |
||
| 355 | <p class="loading-spinner"> |
||
| 356 | <img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt=""> |
||
| 357 | Loading... |
||
| 358 | </p> |
||
| 359 | </div> |
||
| 360 | </div> |
||
| 361 | </div> |
||
| 362 | <div id="feed-background"></div> |
||
| 363 | <div id="footer-ads"> |
||
| 364 | <div id="ad_creative_3" class="ad-div " style="z-index: 1"> |
||
| 365 | <iframe id="ad_creative_iframe_3" height="1" width="1" scrolling="no" frameborder="0" style="z-index: 1" src="//ad-g.doubleclick.net/N6762/adi/mkt.ythome_1x1/;sz=1x1;tile=3;plat=pc;dc_dedup=1;kcr=us;kga=-1;kgg=-1;klg=en;kmyd=ad_creative_3;kt=K;ord=7554901073022560?"></iframe> |
||
| 366 | <script> |
||
| 367 | (function() { |
||
| 368 | var addTimestamp = (Math.floor(Math.random() * 1000) == 0); |
||
| 369 | if (addTimestamp) { |
||
| 370 | var kts = new Date().getTime(); |
||
| 371 | var iframeSrc = "//ad-g.doubleclick.net/N6762/adi/mkt.ythome_1x1/;sz=1x1;tile=3;plat=pc;dc_dedup=1;kcr=us;kga=-1;kgg=-1;klg=en;kmyd=ad_creative_3;kt=K;kts=" + kts + ";ord=7554901073022560?"; |
||
| 372 | } else { |
||
| 373 | var iframeSrc = "//ad-g.doubleclick.net/N6762/adi/mkt.ythome_1x1/;sz=1x1;tile=3;plat=pc;dc_dedup=1;kcr=us;kga=-1;kgg=-1;klg=en;kmyd=ad_creative_3;kt=K;ord=7554901073022560?"; |
||
| 374 | } |
||
| 375 | var adIframe = document.getElementById("ad_creative_iframe_3"); |
||
| 376 | adIframe.src = iframeSrc; |
||
| 377 | })(); |
||
| 378 | </script> |
||
| 379 | </div> |
||
| 380 | </div> |
||
| 381 | </div> |
||
| 382 | </div> |
||
| 383 | <!-- end content --> |
||
| 384 | </div> |
||
| 385 | <div id="footer-container"><?php require($_SERVER['DOCUMENT_ROOT'] . "/s/mod/footer.php"); ?></div> |
||
| 386 | <div id="playlist-bar" class="hid passive editable" data-video-url="/watch?v=&feature=BFql&playnext=1&list=QL" data-list-id="" data-list-type="QL"> |
||
| 387 | <div id="playlist-bar-bar-container"> |
||
| 388 | <div id="playlist-bar-bar"> |
||
| 389 | <div class="yt-alert yt-alert-naked yt-alert-success hid " id="playlist-bar-notifications"> |
||
| 390 | <div class="yt-alert-icon"> |
||
| 391 | <img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" class="icon master-sprite" alt="Alert icon"> |
||
| 392 | </div> |
||
| 393 | <div class="yt-alert-content" role="alert"></div> |
||
| 394 | </div> |
||
| 395 | <span id="playlist-bar-info"><span class="playlist-bar-active playlist-bar-group"><button onclick=";return false;" title="Previous video" type="button" id="playlist-bar-prev-button" class="yt-uix-tooltip yt-uix-tooltip-masked yt-uix-button yt-uix-button-default yt-uix-tooltip yt-uix-button-empty" role="button"><span class="yt-uix-button-icon-wrapper"><img class="yt-uix-button-icon yt-uix-button-icon-playlist-bar-prev" src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt="Previous video"><span class="yt-valign-trick"></span></span></button><span class="playlist-bar-count"><span class="playing-index">0</span> / <span class="item-count">0</span></span><button type="button" class="yt-uix-tooltip yt-uix-tooltip-masked yt-uix-button yt-uix-button-default yt-uix-button-empty" onclick=";return false;" id="playlist-bar-next-button" role="button"><span class="yt-uix-button-icon-wrapper"><img class="yt-uix-button-icon yt-uix-button-icon-playlist-bar-next" src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt=""><span class="yt-valign-trick"></span></span></button></span><span class="playlist-bar-active playlist-bar-group"><button type="button" class="yt-uix-tooltip yt-uix-tooltip-masked yt-uix-button yt-uix-button-default yt-uix-button-empty" onclick=";return false;" id="playlist-bar-autoplay-button" data-button-toggle="true" role="button"><span class="yt-uix-button-icon-wrapper"><img class="yt-uix-button-icon yt-uix-button-icon-playlist-bar-autoplay" src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt=""><span class="yt-valign-trick"></span></span></button><button type="button" class="yt-uix-tooltip yt-uix-tooltip-masked yt-uix-button yt-uix-button-default yt-uix-button-empty" onclick=";return false;" id="playlist-bar-shuffle-button" data-button-toggle="true" role="button"><span class="yt-uix-button-icon-wrapper"><img class="yt-uix-button-icon yt-uix-button-icon-playlist-bar-shuffle" src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt=""><span class="yt-valign-trick"></span></span></button></span><span class="playlist-bar-passive playlist-bar-group"><button onclick=";return false;" title="Play videos" type="button" id="playlist-bar-play-button" class="yt-uix-tooltip yt-uix-tooltip-masked yt-uix-button yt-uix-button-default yt-uix-tooltip yt-uix-button-empty" role="button"><span class="yt-uix-button-icon-wrapper"><img class="yt-uix-button-icon yt-uix-button-icon-playlist-bar-play" src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt="Play videos"><span class="yt-valign-trick"></span></span></button><span class="playlist-bar-count"><span class="item-count">0</span></span></span><span id="playlist-bar-title" class="yt-uix-button-group"><span class="playlist-title">Unsaved Playlist</span></span></span> |
||
| 396 | <a id="playlist-bar-lists-back" href="#"> |
||
| 397 | Return to active list |
||
| 398 | </a> |
||
| 399 | <span id="playlist-bar-controls"><span class="playlist-bar-group"><button type="button" class="yt-uix-tooltip yt-uix-tooltip-masked yt-uix-button yt-uix-button-text yt-uix-button-empty" onclick=";return false;" id="playlist-bar-toggle-button" role="button"><span class="yt-uix-button-icon-wrapper"><img class="yt-uix-button-icon yt-uix-button-icon-playlist-bar-toggle" src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt=""><span class="yt-valign-trick"></span></span></button></span><span class="playlist-bar-group"><button type="button" class="yt-uix-tooltip yt-uix-tooltip-masked yt-uix-button-reverse flip yt-uix-button yt-uix-button-text" onclick=";return false;" data-button-menu-id="playlist-bar-options-menu" data-button-has-sibling-menu="true" role="button"><span class="yt-uix-button-content">Options </span><img class="yt-uix-button-arrow" src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt=""></button></span></span> |
||
| 400 | </div> |
||
| 401 | </div> |
||
| 402 | <div id="playlist-bar-tray-container"> |
||
| 403 | <div id="playlist-bar-tray" class="yt-uix-slider yt-uix-slider-fluid"> |
||
| 404 | <button class="yt-uix-button playlist-bar-tray-button yt-uix-button-default yt-uix-slider-prev" onclick="return false;"><img class="yt-uix-slider-prev-arrow" src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt="Previous video"></button><button class="yt-uix-button playlist-bar-tray-button yt-uix-button-default yt-uix-slider-next" onclick="return false;"><img class="yt-uix-slider-next-arrow" src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt="Next video"></button> |
||
| 405 | <div class="yt-uix-slider-body"> |
||
| 406 | <div id="playlist-bar-tray-content" class="yt-uix-slider-slide"> |
||
| 407 | <ol class="video-list"></ol> |
||
| 408 | <ol id="playlist-bar-help"> |
||
| 409 | <li class="empty playlist-bar-help-message">Your queue is empty. Add videos to your queue using this button: <img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" class="addto-button-help"><br> or <a href="/sign_in">sign in</a> to load a different list.</li> |
||
| 410 | </ol> |
||
| 411 | </div> |
||
| 412 | <div class="yt-uix-slider-shade-left"></div> |
||
| 413 | <div class="yt-uix-slider-shade-right"></div> |
||
| 414 | </div> |
||
| 415 | </div> |
||
| 416 | <div id="playlist-bar-save"></div> |
||
| 417 | <div id="playlist-bar-lists" class="dark-lolz"></div> |
||
| 418 | <div id="playlist-bar-loading"><img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt="Loading..."><span id="playlist-bar-loading-message">Loading...</span><span id="playlist-bar-saving-message" class="hid">Saving...</span></div> |
||
| 419 | <div id="playlist-bar-template" style="display: none;" data-video-thumb-url="//i4.ytimg.com/vi/__video_encrypted_id__/default.jpg"> |
||
| 420 | <!--<li class="playlist-bar-item yt-uix-slider-slide-unit __classes__" data-video-id="__video_encrypted_id__"><a href="__video_url__" title="__video_title__" class="yt-uix-sessionlink" data-sessionlink="ei=CNLr3rbS3rICFSwSIQodSW397Q%3D%3D&feature=BFa"><span class="video-thumb ux-thumb yt-thumb-default-106 "><span class="yt-thumb-clip"><span class="yt-thumb-clip-inner"><img src="http://s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt="__video_title__" data-thumb-manual="true" data-thumb="__video_thumb_url__" width="106" ><span class="vertical-align"></span></span></span></span><span class="screen"></span><span class="count"><strong>__list_position__</strong></span><span class="play"><img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif"></span><span class="yt-uix-button yt-uix-button-default delete"><img class="yt-uix-button-icon-playlist-bar-delete" src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt="Delete"></span><span class="now-playing">Now playing</span><span dir="ltr" class="title"><span>__video_title__ <span class="uploader">by __video_display_name__</span> |
||
| 421 | </span></span><span class="dragger"></span></a></li>--> |
||
| 422 | </div> |
||
| 423 | <div id="playlist-bar-next-up-template" style="display: none;"> |
||
| 424 | <!--<div class="playlist-bar-next-thumb"><span class="video-thumb ux-thumb yt-thumb-default-74 "><span class="yt-thumb-clip"><span class="yt-thumb-clip-inner"><img src="//i4.ytimg.com/vi/__video_encrypted_id__/default.jpg" alt="Thumbnail" width="74" ><span class="vertical-align"></span></span></span></span></div>--> |
||
| 425 | </div> |
||
| 426 | </div> |
||
| 427 | <div id="playlist-bar-options-menu" class="hid"> |
||
| 428 | <div id="playlist-bar-extras-menu"> |
||
| 429 | <ul> |
||
| 430 | <li><span class="yt-uix-button-menu-item" data-action="clear"> |
||
| 431 | Clear all videos from this list |
||
| 432 | </span> |
||
| 433 | </li> |
||
| 434 | </ul> |
||
| 435 | </div> |
||
| 436 | <ul> |
||
| 437 | <li><span class="yt-uix-button-menu-item" onclick="window.location.href='//support.google.com/youtube/bin/answer.py?answer=146749&hl=en-US'">Learn more</span></li> |
||
| 438 | </ul> |
||
| 439 | </div> |
||
| 440 | </div> |
||
| 441 | <div id="shared-addto-watch-later-login" class="hid"> |
||
| 442 | <a href="/sign_in" class="sign-in-link">Sign in</a> to add this to a playlist |
||
| 443 | </div> |
||
| 444 | <div id="shared-addto-menu" style="display: none;" class="hid sign-in"> |
||
| 445 | <div class="addto-menu"> |
||
| 446 | <div id="addto-list-panel" class="menu-panel active-panel"> |
||
| 447 | <span class="yt-uix-button-menu-item yt-uix-tooltip sign-in" data-possible-tooltip="" data-tooltip-show-delay="750"><a href="/sign_in" class="sign-in-link">Sign in</a> to add this to a playlist |
||
| 448 | </span> |
||
| 449 | </div> |
||
| 450 | <div id="addto-list-saved-panel" class="menu-panel"> |
||
| 451 | <div class="panel-content"> |
||
| 452 | <div class="yt-alert yt-alert-naked yt-alert-success "> |
||
| 453 | <div class="yt-alert-icon"> |
||
| 454 | <img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" class="icon master-sprite" alt="Alert icon"> |
||
| 455 | </div> |
||
| 456 | <div class="yt-alert-content" role="alert"> |
||
| 457 | <span class="yt-alert-vertical-trick"></span> |
||
| 458 | <div class="yt-alert-message"> |
||
| 459 | <span class="message">Added to <span class="addto-title yt-uix-tooltip yt-uix-tooltip-reverse" title="More information about this playlist" data-tooltip-show-delay="750"></span></span> |
||
| 460 | </div> |
||
| 461 | </div> |
||
| 462 | </div> |
||
| 463 | </div> |
||
| 464 | </div> |
||
| 465 | <div id="addto-list-error-panel" class="menu-panel"> |
||
| 466 | <div class="panel-content"> |
||
| 467 | <img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif"> |
||
| 468 | <span class="error-details"></span> |
||
| 469 | <a class="show-menu-link">Back to list</a> |
||
| 470 | </div> |
||
| 471 | </div> |
||
| 472 | <div id="addto-note-input-panel" class="menu-panel"> |
||
| 473 | <div class="panel-content"> |
||
| 474 | <div class="yt-alert yt-alert-naked yt-alert-success "> |
||
| 475 | <div class="yt-alert-icon"> |
||
| 476 | <img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" class="icon master-sprite" alt="Alert icon"> |
||
| 477 | </div> |
||
| 478 | <div class="yt-alert-content" role="alert"> |
||
| 479 | <span class="yt-alert-vertical-trick"></span> |
||
| 480 | <div class="yt-alert-message"> |
||
| 481 | <span class="message">Added to playlist:</span> |
||
| 482 | <span class="addto-title yt-uix-tooltip" title="More information about this playlist" data-tooltip-show-delay="750"></span> |
||
| 483 | </div> |
||
| 484 | </div> |
||
| 485 | </div> |
||
| 486 | </div> |
||
| 487 | <div class="yt-uix-char-counter" data-char-limit="150"> |
||
| 488 | <div class="addto-note-box addto-text-box"><textarea id="addto-note" class="addto-note yt-uix-char-counter-input" maxlength="150"></textarea><label for="addto-note" class="addto-note-label">Add an optional note</label></div> |
||
| 489 | <span class="yt-uix-char-counter-remaining">150</span> |
||
| 490 | </div> |
||
| 491 | <button disabled="disabled" type="button" class="playlist-save-note yt-uix-button yt-uix-button-default" onclick=";return false;" role="button"><span class="yt-uix-button-content">Add note </span></button> |
||
| 492 | </div> |
||
| 493 | <div id="addto-note-saving-panel" class="menu-panel"> |
||
| 494 | <div class="panel-content loading-content"> |
||
| 495 | <img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif"> |
||
| 496 | <span>Saving note...</span> |
||
| 497 | </div> |
||
| 498 | </div> |
||
| 499 | <div id="addto-note-saved-panel" class="menu-panel"> |
||
| 500 | <div class="panel-content"> |
||
| 501 | <img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif"> |
||
| 502 | <span class="message">Note added to:</span> |
||
| 503 | </div> |
||
| 504 | </div> |
||
| 505 | <div id="addto-note-error-panel" class="menu-panel"> |
||
| 506 | <div class="panel-content"> |
||
| 507 | <img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif"> |
||
| 508 | <span class="message">Error adding note:</span> |
||
| 509 | <ul class="error-details"></ul> |
||
| 510 | <a class="add-note-link">Click to add a new note</a> |
||
| 511 | </div> |
||
| 512 | </div> |
||
| 513 | <div class="close-note hid"> |
||
| 514 | <img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" class="close-button"> |
||
| 515 | </div> |
||
| 516 | </div> |
||
| 517 | </div> |
||
| 518 | </div> |
||
| 519 | <!-- end page --> |
||
| 520 | <script id="www-core-js" src="//s.ytimg.com/yt/jsbin/www-core-vfl1pq97W.js" data-loaded="true"></script> |
||
| 521 | <script> |
||
| 522 | yt.setConfig({ |
||
| 523 | 'XSRF_TOKEN': 'iz8jtUnR4Eomusl012h4goGYKHl8MTM0OTE0MDU3NEAxMzQ5MDU0MTc0', |
||
| 524 | 'XSRF_FIELD_NAME': 'session_token' |
||
| 525 | }); |
||
| 526 | yt.pubsub.subscribe('init', yt.www.xsrf.populateSessionToken); |
||
| 527 | |||
| 528 | yt.setConfig('XSRF_REDIRECT_TOKEN', 'DKwX8BwPtPQ3NCknEYmL0VtXh6x8MTM0OTE0MDU3NEAxMzQ5MDU0MTc0'); |
||
| 529 | |||
| 530 | yt.setConfig({ |
||
| 531 | 'EVENT_ID': "CNLr3rbS3rICFSwSIQodSW397Q==", |
||
| 532 | 'CURRENT_URL': "http:\/\/www.youtube.com\/", |
||
| 533 | 'LOGGED_IN': false, |
||
| 534 | 'SESSION_INDEX': null, |
||
| 535 | |||
| 536 | 'WATCH_CONTEXT_CLIENTSIDE': false, |
||
| 537 | |||
| 538 | 'FEEDBACK_LOCALE_LANGUAGE': "en", |
||
| 539 | 'FEEDBACK_LOCALE_EXTRAS': {"logged_in": false, "experiments": "904821,919006,922401,920704,912806,913419,913546,913556,919349,919351,925109,919003,920201,912706", "guide_subs": "NA", "accept_language": null} }); |
||
| 540 | </script> |
||
| 541 | <script> |
||
| 542 | if (window.yt.timing) {yt.timing.tick("js_head");} |
||
| 543 | </script> |
||
| 544 | <script> |
||
| 545 | _gel('masthead-search-term').focus(); |
||
| 546 | yt.setConfig('GUIDE_VERSION', 1); |
||
| 547 | </script> |
||
| 548 | <script> |
||
| 549 | yt.setMsg('FLASH_UPGRADE', "\u003cdiv class=\"yt-alert yt-alert-default yt-alert-error yt-alert-player\"\u003e \u003cdiv class=\"yt-alert-icon\"\u003e\n \u003cimg s\u0072c=\"\/\/s.ytimg.com\/yt\/img\/pixel-vfl3z5WfW.gif\" class=\"icon master-sprite\" alt=\"Alert icon\"\u003e\n \u003c\/div\u003e\n\u003cdiv class=\"yt-alert-buttons\"\u003e\u003c\/div\u003e\u003cdiv class=\"yt-alert-content\" role=\"alert\"\u003e \u003cspan class=\"yt-alert-vertical-trick\"\u003e\u003c\/span\u003e\n \u003cdiv class=\"yt-alert-message\"\u003e\n You need to upgrade your Adobe Flash Player to watch this video. \u003cbr\u003e \u003ca href=\"http:\/\/get.adobe.com\/flashplayer\/\"\u003eDownload it from Adobe.\u003c\/a\u003e\n \u003c\/div\u003e\n\u003c\/div\u003e\u003c\/div\u003e"); |
||
| 550 | yt.setConfig({ |
||
| 551 | 'PLAYER_CONFIG': {"url": "\/\/s.ytimg.com\/yt\/swf\/masthead_child-vflRMMO6_.swf", "min_version": "8.0.0", "args": {"enablejsapi": 1}, "url_v9as2": "", "params": {"bgcolor": "#FFFFFF", "allowfullscreen": "false", "allowscriptaccess": "always"}, "attrs": {"width": "1", "id": "masthead_child", "height": "1"}, "url_v8": "", "html5": false} |
||
| 552 | }); |
||
| 553 | |||
| 554 | yt.flash.embed("masthead_child_div", yt.getConfig('PLAYER_CONFIG')); |
||
| 555 | </script> |
||
| 556 | <script src="//s.ytimg.com/yt/jsbin/www-guide-vflO6qP5Q.js" data-loaded="true"></script> |
||
| 557 | <script> |
||
| 558 | window.masthead = new yt.www.ads.MastheadAd( |
||
| 559 | "OC52H-osudk", |
||
| 560 | true); |
||
| 561 | |||
| 562 | yt.www.guide.init(); |
||
| 563 | |||
| 564 | |||
| 565 | </script> |
||
| 566 | <script> |
||
| 567 | if (window.yt.timing) {yt.timing.tick("js_page");} |
||
| 568 | </script> |
||
| 569 | <script> |
||
| 570 | yt.setConfig('TIMING_ACTION', "glo"); |
||
| 571 | </script> |
||
| 572 | <script>yt.www.thumbnaildelayload.init(300);</script> |
||
| 573 | <script> |
||
| 574 | yt.setMsg({ |
||
| 575 | 'LIST_CLEARED': "List cleared", |
||
| 576 | 'PLAYLIST_VIDEO_DELETED': "Video deleted.", |
||
| 577 | 'ERROR_OCCURRED': "Sorry, an error occurred.", |
||
| 578 | 'NEXT_VIDEO_TOOLTIP': "Next video:\u003cbr\u003e \u0026#8220;${next_video_title}\u0026#8221;", |
||
| 579 | 'NEXT_VIDEO_NOTHUMB_TOOLTIP': "Next video", |
||
| 580 | 'SHOW_PLAYLIST_TOOLTIP': "Show playlist", |
||
| 581 | 'HIDE_PLAYLIST_TOOLTIP': "Hide playlist", |
||
| 582 | 'AUTOPLAY_ON_TOOLTIP': "Turn autoplay off", |
||
| 583 | 'AUTOPLAY_OFF_TOOLTIP': "Turn autoplay on", |
||
| 584 | 'SHUFFLE_ON_TOOLTIP': "Turn shuffle off", |
||
| 585 | 'SHUFFLE_OFF_TOOLTIP': "Turn shuffle on", |
||
| 586 | 'PLAYLIST_BAR_PLAYLIST_SAVED': "Playlist saved!", |
||
| 587 | 'PLAYLIST_BAR_ADDED_TO_FAVORITES': "Added to favorites", |
||
| 588 | 'PLAYLIST_BAR_ADDED_TO_PLAYLIST': "Added to playlist", |
||
| 589 | 'PLAYLIST_BAR_ADDED_TO_QUEUE': "Added to queue", |
||
| 590 | 'AUTOPLAY_WARNING1': "Next video starts in 1 second...", |
||
| 591 | 'AUTOPLAY_WARNING2': "Next video starts in 2 seconds...", |
||
| 592 | 'AUTOPLAY_WARNING3': "Next video starts in 3 seconds...", |
||
| 593 | 'AUTOPLAY_WARNING4': "Next video starts in 4 seconds...", |
||
| 594 | 'AUTOPLAY_WARNING5': "Next video starts in 5 seconds...", |
||
| 595 | 'UNDO_LINK': "Undo" }); |
||
| 596 | |||
| 597 | |||
| 598 | yt.setConfig({ |
||
| 599 | 'DRAGDROP_BINARY_URL': "\/\/s.ytimg.com\/yt\/jsbin\/www-dragdrop-vflWKaUyg.js", |
||
| 600 | 'PLAYLIST_BAR_PLAYING_INDEX': -1 }); |
||
| 601 | |||
| 602 | yt.setAjaxToken('addto_ajax_logged_out', "fp0KWJkOgzvoH_zrQWDO1rTnfkx8MTM0OTE0MDU3NEAxMzQ5MDU0MTc0"); |
||
| 603 | |||
| 604 | yt.pubsub.subscribe('init', yt.www.lists.init); |
||
| 605 | |||
| 606 | yt.events.listen(_gel('masthead-search-term'), 'focus', yt.www.home.ads.workaroundReset); |
||
| 607 | yt.setConfig({'SBOX_JS_URL': "\/\/s.ytimg.com\/yt\/jsbin\/www-searchbox-vflsHyn9f.js",'SBOX_SETTINGS': {"CLOSE_ICON_URL": "\/\/s.ytimg.com\/yt\/img\/icons\/close-vflrEJzIW.png", "SHOW_CHIP": false, "PSUGGEST_TOKEN": null, "REQUEST_DOMAIN": "us", "EXPERIMENT_ID": -1, "SESSION_INDEX": null, "HAS_ON_SCREEN_KEYBOARD": false, "CHIP_PARAMETERS": {}, "REQUEST_LANGUAGE": "en"},'SBOX_LABELS': {"SUGGESTION_DISMISS_LABEL": "Dismiss", "SUGGESTION_DISMISSED_LABEL": "Suggestion dismissed"}}); |
||
| 608 | </script> |
||
| 609 | <script> |
||
| 610 | yt.setMsg({ |
||
| 611 | 'ADDTO_WATCH_LATER_ADDED': "Added", |
||
| 612 | 'ADDTO_WATCH_LATER_ERROR': "Error" |
||
| 613 | }); |
||
| 614 | </script> |
||
| 615 | <script> |
||
| 616 | if (window.yt.timing) {yt.timing.tick("js_foot");} |
||
| 617 | </script> |
||
| 618 | </body> |
||
| 619 | </html> |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths