Advertisement
jimgreeno

Untitled

Jul 13th, 2017
2,844
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.93 KB | None | 0 0
  1. https://chaturbate.com/affiliates/in/?tour=9oGW&campaign=zM6MR&track=embed&room=jimgreenobigcock&bgcolor=transparent&disable_sound=1&embed_video_only=0&target=_parent' height=523 width=850 style='border: none;'></iframe> /(document).ready(function() {
  2. if (HasFlash() && ('true' == '' || 'true' == 'true')) {
  3. EmbedViewerSwf(
  4. "/static/flash/CBV_2p670.swf",
  5. "jimgreenobigcock",
  6. "edge5.stream.highwebmedia.com",
  7. "/xml/viewer.xml",
  8. "1",
  9. "login_required_true_if_loggedin",
  10. "0",
  11. "https://ssl-ccstatic.highwebmedia.com/flash/playerProductInstall.swf",
  12. "jimgreenobigcock",
  13. "$.mydefchatconn('join_group_show')",
  14. "$.mydefchatconn('spy_on_private')",
  15. "registration_required()",
  16. "0",
  17. "https://ssl-ccstatic.highwebmedia.com/images/flashwatermark.png",
  18. "",
  19. "0a24e2765a87ac183397d064206cbc876336518d1d1bf203b94fff8eaeb36c781c0c85531925c1ce6e5aca882086992910c4d8db0ae7307e50acc683f0cf2593",
  20. "629ae10ed45d1a1381500eb0a31dd171f63f1fc7b492039b5261775cb787a186",
  21. "0",
  22. "100",
  23. "1",
  24. "{\u0022username\u0022:\u0022jimgreenobigcock\u0022,\u0022org\u0022:\u0022ATL\u0022,\u0022expire\u0022:1499897655,\u0022sig\u0022:\u0022cdf7f07f2e2f104449bc977ac425d3eca063eeb7034a1bf917e2583917edb6b3\u0022,\u0022room\u0022:\u0022jimgreenobigcock\u0022}",
  25. "0"
  26. );
  27. } else {
  28. /*jslint browser: true*/
  29. 'use strict';
  30. var STALLED_SECS = 3; //seconds before we consider hls stalled
  31. var SUPER_STALLED_SECS = 7;
  32. var lastOnTimeUpdate, lastCurrentTime;
  33. var monitorMs = 1000;
  34. var RELOAD_INTERVAL_SEC = 13; //interval between reloads
  35. var PAUSE_PLAY_INTERVAL_SEC = 10; //interval between pause play
  36. var lastReloadTime, hlsPlayer, edgeSrc, lastPausePlayTime, lastOnWaitingTime, firstOnWaitingTime;
  37. var ON_WAITING_RESET_SEC = 30;
  38. var MAX_ON_WAITING_SEC = 60;
  39.  
  40. function getCurrentTimeSec() {
  41. return new Date().getTime() / 1000.0;
  42. }
  43.  
  44. function initSettings() {
  45. lastOnTimeUpdate = getCurrentTimeSec();
  46. lastCurrentTime = 0;
  47. }
  48.  
  49. function onWaiting() {
  50. var curTime = getCurrentTimeSec();
  51.  
  52. if (curTime - lastOnWaitingTime >= ON_WAITING_RESET_SEC || edgeSrc == '') {
  53. firstOnWaitingTime = curTime;
  54. }
  55. lastOnWaitingTime = curTime; };
  56. hlsPlayer.onwaiting = onWaiting;
  57. }
  58.  
  59. if ('true' == 'True'){
  60. if ('== '=='True') {
  61. handle_room_status_change_if_non_flash('show', '');
  62. }
  63. } else if ('='= '= 'True') {
  64. handle_room_status_change_if_non_flash('public');
  65. }
  66. }
  67.  
  68. function isStalled() {
  69. hlsPlayer.setAttribute("controls", "controls");
  70. }
  71. }
  72. });
  73.  
  74. function monitorHls() {
  75. if (!defchat_settings || !hlsPlayer) {
  76. return;
  77. }
  78. if (isStalled()) {
  79. if (defchat_settings.handler.initializer.restricted_buffer_play_in_progress) {
  80. if (isSuperStalled()) {
  81. defchat_settings.handler.initializer.restricted_buffer_play_in_progress = true;
  82. if (defchat_settings.handler.initializer.model_status === 'away') {
  83. handle_room_status_change_if_non_flash(defchat_settings.handler.initializer.model_status);
  84. }
  85. return;
  86. }
  87. pausePlay();
  88. return;
  89. }
  90. if ((getCurrentTimeSec() - lastReloadTime) >= RELOAD_INTERVAL_SEC && isSuperStalled()) {
  91. lastReloadTime = getCurrentTimeSec();
  92. reloadHlsVideoAjax();
  93. return;
  94. }
  95. pausePlay();
  96. }
  97. }
  98.  
  99. window.loadHlsVideo = function (src) {
  100. edgeSrc = src;
  101. initSettings();
  102. if (src === '') {
  103. hlsPlayer.pause();
  104. } else {
  105. if (window.jsplayer) {
  106. window.jsplayer.src(src);
  107. } else {
  108. hlsPlayer.src = src;
  109. }
  110. hlsPlayer.play();
  111. }
  112. };
  113.  
  114. window.getCurrentEdge = function () {
  115. var items = edgeSrc.split('/');
  116. if (items.length >= 3) {
  117. return items[2];
  118. }
  119. return '';
  120. };
  121.  
  122. window.getEdgeHlsUrlAjax = function () {
  123. return "/get_edge_hls_url_ajax/";
  124. };
  125.  
  126. setInterval(monitorHls, monitorMs);
  127. var edgeVideoJs = (String(navigator.userAgent).indexOf('Edge') >= 0 && Hls.isSupported());
  128. var xbox = (String(navigator.userAgent).indexOf('Xbox') >= 0);
  129.  
  130. if (xbox || ((window.canhls == 'maybe' || window.canhls == 'probably') && !edgeVideoJs)) {
  131. var posterUrl = 'https://cbjpeg.stream.highwebmedia.com/stream?room=jimgreenobigcock&f=' + Math.random();
  132. var html = "<div id='still_video' style='display: none'>";
  133. html += "<video id='still_video_object' muted ";
  134. html += "src='https://edge43.stream.highwebmedia.com/live-edge/jimgreenobigcock-sd-3589950bab0cda24475c5fbedf49ba11e2f0fcf086dceb5546be04d1462d6f4f_fast_aac/playlist.m3u8?rp=629ae10ed45d1a1381500eb0a31dd171f63f1fc7b492039b5261775cb787a186&amp;u=jimgreenobigcock&amp;t=%7B%22username%22%3A%22jimgreenobigcock%22%2C%22org%22%3A%22ATL%22%2C%22expire%22%3A1499897655%2C%22sig%22%3A%22cdf7f07f2e2f104449bc977ac425d3eca063eeb7034a1bf917e2583917edb6b3%22%2C%22room%22%3A%22jimgreenobigcock%22%7D' poster='" + posterUrl + "'";
  135. html += "width='498px' height='407px'";
  136. html += "webkit-playsinline playsinline autoplay></video></div>";
  137. $('#still_video_container').html(html);
  138. $('#still_video').show();
  139. if {
  140. resizable_player.init('0' == '1', true);
  141. }
  142. initHlsPlayer($('#still_video_object')[0], 'https://edge43.stream.highwebmedia.com/live-edge/jimgreenobigcock-sd-3589950bab0cda24475c5fbedf49ba11e2f0fcf086dceb5546be04d1462d6f4f_fast_aac/playlist.m3u8?rp=629ae10ed45d1a1381500eb0a31dd171f63f1fc7b492039b5261775cb787a186&amp;u=jimgreenobigcock&amp;t=%7B%22username%22%3A%22jimgreenobigcock%22%2C%22org%22%3A%22ATL%22%2C%22expire%22%3A1499897655%2C%22sig%22%3A%22cdf7f07f2e2f104449bc977ac425d3eca063eeb7034a1bf917e2583917edb6b3%22%2C%22room%22%3A%22jimgreenobigcock%22%7D');
  143.  
  144. if ('true' != 'True') {
  145. $('#hls_stream_source_overlay').show();
  146. } else {
  147. $('#hls_stream_source_overlay').data('transcoding',true);
  148. }
  149. } else if (Hls.isSupported()) {
  150. var posterUrl = 'https://cbjpeg.stream.highwebmedia.com/stream?room=jimgreenobigcock&f=' + Math.random();
  151. var html = "<div id='still_video2' style='display: none'>";
  152. html += "<video id='still_video_object' ";
  153. html += "class='video-js vjs-default-skin vjs-4-3' "
  154. html += "controls muted poster='" + posterUrl + "' ";
  155. html += "webkit-playsinline playsinline autoplay><source src='https://edge43.stream.highwebmedia.com/live-edge/jimgreenobigcock-sd-3589950bab0cda24475c5fbedf49ba11e2f0fcf086dceb5546be04d1462d6f4f_fast_aac/playlist.m3u8?rp=629ae10ed45d1a1381500eb0a31dd171f63f1fc7b492039b5261775cb787a186&amp;u=jimgreenobigcock&amp;t=%7B%22username%22%3A%22jimgreenobigcock%22%2C%22org%22%3A%22ATL%22%2C%22expire%22%3A1499897655%2C%22sig%22%3A%22cdf7f07f2e2f104449bc977ac425d3eca063eeb7034a1bf917e2583917edb6b3%22%2C%22room%22%3A%22jimgreenobigcock%22%7D' type='application/x-mpegURL' ></video></div>";
  156. $('#still_video_container').html(html);
  157.  
  158. var video = document.getElementById('still_video_object');
  159. window.jsplayer = videojs(video, {
  160. autoplay: true,
  161. html5: {
  162. hlsjsConfig: {
  163. debug: true
  164. }
  165. },
  166. controlBar: {
  167. playToggle: true,
  168. progressControl: true,
  169. remainingTimeDisplay: true,
  170. durationDisplay: true,
  171. currentTimeDisplay: true,
  172. timeDivider: true
  173. }
  174. });
  175. window.jsplayer.qualityPickerPlugin();
  176. initHlsPlayer(jsplayer, 'https://edge43.stream.highwebmedia.com/live-edge/jimgreenobigcock-sd-3589950bab0cda24475c5fbedf49ba11e2f0fcf086dceb5546be04d1462d6f4f_fast_aac/playlist.m3u8?rp=629ae10ed45d1a1381500eb0a31dd171f63f1fc7b492039b5261775cb787a186&amp;u=jimgreenobigcock&amp;t=%7B%22username%22%3A%22jimgreenobigcock%22%2C%22org%22%3A%22ATL%22%2C%22expire%22%3A1499897655%2C%22sig%22%3A%22cdf7f07f2e2f104449bc977ac425d3eca063eeb7034a1bf917e2583917edb6b3%22%2C%22room%22%3A%22jimgreenobigcock%22%7D');
  177.  
  178. $('#still_video2').show();
  179. if {
  180. resizable_player.init('0' == '1', true);
  181. resizable_player.control_bar_height = 0;
  182.  
  183. }
  184. if ('true'=' '=''True') {
  185. $('#hls_stream_source_overlay').show();
  186. } else {
  187. $('#hls_stream_source_overlay').data('transcoding',true);
  188. }
  189. } else {
  190. //js fallback
  191.  
  192. }
  193. }
  194.  
  195.  
  196. if (typeof resizable_player "undefined") {
  197. resizable_player.set_resolution_to_max();
  198. } {
  199. $.mydefchatconn('scroll_chat_into_view');
  200. }
  201. $(window).bind('resize', function (event) {
  202. if (this == event.target) {
  203. if (typeof resizable_player 'o='= '1'"undefined") {
  204. resizable_player.set_resolution_to_max();
  205. }
  206. }
  207. });
  208.  
  209.  
  210. });
  211.  
  212. </script>
  213. </body>
  214. </html>
  215. "/get_edge_hls_url_ajax/";
  216. };
  217.  
  218. setInterval(monitorHls, monitorMs); var edgeVideoJs = (String(navigator.userAgent).indexOf('Edge') >= 0 && Hls.isSupported()); var xbox = (String(navigator.userAgent).indexOf('Xbox') >= 0);
  219. && edgeVideoJs)) { var posterUrl = 'https://cbjpeg.stream.highwebmedia.com/stream?room=jimgreenobigcock&f=' + Math.random(); var html = "<div id='still_video' style='display: show'>"; html += "<video id='still_video_object'embed_sound=1"; html += "src='https://edge43.stream.highwebmedia.com/live-edge/jimgreenobigcock-sd-3589950bab0cda24475c5fbedf49ba11e2f0fcf086dceb5546be04d1462d6f4f_fast_aac/playlist.m3u8?rp=629ae10ed45d1a1381500eb0a31dd171f63f1fc7b492039b5261775cb787a186&amp;u=jimgreenobigcock&amp;t=%7B%22username%22%3A%22jimgreenobigcock%22%2C%22org%22%3A%22ATL%22%2C%22expire%22%3A1499897334%2C%22sig%22%3A%2245c9a7753ca81f2035e3c19b1dced1263f0a7350465ac260316015d0a86b5a16%22%2C%22room%22%3A%22jimgreenobigcock%22%7D' poster='" + posterUrl + "'"; html += "width='498px' height='407px'"; html += "webkit-playsinline playsinline autoplay></video></div>"; $('#still_video_container').html(html); $('#still_video').show(); if { resizable_player.init('0' == '1', true); } initHlsPlayer($('#still_video_object')[0], 'https://edge43.stream.highwebmedia.com/live-edge/jimgreenobigcock-sd-3589950bab0cda24475c5fbedf49ba11e2f0fcf086dceb5546be04d1462d6f4f_fast_aac/playlist.m3u8?rp=629ae10ed45d1a1381500eb0a31dd171f63f1fc7b492039b5261775cb787a186&amp;u=jimgreenobigcock&amp;t=%7B%22username%22%3A%22jimgreenobigcock%22%2C%22org%22%3A%22ATL%22%2C%22expire%22%3A1499897334%2C%22sig%22%3A%2245c9a7753ca81f2035e3c19b1dced1263f0a7350465ac260316015d0a86b5a16%22%2C%22room%22%3A%22jimgreenobigcock%22%7D');
  220. if ('true' != 'True') {
  221. $('#hls_stream_source_overlay').show();
  222. } else {
  223. $('#hls_stream_source_overlay').data('transcoding',true);
  224. } } else if (Hls.isSupported()) { var posterUrl = 'https://cbjpeg.stream.highwebmedia.com/stream?room=jimgreenobigcock&f=' + Math.random(); var html = "<div id='still_video2' style='display: none'>"; html += "<video id='still_video_object' "; html += "class='video-js vjs-default-skin vjs-4-3' " html += "controls muted poster='" + posterUrl + "' "; html += "webkit-playsinline playsinline autoplay><source src='https://edge43.stream.highwebmedia.com/live-edge/jimgreenobigcock-sd-3589950bab0cda24475c5fbedf49ba11e2f0fcf086dceb5546be04d1462d6f4f_fast_aac/playlist.m3u8?rp=629ae10ed45d1a1381500eb0a31dd171f63f1fc7b492039b5261775cb787a186&amp;u=jimgreenobigcock&amp;t=%7B%22username%22%3A%22jimgreenobigcock%22%2C%22org%22%3A%22ATL%22%2C%22expire%22%3A1499897334%2C%22sig%22%3A%2245c9a7753ca81f2035e3c19b1dced1263f0a7350465ac260316015d0a86b5a16%22%2C%22room%22%3A%22jimgreenobigcock%22%7D' type='application/x-mpegURL' ></video></div>"; $('#still_video_container').html(html);
  225. var video = document.getElementById('still_video_object'); window.jsplayer = videojs(video, { autoplay: true, html5: { hlsjsConfig: { debug: true} }, controlBar: { playToggle: true, progressControl: true, remainingTimeDisplay: true, durationDisplay: true, currentTimeDisplay: true, timeDivider: true } }); window.jsplayer.qualityPickerPlugin(); initHlsPlayer(jsplayer, 'https://edge43.stream.highwebmedia.com/live-edge/jimgreenobigcock-sd-3589950bab0cda24475c5fbedf49ba11e2f0fcf086dceb5546be04d1462d6f4f_fast_aac/playlist.m3u8?rp=629ae10ed45d1a1381500eb0a31dd171f63f1fc7b492039b5261775cb787a186&amp;u=jimgreenobigcock&amp;t=%7B%22username%22%3A%22jimgreenobigcock%22%2C%22org%22%3A%22ATL%22%2C%22expire%22%3A1499897334%2C%22sig%22%3A%2245c9a7753ca81f2035e3c19b1dced1263f0a7350465ac260316015d0a86b5a16%22%2C%22room%22%3A%22jimgreenobigcock%22%7D');
  226. $('#still_video2').show(); if { resizable_player.init('0' == '1', true); resizable_player.control_bar_height = 0; } if ('true' != 'True') {
  227. $('#hls_stream_source_overlay').show();
  228. } else {
  229. $('#hls_stream_source_overlay').data('transcoding',true);
  230. } } else { //js fallback
  231. }
  232. }
  233.  
  234.  
  235. if (typeof resizable_player != "undefined") { resizable_player.set_resolution_to_max();
  236. }
  237. if (typeof $.mydefchatconn != "undefined") { $.mydefchatconn('scroll_chat_into_view');
  238. }
  239. $(window).bind('resize', function (event) { if (this == event.target) { if (typeof resizable_player != "undefined") { resizable_player.set_resolution_to_max(); } }
  240. });
  241.  
  242.  
  243. });
  244.  
  245. </script>
  246.  
  247.  
  248. </div><div id="SwfStore_ogcamsite818_0" style="left: -2000px; top: -2000px; position: absolute;"><object width="500" height="100" id="SwfStore_ogcamsite818_1" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"><param name="movie" value="/static/javascript-flash-cookies/storage.swf"><param name="FlashVars" value="namespace=ogcamsite818"><param name="allowScriptAccess" value="always"><embed name="SwfStore_ogcamsite818_1" width="500" height="375" align="middle" pluginspage="https://www.macromedia.com/go/getflashplayer" src="/static/javascript-flash-cookies/storage.swf" type="application/x-shockwave-flash" bgcolor="#ffffff" play="true" loop="true" quality="high" allowscriptaccess="always" flashvars="namespace=ogcamsite818"></object></div></body></html>/http://chaturbate.com/affiliates/...png..>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement