-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathuploaded_video.php
331 lines (316 loc) · 24.7 KB
/
uploaded_video.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
<?php require_once($_SERVER['DOCUMENT_ROOT'] . "/s/classes/config.inc.php"); ?>
<?php require_once($_SERVER['DOCUMENT_ROOT'] . "/s/classes/db_helper.php"); ?>
<?php require_once($_SERVER['DOCUMENT_ROOT'] . "/s/classes/time_manip.php"); ?>
<?php require_once($_SERVER['DOCUMENT_ROOT'] . "/s/classes/user_helper.php"); ?>
<?php require_once($_SERVER['DOCUMENT_ROOT'] . "/s/classes/video_helper.php"); ?>
<?php require_once($_SERVER['DOCUMENT_ROOT'] . "/s/classes/user_update.php"); ?>
<?php require_once($_SERVER['DOCUMENT_ROOT'] . "/s/classes/user_insert.php"); ?>
<?php $__video_h = new video_helper($__db); ?>
<?php $__user_h = new user_helper($__db); ?>
<?php $__user_i = new user_insert($__db); ?>
<?php $__user_u = new user_update($__db); ?>
<?php $__db_h = new db_helper(); ?>
<?php $__time_h = new time_helper(); ?>
<?php
if(!$__video_h->video_exists($_GET['v']))
header("Location: /?error=Your video has not processed correctly. Try reuploading it with a shorter title, description, or tag.");
$_video = $__video_h->fetch_video_rid($_GET['v']);
$_video['video_responses'] = $__video_h->get_video_responses($_video['rid']);
$_video['age'] = $__time_h->time_elapsed_string($_video['publish']);
$_video['duration'] = $__time_h->timestamp($_video['duration']);
$_video['views'] = $__video_h->fetch_video_views($_video['rid']);
$_video['author'] = htmlspecialchars($_video['author']);
$_video['title'] = htmlspecialchars($_video['title']);
$_video['description'] = $__video_h->shorten_description($_video['description'], 50);
if($_SESSION['siteusername'] != $_video['author'])
header("Location: /");
?>
<?php
$__server->page_embeds->page_title = "SubRock - Uploaded Video";
$__server->page_embeds->page_description = "SubRock is a site dedicated to bring back the 2012 layout of YouTube.";
$__server->page_embeds->page_image = "/yt/imgbin/full-size-logo.png";
$__server->page_embeds->page_url = "https://www.subrock.tk/";
?>
<!DOCTYPE html>
<html>
<head>
<title><?php echo $__server->page_embeds->page_title; ?></title>
<meta property="og:title" content="<?php echo $__server->page_embeds->page_title; ?>" />
<meta property="og:url" content="<?php echo $__server->page_embeds->page_url; ?>" />
<meta property="og:description" content="<?php echo $__server->page_embeds->page_description; ?>" />
<meta property="og:image" content="<?php echo $__server->page_embeds->page_image; ?>" />
<script>
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;}
</script>
<link id="www-core-css" rel="stylesheet" href="/yt/cssbin/www-core-vfluMRDnk.css">
<link rel="stylesheet" href="/yt/cssbin/www-guide-vflx0V5Tq.css">
<script>
if (window.yt.timing) {yt.timing.tick("ct");}
</script>
<link rel="stylesheet" href="/yt/cssbin/www-extra.css">
</head>
<body id="" class="date-20120930 en_US ltr ytg-old-clearfix guide-feed-v2 " dir="ltr">
<form name="logoutForm" method="POST" action="/logout">
<input type="hidden" name="action_logout" value="1">
</form>
<!-- begin page -->
<div id="page" class="">
<div id="masthead-container"><?php require($_SERVER['DOCUMENT_ROOT'] . "/s/mod/header.php"); ?></div>
<div id="content-container">
<!-- begin content -->
<div id="content">
<div id="watch-owner-container">
<div id="masthead-subnav" class="yt-nav yt-nav-dark ">
<ul class="yt-nav-aside">
<li>
<a href="/my_videos" class="yt-uix-button yt-uix-sessionlink yt-uix-button-subnav yt-uix-button-dark" data-sessionlink="ei=CMCA1_3robMCFSrJRAodqnnxKQ%3D%3D"><span class="yt-uix-button-content">Video Manager</span></a>
</li>
</ul>
<ul>
<li>
<a href="/edit_video?id=<?php echo $_video['rid']; ?>" class="yt-uix-button yt-uix-sessionlink yt-uix-button-subnav yt-uix-button-dark" data-sessionlink="ei=CMCA1_3robMCFSrJRAodqnnxKQ%3D%3D"><span class="yt-uix-button-content">Edit</span></a>
</li>
<li>
<a href="/get/delete_video?v=<?php echo $_video['rid']; ?>" class="yt-uix-button yt-uix-sessionlink yt-uix-button-subnav yt-uix-button-dark" data-sessionlink="ei=CMCA1_3robMCFSrJRAodqnnxKQ%3D%3D"><span class="yt-uix-button-content">Delete Video</span></a>
</li>
</ul>
</div>
</div><br>
<h3>Succesfully uploaded!</h3>
<hr><br>
Your video <b><?php echo htmlspecialchars($_video['title']); ?></b> has been successfully uploaded.<br><br>
<ul>
<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>
<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">
</span><img class="yt-uix-button-arrow" src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" alt=""></button>
</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>
</span></a>
</li>
</ul>
<input id="video-link" style="width: 300px;" placeholder="Video Link" class="upload-input" type="text" value="https://www.subrock.tk/watch?v=<?php echo $_video['rid']; ?>" name="title"><br><br>
<br>
</div>
</div>
<div id="footer-container"><?php require($_SERVER['DOCUMENT_ROOT'] . "/s/mod/footer.php"); ?></div>
<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">
<div id="playlist-bar-bar-container">
<div id="playlist-bar-bar">
<div class="yt-alert yt-alert-naked yt-alert-success hid " id="playlist-bar-notifications">
<div class="yt-alert-icon">
<img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" class="icon master-sprite" alt="Alert icon">
</div>
<div class="yt-alert-content" role="alert"></div>
</div>
<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>
<a id="playlist-bar-lists-back" href="#">
Return to active list
</a>
<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>
</div>
</div>
<div id="playlist-bar-tray-container">
<div id="playlist-bar-tray" class="yt-uix-slider yt-uix-slider-fluid">
<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>
<div class="yt-uix-slider-body">
<div id="playlist-bar-tray-content" class="yt-uix-slider-slide">
<ol class="video-list"></ol>
<ol id="playlist-bar-help">
<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>
</ol>
</div>
<div class="yt-uix-slider-shade-left"></div>
<div class="yt-uix-slider-shade-right"></div>
</div>
</div>
<div id="playlist-bar-save"></div>
<div id="playlist-bar-lists" class="dark-lolz"></div>
<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>
<div id="playlist-bar-template" style="display: none;" data-video-thumb-url="//i4.ytimg.com/vi/__video_encrypted_id__/default.jpg">
<!--<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>
</span></span><span class="dragger"></span></a></li>-->
</div>
<div id="playlist-bar-next-up-template" style="display: none;">
<!--<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" onerror="this.onerror=null;this.src='/dynamic/thumbs/default.jpg';" width="74" ><span class="vertical-align"></span></span></span></span></div>-->
</div>
</div>
<div id="playlist-bar-options-menu" class="hid">
<div id="playlist-bar-extras-menu">
<ul>
<li><span class="yt-uix-button-menu-item" data-action="clear">
Clear all videos from this list
</span>
</li>
</ul>
</div>
<ul>
<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>
</ul>
</div>
</div>
<div id="shared-addto-watch-later-login" class="hid">
<a href="/sign_in" class="sign-in-link">Sign in</a> to add this to a playlist
</div>
<div id="shared-addto-menu" style="display: none;" class="hid sign-in">
<div class="addto-menu">
<div id="addto-list-panel" class="menu-panel active-panel">
<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
</span>
</div>
<div id="addto-list-saved-panel" class="menu-panel">
<div class="panel-content">
<div class="yt-alert yt-alert-naked yt-alert-success ">
<div class="yt-alert-icon">
<img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" class="icon master-sprite" alt="Alert icon">
</div>
<div class="yt-alert-content" role="alert">
<span class="yt-alert-vertical-trick"></span>
<div class="yt-alert-message">
<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>
</div>
</div>
</div>
</div>
</div>
<div id="addto-list-error-panel" class="menu-panel">
<div class="panel-content">
<img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif">
<span class="error-details"></span>
<a class="show-menu-link">Back to list</a>
</div>
</div>
<div id="addto-note-input-panel" class="menu-panel">
<div class="panel-content">
<div class="yt-alert yt-alert-naked yt-alert-success ">
<div class="yt-alert-icon">
<img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" class="icon master-sprite" alt="Alert icon">
</div>
<div class="yt-alert-content" role="alert">
<span class="yt-alert-vertical-trick"></span>
<div class="yt-alert-message">
<span class="message">Added to playlist:</span>
<span class="addto-title yt-uix-tooltip" title="More information about this playlist" data-tooltip-show-delay="750"></span>
</div>
</div>
</div>
</div>
<div class="yt-uix-char-counter" data-char-limit="150">
<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>
<span class="yt-uix-char-counter-remaining">150</span>
</div>
<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>
</div>
<div id="addto-note-saving-panel" class="menu-panel">
<div class="panel-content loading-content">
<img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif">
<span>Saving note...</span>
</div>
</div>
<div id="addto-note-saved-panel" class="menu-panel">
<div class="panel-content">
<img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif">
<span class="message">Note added to:</span>
</div>
</div>
<div id="addto-note-error-panel" class="menu-panel">
<div class="panel-content">
<img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif">
<span class="message">Error adding note:</span>
<ul class="error-details"></ul>
<a class="add-note-link">Click to add a new note</a>
</div>
</div>
<div class="close-note hid">
<img src="//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif" class="close-button">
</div>
</div>
</div>
</div>
<!-- end page -->
<script id="www-core-js" src="/yt/jsbin/www-core-vfl1pq97W.js" data-loaded="true"></script>
<script id="www-core-js" src="//s.ytimg.com/yt/jsbin/www-core-vfl1pq97W.js" data-loaded="true"></script>
<script>
yt.setConfig({
'XSRF_TOKEN': 'iz8jtUnR4Eomusl012h4goGYKHl8MTM0OTE0MDU3NEAxMzQ5MDU0MTc0',
'XSRF_FIELD_NAME': 'session_token'
});
yt.pubsub.subscribe('init', yt.www.xsrf.populateSessionToken);
yt.setConfig('XSRF_REDIRECT_TOKEN', 'DKwX8BwPtPQ3NCknEYmL0VtXh6x8MTM0OTE0MDU3NEAxMzQ5MDU0MTc0');
yt.setConfig({
'EVENT_ID': "CNLr3rbS3rICFSwSIQodSW397Q==",
'CURRENT_URL': "http:\/\/www.youtube.com\/",
'LOGGED_IN': false,
'SESSION_INDEX': null,
'WATCH_CONTEXT_CLIENTSIDE': false,
'FEEDBACK_LOCALE_LANGUAGE': "en",
'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} });
</script>
<script>
if (window.yt.timing) {yt.timing.tick("js_head");}
</script>
<script>
_gel('masthead-search-term').focus();
yt.setConfig('GUIDE_VERSION', 1);
</script>
<script>
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");
yt.setConfig({
'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}
});
yt.flash.embed("masthead_child_div", yt.getConfig('PLAYER_CONFIG'));
</script>
<script src="//s.ytimg.com/yt/jsbin/www-guide-vflO6qP5Q.js" data-loaded="true"></script>
<script>
window.masthead = new yt.www.ads.MastheadAd(
"OC52H-osudk",
true);
yt.www.guide.init();
</script>
<script>
if (window.yt.timing) {yt.timing.tick("js_page");}
</script>
<script>
yt.setConfig('TIMING_ACTION', "glo");
</script>
<script>yt.www.thumbnaildelayload.init(300);</script>
<script>
yt.setMsg({
'LIST_CLEARED': "List cleared",
'PLAYLIST_VIDEO_DELETED': "Video deleted.",
'ERROR_OCCURRED': "Sorry, an error occurred.",
'NEXT_VIDEO_TOOLTIP': "Next video:\u003cbr\u003e \u0026#8220;${next_video_title}\u0026#8221;",
'NEXT_VIDEO_NOTHUMB_TOOLTIP': "Next video",
'SHOW_PLAYLIST_TOOLTIP': "Show playlist",
'HIDE_PLAYLIST_TOOLTIP': "Hide playlist",
'AUTOPLAY_ON_TOOLTIP': "Turn autoplay off",
'AUTOPLAY_OFF_TOOLTIP': "Turn autoplay on",
'SHUFFLE_ON_TOOLTIP': "Turn shuffle off",
'SHUFFLE_OFF_TOOLTIP': "Turn shuffle on",
'PLAYLIST_BAR_PLAYLIST_SAVED': "Playlist saved!",
'PLAYLIST_BAR_ADDED_TO_FAVORITES': "Added to favorites",
'PLAYLIST_BAR_ADDED_TO_PLAYLIST': "Added to playlist",
'PLAYLIST_BAR_ADDED_TO_QUEUE': "Added to queue",
'AUTOPLAY_WARNING1': "Next video starts in 1 second...",
'AUTOPLAY_WARNING2': "Next video starts in 2 seconds...",
'AUTOPLAY_WARNING3': "Next video starts in 3 seconds...",
'AUTOPLAY_WARNING4': "Next video starts in 4 seconds...",
'AUTOPLAY_WARNING5': "Next video starts in 5 seconds...",
'UNDO_LINK': "Undo" });
yt.setConfig({
'DRAGDROP_BINARY_URL': "\/\/s.ytimg.com\/yt\/jsbin\/www-dragdrop-vflWKaUyg.js",
'PLAYLIST_BAR_PLAYING_INDEX': -1 });
yt.setAjaxToken('addto_ajax_logged_out', "fp0KWJkOgzvoH_zrQWDO1rTnfkx8MTM0OTE0MDU3NEAxMzQ5MDU0MTc0");
yt.pubsub.subscribe('init', yt.www.lists.init);
yt.events.listen(_gel('masthead-search-term'), 'focus', yt.www.home.ads.workaroundReset);
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"}});
</script>
<script>
yt.setMsg({
'ADDTO_WATCH_LATER_ADDED': "Added",
'ADDTO_WATCH_LATER_ERROR': "Error"
});
</script>
<script>
if (window.yt.timing) {yt.timing.tick("js_foot");}
</script>
</body>
</html>