Advertisement
jimgreeno

Untitled

May 16th, 2018
1,192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 35.41 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <title>Free Live Adult Chat - Broadcast, Watch &amp; Chat FREE on chaturbate.com</title>
  6. <link rel="stylesheet" href="https://ssl-ccstatic.highwebmedia.com/CACHE/css/f8a33e9a56a9.css" type="text/css" media="all" />
  7. <style>
  8.   body, div#main, div.content, div.block, div.section {margin: 0px; padding: 0px;}
  9.   body {min-width:800px;}
  10.   div.content {width: 100%;}
  11.  
  12.   body {background: transparent;}
  13.  
  14.   </style>
  15. <link media="all" rel="stylesheet" href="https://ssl-ccstatic.highwebmedia.com/css/login_overlay.css" type="text/css" />
  16. </head>
  17. <body>
  18. <a href="https://chaturbate.com/play_w_marcy/" target="&lt;?php //* if ($foo) { echo $bar"><div id="embed_overlay"></div></a>
  19. <style>
  20.         #embed_overlay {
  21.             position: absolute;
  22.             top: 0;
  23.             left: 0;
  24.             bottom: 0;
  25.             right: 0;
  26.             z-index: 999;
  27.         }
  28.     </style>
  29. <div>
  30. <div>
  31. <div>
  32. <div class="section" style="height: 100%">
  33. <div class="video-box-embed">
  34. <div id='player' style=" width:100%; height: 100%;">
  35. <a href="#" id="hls_stream_source_overlay" class="hidden_by_default show_source_overlay" style="display: none">HI BW</a>
  36. <script type="text/javascript">
  37.     window.broadcaster = 'play_w_marcy';
  38. </script>
  39. <style>
  40.     #hls_stream_source_overlay {
  41.         position: absolute;
  42.         top: 76px;
  43.         right: 8px;
  44.         background-color: #000;
  45.         opacity: 0.2;
  46.         z-index: 107;
  47.         color: #fff;
  48.         padding: 8px 8px 7px;
  49.         font-size: 16px;
  50.         line-height: 16px;
  51.         border-radius: 2px;
  52.         width: 60px;
  53.         text-align: center;
  54.     }
  55.     #hls_stream_source_overlay:hover {
  56.         text-decoration: none;
  57.     }
  58. </style>
  59. <div id='still_video_container'></div>
  60. <div id='movie' style="text-align: center;">
  61. <noscript>
  62.                     <br>
  63.                     <br>
  64.                     <strong>JavaScript is required. Please enable JavaScript in your browser settings.</strong>
  65.                 </noscript>
  66. </div>
  67. <div id="player_text_container" style="display: none;">
  68. <h1 id="player_text_header"></h1>
  69. <p id="player_text_body"></p>
  70. <a id="enter_password_link" href="/embed/play_w_marcy/" style="display: none;">ENTER PASSWORD</a>
  71. </div>
  72. </div>
  73. </div>
  74. </div>
  75. </div>
  76. </div>
  77. <script type="text/javascript" src="/jsi18n/"></script>
  78. <script type="text/javascript">
  79.     var js_error_post_url = "/debug_tools/javascript_errors_post/",
  80.             js_error_report_on = "False" == "True",
  81.             js_error_report_version = "V1.3";
  82. </script>
  83. <script type="text/javascript" src="https://ssl-ccstatic.highwebmedia.com/CACHE/js/9052cc611e70.js"></script>
  84. <script type="text/javascript" src="https://ssl-ccstatic.highwebmedia.com/CACHE/js/1e9c0fd85ec5.js"></script>
  85. <script type='text/javascript'>
  86. $.facebox.settings.loadingImage = 'https://ssl-ccstatic.highwebmedia.com/facebox/loading.gif';
  87. $.facebox.settings.closeImage = 'https://ssl-ccstatic.highwebmedia.com/facebox/closelabel.png';
  88. $(document).ready(function() {
  89.   $('.purchase_tokens a, a.purchase_tokens').click(function() {
  90.     var popupwindow = window.open("/tipping/purchase_tokens/", '_blank',
  91.             'status=0,toolbar=0,menubar=0,directories=0,resizable=1,' +
  92.                     'scrollbars=1,height=615,width=850');
  93.     popupwindow.focus();
  94.     return false;
  95.   });
  96.   $('.increase_limits a, a.increase_limits').click(function() {
  97.     var popupwindow = window.open("/tipping/purchase_tokens/increase_limits/", '_blank',
  98.             'status=0,toolbar=0,menubar=0,directories=0,resizable=1,' +
  99.                     'scrollbars=1,height=615,width=850');
  100.     popupwindow.focus();
  101.     return false;
  102.   });
  103. });
  104.  
  105.  
  106. $.ajaxSetup ({
  107.     // Disable caching of AJAX responses
  108.     cache: false
  109. });
  110.  
  111.  
  112.  
  113.  
  114. $(document).ready(function(){
  115.   var mySwfStore = new SwfStore({
  116.     namespace: 'ogcamsite818',
  117.     swf_url: '/static/javascript-flash-cookies/storage.swf',
  118.     debug: false,
  119.     onready: function() {
  120.      
  121.         link_accounts();
  122.      
  123.     }
  124.   });
  125.   function should_link_accounts(){
  126.     var latest_username = $.cookie('latest_linked_username');
  127.     if (latest_username == null){
  128.         return true;
  129.     }
  130.     if (latest_username != 'jimgreenobigcock'){
  131.         return true;
  132.     }
  133.     var latest_update = $.cookie('latest_linked_timestamp');
  134.     if (latest_update == null){
  135.         return true;
  136.     }
  137.     var msecs = new Date().getTime() - latest_update;
  138.     return msecs > (60*20*1000);
  139.   }
  140.  
  141.   function csrfSafeMethod(method) {
  142.       return (/^(GET|HEAD|OPTIONS|TRACE)$/.test(method));
  143.   }
  144.   $.ajaxSetup({
  145.       crossDomain: false,
  146.       beforeSend: function(xhr, settings) {
  147.           if (!csrfSafeMethod(settings.type)) {
  148.               xhr.setRequestHeader("X-CSRFToken", $.cookie('csrftoken'));
  149.           }
  150.       }
  151.   });
  152.  
  153.     function link_accounts() {
  154.         if (!should_link_accounts()){
  155.             return false;
  156.         }
  157.         var oldval = mySwfStore.get('usernames2');
  158.         if (oldval == null | oldval == '') {
  159.             var usernames = ["jimgreenobigcock"];
  160.         } else {
  161.             var usernames = oldval.split(',');
  162.             var foundcurrent = false;
  163.             $.each(usernames, function (key, username) {
  164.                 if (username != "jimgreenobigcock") {
  165.                     setTimeout(function () {
  166.                         $.post("/accounts/linkaccounts/", {
  167.                             'username': username,
  168.                             'token': 'fc7dc4ca168a55af1c4ec1814c7736b6b24cb640a7c3d753ca452544f017decc',
  169.                             'expiration': '1526503027'
  170.                         });
  171.                     }, ((key + 1) * 100));
  172.                 } else {
  173.                     foundcurrent = true;
  174.                 }
  175.             });
  176.             if (!foundcurrent) {
  177.                 usernames.push("jimgreenobigcock");
  178.             }
  179.         }
  180.         mySwfStore.set('usernames2', usernames.join(','));
  181.         $.cookie('latest_linked_timestamp', new Date().getTime(), {expires: 1, path: '/'});
  182.         $.cookie('latest_linked_username', 'jimgreenobigcock', {expires: 1, path: '/'});
  183.     }
  184. });
  185.  
  186. function recordOutboundLink(link, category, action) {
  187.   try {
  188.     var myTracker=_gat._getTrackerByName();
  189.     _gaq.push(['_trackEvent', category ,  action ]);
  190.     setTimeout('document.location = "' + link.href + '"', 100)
  191.   }catch(err){}
  192. }
  193.  
  194. $(document).ready(function(){
  195.     var achdismisscookie = $.cookie('ach_dismiss_jimgreenobigcock');
  196.     if (!achdismisscookie) {
  197.         $('#direct_deposit_warning').show();
  198.         $('#direct_deposit_warning a.dismiss').click(function() {
  199.             $('#direct_deposit_warning').hide();
  200.             $.cookie('ach_dismiss_jimgreenobigcock', 1, 31557600);
  201.         });
  202.     }
  203.  
  204.     $('.mobile_site_redirect').click(function () {
  205.         $.cookie('mobile_redirect', null, { expires: 1, path: '/', domain: 'chaturbate.com'});
  206.     });
  207.  
  208.     $('.top_alert_close').click(function () {
  209.         var date = new Date();
  210.         date.setTime(date.getTime() + (18 * 60 * 60 * 1000)); // 18 hours
  211.         $.cookie('mobile_redirect_hide', 'true', { expires: date, path: '/', domain: 'chaturbate.com'});
  212.         $('.top_alert').hide();
  213.     });
  214. });
  215.  
  216. if ($.fn.hasOwnProperty('live')) {
  217.     $.fn.on = $.fn.live;
  218. } else {
  219.     $.fn.live = $.fn.on;
  220. }
  221.  
  222. </script>
  223. <script type="text/javascript">
  224.   var nextroomurl = "/next/play_w_marcy/";
  225.   var previousroomurl = "/prev/play_w_marcy/";
  226.   var timeoutscanningurl = "/scanning/timeout/";
  227.   var flickering_chrome_flash = "";
  228. </script>
  229. <script type="text/javascript" src="https://ssl-ccstatic.highwebmedia.com/CACHE/js/918cfb6d5419.js"></script>
  230. <script type="text/javascript" src="https://ssl-ccstatic.highwebmedia.com/CACHE/js/9ab5796dc576.js"></script>
  231. <script type="text/javascript" src="https://ssl-ccstatic.highwebmedia.com/CACHE/js/47c877e3e79f.js"></script>
  232. <script type="text/javascript" src="https://ssl-ccstatic.highwebmedia.com/CACHE/js/d472b2fc0977.js"></script>
  233. <script type="text/javascript" src="https://ssl-ccstatic.highwebmedia.com/CACHE/js/6e85f4a69ee3.js"></script>
  234. <script type="text/javascript" src="https://ssl-ccstatic.highwebmedia.com/CACHE/js/bbb103ea9b7b.js"></script>
  235. <script type="text/javascript" src="https://ssl-ccstatic.highwebmedia.com/CACHE/js/c9c758bf18f5.js"></script>
  236. <script>
  237.     function login_required() {
  238.       if (!is_logged_in()) {
  239.         $.show_login_box();
  240.         return true;
  241.       } else {
  242.         return false;
  243.       }
  244.     }
  245.  
  246.     function registration_required() {
  247.       if (!is_logged_in()) {
  248.         window.location.href = "/accounts/register/";
  249.         return true;
  250.       } else {
  251.         return false;
  252.       }
  253.     }
  254.  
  255.     function login_required_true_if_loggedin() {
  256.  
  257.       return true;
  258.     }
  259.  
  260.     function is_logged_in() {
  261.      
  262.       return true;
  263.      
  264.     }
  265.  
  266. </script>
  267. <form id="ignore_user_form" style="display: none">
  268. <input type='hidden' name='csrfmiddlewaretoken' value='cWkzByP0SQCjp5PzyUUaGVAPIv8Ad7Jl' />
  269. <input id="ignore_user_form_username" type="hidden" name="username" value="" />
  270. <input id="ignore_user_form_remove" type="hidden" name="remove" value="" />
  271. </form>
  272. <form id="change_title_form" style="display: none">
  273. <input type='hidden' name='csrfmiddlewaretoken' value='cWkzByP0SQCjp5PzyUUaGVAPIv8Ad7Jl' />
  274. <input id="change_title_form_room_slug" type="hidden" name="room_slug" value="" />
  275. <input id="change_title_form_subject" type="hidden" name="subject" value="" />
  276. </form>
  277. <form id="get_chat_user_list_form" style="display: none" action="/api/getchatuserlist/">
  278. <input type='hidden' name='csrfmiddlewaretoken' value='cWkzByP0SQCjp5PzyUUaGVAPIv8Ad7Jl' />
  279. <input id="get_chat_user_list_form_room_sort_by" type="hidden" name="sort_by" value="" />
  280. <input id="get_chat_user_list_form_room_roomname" type="hidden" name="roomname" value="" />
  281. <input id="get_chat_user_list_form_room_private" type="hidden" name="private" value="" />
  282. </form>
  283. <script type='text/javascript'>
  284. $(document).ready(function() {
  285.     $.ajax({
  286.         url: '/get_emoticon_abuses/'
  287.     }).success(function(data) {
  288.         defchat_settings.ignored_emoticons = data['ignored_emoticons'];
  289.     });
  290.     var report_emoticon = $('#report_emoticon');
  291.     var abuse_link = $('.report_abuse_link');
  292.     $('.facebox_link').live('mousedown', function() {
  293.         var image_url = $(this).find('input[name=image_url]').val();
  294.         var report_url = $(this).find('input[name=report_url]').val();
  295.         var title = $(this).find('img').attr('title');
  296.         report_emoticon.find('img').attr({'src': image_url, 'title': title});
  297.         abuse_link.attr('href', report_url);
  298.        
  299.             $('.pre_link').hide();
  300.             if ($.inArray(title.substring(1), defchat_settings.ignored_emoticons) >= 0) {
  301.                 abuse_link.text('UNDO').before('<span class="pre_link">EMOTICON REPORTED - </span>');
  302.             } else {
  303.                 abuse_link.text('REPORT EMOTICON');
  304.             }
  305.        
  306.     });
  307.     abuse_link.live('click', function(e) {
  308.         e.preventDefault();
  309.         if ($(this).text() == 'UNDO') {
  310.             $('.button_abuse_report a').last().click();
  311.         } else {
  312.             $(this).hide();
  313.             $('#facebox .emoticon_abuse_categories').show();
  314.         }
  315.     });
  316.     $('.button_abuse_cancel a').live('click', function(e) {
  317.         e.preventDefault();
  318.         $(this).parent().parent().hide();
  319.         $('#facebox .report_abuse_link').show();
  320.     });
  321.     $('.button_abuse_report a').live('click', function(e) {
  322.         e.preventDefault();
  323.         $(this).parent().parent().hide();
  324.         var link = $('#facebox .report_abuse_link');
  325.         var slug = link.parent().find('img').attr('title');
  326.         $.ajax({
  327.             url: link.attr('href'),
  328.             data: {'category': $('.abuse_category').last().val()}
  329.         }).success(function(response) {
  330.             var img = $('.chat-list img[title="' + slug + '"]');
  331.             var facebox_img = $('#facebox').find('.content').find('img');
  332.             if (response == 'reported') {
  333.                 link.text('UNDO').before('<span>EMOTICON REPORTED - </span>');
  334.                 img.hide();
  335.                 if (img.parent().find('.emoticon_slug:visible').length == 0) {
  336.                     img.parent().append('<span class="emoticon_slug">' + slug + '</span>');
  337.                 }
  338.                 defchat_settings.ignored_emoticons.push(slug.substring(1));
  339.                 facebox_img.hide();
  340.                 facebox_img.after('<div id="img_placeholder" style="position: relative; display: inline-block; width: ' + facebox_img.width() + 'px; height: ' + facebox_img.height() + 'px;"></div>')
  341.             } else if (response == 'undone') {
  342.                 link.prev().hide();
  343.                 link.text('REPORT EMOTICON');
  344.                 if (defchat_settings.show_emoticons) {
  345.                     img.parent().find('.emoticon_slug').hide();
  346.                     img.show();
  347.                 }
  348.                 $('#img_placeholder').remove();
  349.                 facebox_img.show();
  350.                 defchat_settings.ignored_emoticons.pop(slug.substring(1));
  351.             }
  352.         });
  353.         link.show();
  354.     });
  355.  
  356.     function validateAbuseReportForm() {
  357.         var category = $('#id_abuse_category_select').val();
  358.         var comments = $('#id_additional_comments').val();
  359.         var button = $('#abuse_report_button');
  360.         var label = $('#comments_required');
  361.         if (category == 'other' && comments.length < 3) {
  362.            button.parent().removeClass('button_abuse_report');
  363.             button.parent().addClass('button_abuse_cancel');
  364.             label.show();
  365.         } else {
  366.             button.parent().addClass('button_abuse_report');
  367.             button.parent().removeClass('button_abuse_cancel');
  368.             label.hide();
  369.         }
  370.     }
  371.     $('#id_additional_comments, #id_abuse_category_select').live('change keyup', function() {
  372.         validateAbuseReportForm();
  373.     });
  374.  
  375.     var broadcaster_rating = $('#broadcaster_rating');
  376.     var broadcaster_rating_tooltip = $('#broadcaster_rating_tooltip');
  377.     broadcaster_rating.live('mouseenter', function() {
  378.         broadcaster_rating_tooltip.show();
  379.     });
  380.     broadcaster_rating.live('mouseleave', function() {
  381.         broadcaster_rating_tooltip.hide();
  382.     });
  383.  
  384.     $('#id_tip_amount').live('keyup', function() {
  385.         var val = $.trim($(this).val());
  386.         if (new RegExp('^[1-9][0-9]*$').test(val)) {
  387.             $('#invalid_tip_message').hide();
  388.             $('#id_tip_message').removeClass('button_disabled');
  389.         } else {
  390.             $('#invalid_tip_message').show();
  391.             $('#id_tip_message').addClass('button_disabled');
  392.         }
  393.     });
  394.     $('#id_tip_message').live('click', function(e) {
  395.         if ($(this).hasClass('button_disabled')) {
  396.             e.preventDefault();
  397.         }
  398.     });
  399.  
  400.  
  401.   function log_presence() {
  402.     $.ajax({
  403.       url: '/contest/log/play_w_marcy/',
  404.       type: 'GET',
  405.       complete: schedule_log_presence,
  406.       timeout: 60000,
  407.       dataType: 'json',
  408.       success: function(data) {
  409.         $(".password_warning").html(data.password_warning);
  410.         if ($('#still_video').length >= 1) {
  411.           $('#still_video img:first').attr('src', data.image_url);
  412.         }
  413.         if (!data.can_access) {
  414.           window.location.reload();
  415.         }
  416.         if (data.has_warnings) {
  417.           window.onbeforeunload = function() {};
  418.           window.location = '/accounts/warnings/?next=/embed/play_w_marcy/';
  419.         }
  420.         if (data.is_banned) {
  421.           window.onbeforeunload = function() {};
  422.           window.location = '/';
  423.         }
  424.         var text = "FOLLOWED";
  425.         if (data.total_followed){
  426.            text += " ("+data.online_followed+"/"+data.total_followed+")";
  427.         }
  428.         $("a.followed").text(text);
  429.       }
  430.     });
  431.   }
  432.   function schedule_log_presence() {
  433.    
  434.       setTimeout(log_presence, 55000);
  435.    
  436.   }
  437.   schedule_log_presence();
  438.  
  439.  
  440.   $("#tooltip-subject").click(function(){
  441.        $(this).hide();
  442.        //$(".video-box .title").unbind('mouseenter mouseleave mouseover mouseout');
  443.        return $("#roomtitle").click();
  444.   });
  445.  
  446.   function parse_subject(newtext){
  447.       var temp_item = ('<span class="temp_item" style="display:none;">'+ newtext +'</span>');
  448.       $(temp_item).appendTo('body');
  449.       var w = $('span.temp_item').width();
  450.       $("span.temp_item").remove();
  451.       $("#tooltip-subject").html(newtext);
  452.       if ( w > $("#roomtitle").width() - 5){
  453.          $(".video-box .title").mouseover(
  454.            function(){
  455.                if($("#roomtitleform").is(":visible")==false){
  456.                   $("#tooltip-subject").show();
  457.                }
  458.             }
  459.          );
  460.          $(".video-box .title").mouseout(
  461.            function(){
  462.                $("#tooltip-subject").hide();
  463.             }
  464.          );
  465.          return newtext;
  466.  
  467.       }
  468.       $(".video-box .title").unbind('mouseenter mouseleave mouseover mouseout');
  469.       return newtext;
  470.   }
  471.  
  472.   function start_defchat() {
  473.     $.mydefchatconn = $("#defchat").defchat({
  474.       do_not_connect: "False" === "True",
  475.       embed_video_only: "1" === "1",
  476.       username: 'jimgreenobigcock',
  477.       password: '7c9215a970f2655ab50cd898cc542ab04800fdf663e44d6e698e11b48ebf20d8141065459d50855db6e8dd3e1abe18a573dfd14aea0c51dba64bbccc7d3ba7e6',
  478.       room_password: '5dedd55b6838adc82289f6c8ae5fad68a46c6956807e109e15db08666e1c6dc1',
  479.       edge_auth: '{\u0022username\u0022:\u0022jimgreenobigcock\u0022,\u0022org\u0022:\u0022PHX\u0022,\u0022expire\u0022:1526503047,\u0022sig\u0022:\u0022e41d23969e51a18aa5aaed86a52c4dff17b4e80e32d6b1b72af7703cfd6a484b\u0022,\u0022room\u0022:\u0022play_w_marcy\u0022}',
  480.       chat_host: 'rtmp://chatws17.highwebmedia.com/live-chat',
  481.       domain: 'highwebmedia.com',
  482.       parse_subject: parse_subject,
  483.       room: 'play_w_marcy@conference.highwebmedia.com',
  484.       private_room: 'play_w_marcy-private@conference.highwebmedia.com',
  485.       my_username: 'jimgreenobigcock',
  486.       handler: null,
  487.       site_name: 'Chaturbate',
  488.       support_email: 'support@chaturbate.com',
  489.       is_age_verified: '',
  490.       chat_settings_url: "/api/viewerchatsettings/play_w_marcy/",
  491.       force_handler: ws_handler,
  492.       wschat_host: 'https://chatws17.stream.highwebmedia.com/ws',
  493.       media_url: 'https://ssl-ccstatic.highwebmedia.com/',
  494.       hashtag_url: "/tag/",
  495.       broadcaster_gender: 'female',
  496.       emoticon_overlay_url: '/emoticon_overlay/',
  497.       change_room_title_url: '/api/change_room_title/',
  498.       tipping_current_tokens_url: '/tipping/current_tokens/',
  499.       subject: $('#roomtitle'),
  500.       default_subject: "flash%20%20ass%20%5B62%20tokens%20remaining%5D",
  501.       submenu_profile_url: '/accounts/submenuprofile/USERNAMESLUG/',
  502.       ban_url: '/roomban/USERNAMESLUG/play_w_marcy/',
  503.       silence_url: '/roomsilence/USERNAMESLUG/play_w_marcy/',
  504.      
  505.         allow_tipping: true,
  506.      
  507.      
  508.         is_broadcasting: false,
  509.      
  510.      
  511.         is_moderator: false,
  512.      
  513.      
  514.         scroll_on_load: false,
  515.      
  516.       add_moderator_url: '/addmoderator/USERNAMESLUG/play_w_marcy/',
  517.       remove_moderator_url: '/removemoderator/USERNAMESLUG/play_w_marcy/',
  518.       login_required_callback: login_required,
  519.       token_balance: 51,
  520.       is_private_show_owner: 0,
  521.       is_private_show_owner_url: "/tipping/is_private_show_owner/play_w_marcy/",
  522.       tipped_performer_last_24hrs: 0,
  523.       last_vote_in_past_24_hours: undefined,
  524.       min_tips_reqd_to_vote: 25,
  525.       interested_in: ['m','f','s','c'],
  526.       group_show_tokens_per_minute_url: "/tipping/group_show_tokens_per_minute/play_w_marcy/",
  527.       group_show_request_url: "/tipping/group_show_request/play_w_marcy/",
  528.       group_show_cancel_url: "/tipping/group_show_cancel/play_w_marcy/",
  529.       group_show_approve_url: "/tipping/group_show_approve/",
  530.       group_show_decline_url: "/tipping/group_show_decline/",
  531.       return_from_away_url: "/tipping/return_from_away/",
  532.       spy_on_private_show_tokens_per_minute_url: "/tipping/spy_on_private_show_tokens_per_minute/play_w_marcy/",
  533.       private_show_tokens_per_minute_url: "/tipping/private_show_tokens_per_minute/play_w_marcy/",
  534.       spy_on_private_show_request_url: "/tipping/spy_on_private_show_request/play_w_marcy/",
  535.       private_show_request_url: "/tipping/private_show_request/play_w_marcy/",
  536.       private_show_cancel_url: "/tipping/private_show_cancel/play_w_marcy/",
  537.       private_show_approve_url: "/tipping/private_show_approve/",
  538.       private_show_decline_url: "/tipping/private_show_decline/",
  539.       rate_model_url: "/tipping/rate_model/play_w_marcy/",
  540.       get_chat_user_menu_url: "/api/getchatusermenu/",
  541.       tips_in_last_24_url: "/tipping/tips_in_last_24/play_w_marcy/",
  542.       silence_broadcasters: "false",
  543.       show_emoticons: true,
  544.       emoticon_autocomplete_delay: '0',
  545.       users_that_can_chat: "all",
  546.       spy_on_cams_url: "/spy-on-cams/",
  547.       num_users_waiting_for_group_show: 0,
  548.       num_users_required_for_group_show: 2,
  549.       get_panel_url: "/api/panel/play_w_marcy/",
  550.       app_info_json: 'Tip Goal|/apps/app_details/tip-goal/?slot=0,Tip Menu Plus|/apps/app_details/tip-menu-plus/?slot=1,Lovense|/apps/app_details/lovense/?slot=2',
  551.       font_size: '16pt',
  552.       sort_users_key: 'a',
  553.       room_entry_for: 'org',
  554.       room_leave_for: 'org',
  555.       chat_ignore_list_url: '/chat_ignore_list/',
  556.       chat_mod_list_url: '/chat_mod_list/',
  557.       chat_fan_list_url: '/chat_fan_list/',
  558.       chat_geo_list_url: '/chat_geo_list/',
  559.       load_ignored_users: '',
  560.       initial_viewer_count: '',
  561.       private_price: '60',
  562.       group_price: '30',
  563.       spy_price: '0',
  564.      
  565.      
  566.       room_goal: {},
  567.        
  568.  
  569.          
  570.  welcome_warning: "To go to next room, press CTRL+/. To send a tip, press CTRL+S or type \u0026quot\u003B/tip 25\u0026quot\u003B. To disable emoticons or adjust autocomplete settings, click the \u0027Gear\u0027 tab above.\u003C/a\u003E", password_room_login_url: "/roomlogin/play_w_marcy/",
  571.       room_status: "public",
  572.       broadcaster_on_new_chat: "False" === "True"
  573.     });
  574.   }
  575.  
  576. start_defchat();$('.share_input').live('click', function() {
  577.   $(this).select();
  578. });
  579.  
  580. $("a.clear_all_banned_ips").live("click", function(){
  581.    $.post("/clear_banned_urls/play_w_marcy/", function(data){
  582.       if (data=='OK'){
  583.           var target = $("a.clear_all_banned_ips:first").parent().find(
  584.           "span.ban_result");
  585.           target.fadeIn(500).fadeOut(500).fadeIn(500).fadeOut(500).fadeIn(500).fadeOut(2000);
  586.       }
  587.    });
  588.    return false;
  589. });
  590.  
  591. $('.button_follow').hover(
  592.   function() {
  593.     $('.follow_tooltip').show();
  594.   },
  595.   function() {
  596.     $('.follow_tooltip').hide();
  597.   }
  598. );
  599. function hide_rating_ctrl_tooltips() {
  600.   $('#rate_dim_tooltip').hide();
  601.   $('#rate_tooltip').hide();
  602.   $('#rated_tooltip').hide();
  603. }
  604. $('#model_rating_ctrl_dim, #model_rating_ctrl_dim_with_scores').hover(
  605.   function() {
  606.     $('#rate_dim_tooltip').show();
  607.   },
  608.   hide_rating_ctrl_tooltips
  609. );
  610. $('#model_rating_ctrl, #model_rating_ctrl_with_scores').hover(
  611.   function() {
  612.     if (defchat_settings.last_vote_in_past_24_hours === undefined) {
  613.       $('#rate_tooltip').show();
  614.     } else {
  615.       $('#rated_tooltip').show();
  616.     }
  617.   },
  618.   hide_rating_ctrl_tooltips
  619. );
  620. });
  621. </script>
  622. <script>
  623.     var EMOTICON_AUTOCOMPLETE_API = 'https://emote.highwebmedia.com/autocomplete';
  624. </script>
  625. <script type="text/javascript" src="https://ssl-ccstatic.highwebmedia.com/CACHE/js/288cc0cc349b.js"></script>
  626. <script type="text/javascript" src="https://ssl-ccstatic.highwebmedia.com/CACHE/js/598b0ec26262.js"></script>
  627. <script type='text/javascript'>
  628.  
  629. $(document).ready(function() {
  630.   if (HasFlash() && ('False' == '' || 'False' == 'False')) {
  631.    EmbedViewerSwf(
  632.        "/static/flash/CBV_2p680.swf",
  633.        "play_w_marcy",
  634.        "edge175.stream.highwebmedia.com",
  635.        "/xml/viewer.xml",
  636.        "0",
  637.        "login_required_true_if_loggedin",
  638.        "0",
  639.        "https://ssl-ccstatic.highwebmedia.com/flash/playerProductInstall.swf",
  640.        "jimgreenobigcock",
  641.        "$.mydefchatconn('join_group_show')",
  642.        "$.mydefchatconn('spy_on_private')",
  643.        "registration_required()",
  644.        "0",
  645.        "https://ssl-ccstatic.highwebmedia.com/images/flashwatermark.png",
  646.        "",
  647.        "7c9215a970f2655ab50cd898cc542ab04800fdf663e44d6e698e11b48ebf20d8141065459d50855db6e8dd3e1abe18a573dfd14aea0c51dba64bbccc7d3ba7e6",
  648.        "5dedd55b6838adc82289f6c8ae5fad68a46c6956807e109e15db08666e1c6dc1",
  649.        "0",
  650.        "100",
  651.        "1",
  652.        "{\u0022username\u0022:\u0022jimgreenobigcock\u0022,\u0022org\u0022:\u0022PHX\u0022,\u0022expire\u0022:1526503047,\u0022sig\u0022:\u0022e41d23969e51a18aa5aaed86a52c4dff17b4e80e32d6b1b72af7703cfd6a484b\u0022,\u0022room\u0022:\u0022play_w_marcy\u0022}",
  653.        "0"
  654.    );
  655. } else {
  656.     /*jslint browser: true*/
  657. 'use strict';
  658. var STALLED_SECS = 3; //seconds before we consider hls stalled
  659. var SUPER_STALLED_SECS = 6;
  660. var lastOnTimeUpdate, lastCurrentTime;
  661. var monitorMs = 1000;
  662. var RELOAD_INTERVAL_SEC = 13;  //interval between reloads
  663. var PAUSE_PLAY_INTERVAL_SEC = 10;  //interval between pause play
  664. var lastReloadTime, hlsPlayer, edgeSrc, lastPausePlayTime, lastOnWaitingTime, firstOnWaitingTime;
  665. var ON_WAITING_RESET_SEC = 30;
  666. var MAX_ON_WAITING_SEC = 60;
  667.  
  668. function getCurrentTimeSec() {
  669.     return new Date().getTime() / 1000.0;
  670. }
  671.  
  672. function initSettings() {
  673.     lastOnTimeUpdate = getCurrentTimeSec();
  674.     lastCurrentTime = 0;
  675. }
  676.  
  677. function onWaiting() {
  678.     var curTime = getCurrentTimeSec();
  679.  
  680.     if (curTime - lastOnWaitingTime >= ON_WAITING_RESET_SEC || edgeSrc == '') {
  681.         firstOnWaitingTime = curTime;
  682.     }
  683.     lastOnWaitingTime = curTime;
  684.     if (firstOnWaitingTime == 0) {
  685.         firstOnWaitingTime = curTime;
  686.     }
  687.     if (curTime - firstOnWaitingTime >= MAX_ON_WAITING_SEC) {
  688.         firstOnWaitingTime = 0;
  689.         lastReloadTime = curTime;
  690.         reloadHlsVideoLowResAjax();
  691.     }
  692. }
  693.  
  694. function initHlsPlayer(player, src) {
  695.     hlsPlayer = player;
  696.     edgeSrc = src;
  697.     initSettings();
  698.     var curTime = getCurrentTimeSec();
  699.     lastReloadTime = curTime;
  700.     lastPausePlayTime = curTime;
  701.     lastOnWaitingTime = curTime;
  702.     firstOnWaitingTime = 0;
  703.     if (src === '') {
  704.         hlsPlayer.pause();
  705.     }
  706.  
  707.     if (window.jsplayer) {
  708.         hlsPlayer.on("timeupdate", function () {
  709.             if (lastCurrentTime !== hlsPlayer.currentTime()) {
  710.                 lastOnTimeUpdate = getCurrentTimeSec();
  711.             }
  712.             lastCurrentTime = hlsPlayer.currentTime();
  713.         });
  714.         hlsPlayer.on("waiting", onWaiting);
  715.  
  716.         hlsPlayer.muted($.cookie('cbv_hlsmute') === 'true'|| '0' == '1');
  717.         hlsPlayer.volume($.cookie('cbv_hlsvol') || 1);
  718.  
  719.         hlsPlayer.on("volumechange", function(){
  720.             $.cookie('cbv_hlsmute', this.muted(), {expires: 365, path: '/'});
  721.             $.cookie('cbv_hlsvol', this.volume(), {expires: 365, path: '/'});
  722.         });
  723.     } else {
  724.         hlsPlayer.muted = '0' == '1';
  725.         var playPromise = hlsPlayer.play()
  726.         if (playPromise !== undefined) {
  727.             playPromise["catch"](function() {
  728.                 hlsPlayer.muted = true;
  729.                 hlsPlayer.play();
  730.             });
  731.         } else if (hlsPlayer.paused) {
  732.             hlsPlayer.muted = true;
  733.             hlsPlayer.play();
  734.         }
  735.  
  736.         hlsPlayer.ontimeupdate = function () {
  737.             if (lastCurrentTime !== hlsPlayer.currentTime) {
  738.                 lastOnTimeUpdate = getCurrentTimeSec();
  739.             }
  740.             lastCurrentTime = hlsPlayer.currentTime;
  741.         };
  742.         hlsPlayer.onwaiting = onWaiting;
  743.     }
  744.  
  745.     if ('False' == 'True'){
  746.         if ('' != 'True') {
  747.             handle_room_status_change_if_non_flash('hidden', '');
  748.         }
  749.     } else if ('' != 'True') {
  750.         handle_room_status_change_if_non_flash('public');
  751.     }
  752. }
  753.  
  754. function isStalled() {
  755.     return (getCurrentTimeSec() - lastOnTimeUpdate) >= STALLED_SECS;
  756. }
  757.  
  758. function isSuperStalled() {
  759.     return (getCurrentTimeSec() - lastOnTimeUpdate) >= SUPER_STALLED_SECS;
  760. }
  761.  
  762. function pausePlay() {
  763.     if ((getCurrentTimeSec() - lastPausePlayTime) < PAUSE_PLAY_INTERVAL_SEC) {
  764.        return;
  765.    }
  766.    lastPausePlayTime = getCurrentTimeSec();
  767.    hlsPlayer.pause();
  768.    if (edgeSrc === '') {
  769.        return;
  770.    }
  771.    if (!window.jsplayer) {
  772.        hlsPlayer.removeAttribute("controls");
  773.    }
  774.    setTimeout(function () {
  775.        hlsPlayer.play();
  776.    }, 10);
  777. }
  778.  
  779. $('#still_video_object').on('click hover', function () {
  780.    if (!window.jsplayer) {
  781.        if (hlsPlayer && !hlsPlayer.hasAttribute("controls")) {
  782.            hlsPlayer.setAttribute("controls", "controls");
  783.        }
  784.    }
  785. });
  786.  
  787. function monitorHls() {
  788.    if (!defchat_settings || !hlsPlayer) {
  789.        return;
  790.    }
  791.    if (isStalled()) {
  792.        if (defchat_settings.handler.initializer.restricted_buffer_play_in_progress) {
  793.            if (isSuperStalled()) {
  794.                defchat_settings.handler.initializer.restricted_buffer_play_in_progress = false;
  795.                if (defchat_settings.handler.initializer.model_status === 'away') {
  796.                    handle_room_status_change_if_non_flash(defchat_settings.handler.initializer.model_status);
  797.                }
  798.                return;
  799.            }
  800.            pausePlay();
  801.            return;
  802.        }
  803.        if ((getCurrentTimeSec() - lastReloadTime) >= RELOAD_INTERVAL_SEC && isSuperStalled()) {
  804.            lastReloadTime = getCurrentTimeSec();
  805.             reloadHlsVideoAjax();
  806.             return;
  807.         }
  808.         pausePlay();
  809.     }
  810. }
  811.  
  812. window.loadHlsVideo = function (src) {
  813.     edgeSrc = src;
  814.     initSettings();
  815.     if (!src) {
  816.         if (window.jsplayer) {
  817.             window.jsplayer.src("");
  818.         }
  819.         hlsPlayer.pause();
  820.     } else {
  821.         if (window.jsplayer) {
  822.             window.jsplayer.src(src);
  823.         } else {
  824.             hlsPlayer.src = src;
  825.         }
  826.         hlsPlayer.play();
  827.     }
  828. };
  829.  
  830. window.getCurrentEdge = function () {
  831.     var items = edgeSrc.split('/');
  832.     if (items.length >= 3) {
  833.         return items[2];
  834.     }
  835.     return '';
  836. };
  837.  
  838. window.getEdgeHlsUrlAjax = function () {
  839.     return "/get_edge_hls_url_ajax/";
  840. };
  841.  
  842. setInterval(monitorHls, monitorMs);
  843.  
  844.     var xbox = (String(navigator.userAgent).indexOf('Xbox') >= 0);
  845.  
  846.     if (xbox || window.canhls == 'maybe' || window.canhls == 'probably') {
  847.         var posterUrl = 'https://cbjpeg.stream.highwebmedia.com/stream?room=play_w_marcy&f=' + Math.random();
  848.         var html = "<div id='still_video' style='display: none'>";
  849.        
  850.         html += "<video id='still_video_object' ";
  851.        html += "src='https://edge44.stream.highwebmedia.com/live-edge/amlst:play_w_marcy-sd-44345a837b98df72afa5440c1da19e419dd53b1b75f437b8e20f5c9658f2f287_trns_h264/playlist.m3u8?rp=5dedd55b6838adc82289f6c8ae5fad68a46c6956807e109e15db08666e1c6dc1&amp;u=jimgreenobigcock&amp;t=%7B%22username%22%3A%22jimgreenobigcock%22%2C%22org%22%3A%22PHX%22%2C%22expire%22%3A1526503047%2C%22sig%22%3A%22e41d23969e51a18aa5aaed86a52c4dff17b4e80e32d6b1b72af7703cfd6a484b%22%2C%22room%22%3A%22play_w_marcy%22%7D' poster='" + posterUrl + "'";
  852.        html += "width='498px' height='407px'";
  853.        html += "webkit-playsinline playsinline></video></div>";
  854.         $('#still_video_container').html(html);
  855.         $('#still_video').show();
  856.         if (typeof(resizable_player) != "undefined") {
  857.             resizable_player.init('0' == '1', true);
  858.         }
  859.         initHlsPlayer($('#still_video_object')[0], 'https://edge44.stream.highwebmedia.com/live-edge/amlst:play_w_marcy-sd-44345a837b98df72afa5440c1da19e419dd53b1b75f437b8e20f5c9658f2f287_trns_h264/playlist.m3u8?rp=5dedd55b6838adc82289f6c8ae5fad68a46c6956807e109e15db08666e1c6dc1&amp;u=jimgreenobigcock&amp;t=%7B%22username%22%3A%22jimgreenobigcock%22%2C%22org%22%3A%22PHX%22%2C%22expire%22%3A1526503047%2C%22sig%22%3A%22e41d23969e51a18aa5aaed86a52c4dff17b4e80e32d6b1b72af7703cfd6a484b%22%2C%22room%22%3A%22play_w_marcy%22%7D');
  860.  
  861.        if ('True' != 'True') {
  862. $('#hls_stream_source_overlay').show();
  863. } else {
  864. $('#hls_stream_source_overlay').data('transcoding',true);
  865. }
  866.     } else if (Hls.isSupported()) {
  867.         var posterUrl = 'https://cbjpeg.stream.highwebmedia.com/stream?room=play_w_marcy&f=' + Math.random();
  868.         var html = "<div id='still_video2' style='display: none'>";
  869.         html += "<video id='still_video_object' ";
  870.        html += "class='video-js vjs-default-skin vjs-4-3' "
  871.        html += "controls  poster='" + posterUrl + "' ";
  872.        html += "webkit-playsinline playsinline autoplay><source src='https://edge44.stream.highwebmedia.com/live-edge/amlst:play_w_marcy-sd-44345a837b98df72afa5440c1da19e419dd53b1b75f437b8e20f5c9658f2f287_trns_h264/playlist.m3u8?rp=5dedd55b6838adc82289f6c8ae5fad68a46c6956807e109e15db08666e1c6dc1&amp;u=jimgreenobigcock&amp;t=%7B%22username%22%3A%22jimgreenobigcock%22%2C%22org%22%3A%22PHX%22%2C%22expire%22%3A1526503047%2C%22sig%22%3A%22e41d23969e51a18aa5aaed86a52c4dff17b4e80e32d6b1b72af7703cfd6a484b%22%2C%22room%22%3A%22play_w_marcy%22%7D' type='application/x-mpegURL' ></video></div>";
  873.         $('#still_video_container').html(html);
  874.  
  875.         var video = document.getElementById('still_video_object');
  876.         window.jsplayer = videojs(video, {
  877.             autoplay: true,
  878.             html5: {
  879.                 hlsjsConfig: {
  880.                     debug: false,
  881.                     liveSyncDuration: 5,
  882.                     liveSyncDurationCount: undefined,
  883.                     liveDurationInfinity: Infinity,
  884.                     liveMaxLatencyDuration: 13,
  885.                     liveMaxLatencyDurationCount: undefined,
  886.                 }
  887.             },
  888.             controlBar: {
  889.                 playToggle: false,
  890.                 progressControl: false,
  891.                 remainingTimeDisplay: false,
  892.                 durationDisplay: false,
  893.                 currentTimeDisplay: false,
  894.                 timeDivider: false
  895.             }
  896.         });
  897.         window.jsplayer.qualityPickerPlugin();
  898.         initHlsPlayer(jsplayer, 'https://edge44.stream.highwebmedia.com/live-edge/amlst:play_w_marcy-sd-44345a837b98df72afa5440c1da19e419dd53b1b75f437b8e20f5c9658f2f287_trns_h264/playlist.m3u8?rp=5dedd55b6838adc82289f6c8ae5fad68a46c6956807e109e15db08666e1c6dc1&amp;u=jimgreenobigcock&amp;t=%7B%22username%22%3A%22jimgreenobigcock%22%2C%22org%22%3A%22PHX%22%2C%22expire%22%3A1526503047%2C%22sig%22%3A%22e41d23969e51a18aa5aaed86a52c4dff17b4e80e32d6b1b72af7703cfd6a484b%22%2C%22room%22%3A%22play_w_marcy%22%7D');
  899.  
  900.         $('#still_video2').show();
  901.         if (typeof(resizable_player) != "undefined") {
  902.             resizable_player.init('0' == '1', false);
  903.             resizable_player.control_bar_height = 0;
  904.            
  905.         }
  906.         if ('True' != 'True') {
  907. $('#hls_stream_source_overlay').show();
  908. } else {
  909. $('#hls_stream_source_overlay').data('transcoding',true);
  910. }
  911.     } else {
  912.         //js fallback
  913.  
  914.     }
  915. }
  916.  
  917.  
  918. if (typeof resizable_player != "undefined") {
  919.     resizable_player.set_resolution_to_max();
  920. }
  921. if (typeof $.mydefchatconn != "undefined") {
  922.     $.mydefchatconn('scroll_chat_into_view');
  923. }
  924. $(window).bind('resize', function (event) {
  925.     if (this == event.target) {
  926.         if (typeof resizable_player != "undefined") {
  927.             resizable_player.set_resolution_to_max();
  928.         }
  929.     }
  930. });
  931.  
  932.  
  933. });
  934.  
  935. </script>
  936. </body>
  937. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement