Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>Free Live Adult Chat - Broadcast, Watch & Chat FREE on chaturbate.com</title>
- <link rel="stylesheet" href="https://ssl-ccstatic.highwebmedia.com/CACHE/css/f8a33e9a56a9.css" type="text/css" media="all" />
- <style>
- body, div#main, div.content, div.block, div.section {margin: 0px; padding: 0px;}
- body {min-width:800px;}
- div.content {width: 100%;}
- body {background: transparent;}
- </style>
- <link media="all" rel="stylesheet" href="https://ssl-ccstatic.highwebmedia.com/css/login_overlay.css" type="text/css" />
- </head>
- <body>
- <a href="https://chaturbate.com/play_w_marcy/" target="<?php //* if ($foo) { echo $bar"><div id="embed_overlay"></div></a>
- <style>
- #embed_overlay {
- position: absolute;
- top: 0;
- left: 0;
- bottom: 0;
- right: 0;
- z-index: 999;
- }
- </style>
- <div>
- <div>
- <div>
- <div class="section" style="height: 100%">
- <div class="video-box-embed">
- <div id='player' style=" width:100%; height: 100%;">
- <a href="#" id="hls_stream_source_overlay" class="hidden_by_default show_source_overlay" style="display: none">HI BW</a>
- <script type="text/javascript">
- window.broadcaster = 'play_w_marcy';
- </script>
- <style>
- #hls_stream_source_overlay {
- position: absolute;
- top: 76px;
- right: 8px;
- background-color: #000;
- opacity: 0.2;
- z-index: 107;
- color: #fff;
- padding: 8px 8px 7px;
- font-size: 16px;
- line-height: 16px;
- border-radius: 2px;
- width: 60px;
- text-align: center;
- }
- #hls_stream_source_overlay:hover {
- text-decoration: none;
- }
- </style>
- <div id='still_video_container'></div>
- <div id='movie' style="text-align: center;">
- <noscript>
- <br>
- <br>
- <strong>JavaScript is required. Please enable JavaScript in your browser settings.</strong>
- </noscript>
- </div>
- <div id="player_text_container" style="display: none;">
- <h1 id="player_text_header"></h1>
- <p id="player_text_body"></p>
- <a id="enter_password_link" href="/embed/play_w_marcy/" style="display: none;">ENTER PASSWORD</a>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <script type="text/javascript" src="/jsi18n/"></script>
- <script type="text/javascript">
- var js_error_post_url = "/debug_tools/javascript_errors_post/",
- js_error_report_on = "False" == "True",
- js_error_report_version = "V1.3";
- </script>
- <script type="text/javascript" src="https://ssl-ccstatic.highwebmedia.com/CACHE/js/9052cc611e70.js"></script>
- <script type="text/javascript" src="https://ssl-ccstatic.highwebmedia.com/CACHE/js/1e9c0fd85ec5.js"></script>
- <script type='text/javascript'>
- $.facebox.settings.loadingImage = 'https://ssl-ccstatic.highwebmedia.com/facebox/loading.gif';
- $.facebox.settings.closeImage = 'https://ssl-ccstatic.highwebmedia.com/facebox/closelabel.png';
- $(document).ready(function() {
- $('.purchase_tokens a, a.purchase_tokens').click(function() {
- var popupwindow = window.open("/tipping/purchase_tokens/", '_blank',
- 'status=0,toolbar=0,menubar=0,directories=0,resizable=1,' +
- 'scrollbars=1,height=615,width=850');
- popupwindow.focus();
- return false;
- });
- $('.increase_limits a, a.increase_limits').click(function() {
- var popupwindow = window.open("/tipping/purchase_tokens/increase_limits/", '_blank',
- 'status=0,toolbar=0,menubar=0,directories=0,resizable=1,' +
- 'scrollbars=1,height=615,width=850');
- popupwindow.focus();
- return false;
- });
- });
- $.ajaxSetup ({
- // Disable caching of AJAX responses
- cache: false
- });
- $(document).ready(function(){
- var mySwfStore = new SwfStore({
- namespace: 'ogcamsite818',
- swf_url: '/static/javascript-flash-cookies/storage.swf',
- debug: false,
- onready: function() {
- link_accounts();
- }
- });
- function should_link_accounts(){
- var latest_username = $.cookie('latest_linked_username');
- if (latest_username == null){
- return true;
- }
- if (latest_username != 'jimgreenobigcock'){
- return true;
- }
- var latest_update = $.cookie('latest_linked_timestamp');
- if (latest_update == null){
- return true;
- }
- var msecs = new Date().getTime() - latest_update;
- return msecs > (60*20*1000);
- }
- function csrfSafeMethod(method) {
- return (/^(GET|HEAD|OPTIONS|TRACE)$/.test(method));
- }
- $.ajaxSetup({
- crossDomain: false,
- beforeSend: function(xhr, settings) {
- if (!csrfSafeMethod(settings.type)) {
- xhr.setRequestHeader("X-CSRFToken", $.cookie('csrftoken'));
- }
- }
- });
- function link_accounts() {
- if (!should_link_accounts()){
- return false;
- }
- var oldval = mySwfStore.get('usernames2');
- if (oldval == null | oldval == '') {
- var usernames = ["jimgreenobigcock"];
- } else {
- var usernames = oldval.split(',');
- var foundcurrent = false;
- $.each(usernames, function (key, username) {
- if (username != "jimgreenobigcock") {
- setTimeout(function () {
- $.post("/accounts/linkaccounts/", {
- 'username': username,
- 'token': 'fc7dc4ca168a55af1c4ec1814c7736b6b24cb640a7c3d753ca452544f017decc',
- 'expiration': '1526503027'
- });
- }, ((key + 1) * 100));
- } else {
- foundcurrent = true;
- }
- });
- if (!foundcurrent) {
- usernames.push("jimgreenobigcock");
- }
- }
- mySwfStore.set('usernames2', usernames.join(','));
- $.cookie('latest_linked_timestamp', new Date().getTime(), {expires: 1, path: '/'});
- $.cookie('latest_linked_username', 'jimgreenobigcock', {expires: 1, path: '/'});
- }
- });
- function recordOutboundLink(link, category, action) {
- try {
- var myTracker=_gat._getTrackerByName();
- _gaq.push(['_trackEvent', category , action ]);
- setTimeout('document.location = "' + link.href + '"', 100)
- }catch(err){}
- }
- $(document).ready(function(){
- var achdismisscookie = $.cookie('ach_dismiss_jimgreenobigcock');
- if (!achdismisscookie) {
- $('#direct_deposit_warning').show();
- $('#direct_deposit_warning a.dismiss').click(function() {
- $('#direct_deposit_warning').hide();
- $.cookie('ach_dismiss_jimgreenobigcock', 1, 31557600);
- });
- }
- $('.mobile_site_redirect').click(function () {
- $.cookie('mobile_redirect', null, { expires: 1, path: '/', domain: 'chaturbate.com'});
- });
- $('.top_alert_close').click(function () {
- var date = new Date();
- date.setTime(date.getTime() + (18 * 60 * 60 * 1000)); // 18 hours
- $.cookie('mobile_redirect_hide', 'true', { expires: date, path: '/', domain: 'chaturbate.com'});
- $('.top_alert').hide();
- });
- });
- if ($.fn.hasOwnProperty('live')) {
- $.fn.on = $.fn.live;
- } else {
- $.fn.live = $.fn.on;
- }
- </script>
- <script type="text/javascript">
- var nextroomurl = "/next/play_w_marcy/";
- var previousroomurl = "/prev/play_w_marcy/";
- var timeoutscanningurl = "/scanning/timeout/";
- var flickering_chrome_flash = "";
- </script>
- <script type="text/javascript" src="https://ssl-ccstatic.highwebmedia.com/CACHE/js/918cfb6d5419.js"></script>
- <script type="text/javascript" src="https://ssl-ccstatic.highwebmedia.com/CACHE/js/9ab5796dc576.js"></script>
- <script type="text/javascript" src="https://ssl-ccstatic.highwebmedia.com/CACHE/js/47c877e3e79f.js"></script>
- <script type="text/javascript" src="https://ssl-ccstatic.highwebmedia.com/CACHE/js/d472b2fc0977.js"></script>
- <script type="text/javascript" src="https://ssl-ccstatic.highwebmedia.com/CACHE/js/6e85f4a69ee3.js"></script>
- <script type="text/javascript" src="https://ssl-ccstatic.highwebmedia.com/CACHE/js/bbb103ea9b7b.js"></script>
- <script type="text/javascript" src="https://ssl-ccstatic.highwebmedia.com/CACHE/js/c9c758bf18f5.js"></script>
- <script>
- function login_required() {
- if (!is_logged_in()) {
- $.show_login_box();
- return true;
- } else {
- return false;
- }
- }
- function registration_required() {
- if (!is_logged_in()) {
- window.location.href = "/accounts/register/";
- return true;
- } else {
- return false;
- }
- }
- function login_required_true_if_loggedin() {
- return true;
- }
- function is_logged_in() {
- return true;
- }
- </script>
- <form id="ignore_user_form" style="display: none">
- <input type='hidden' name='csrfmiddlewaretoken' value='cWkzByP0SQCjp5PzyUUaGVAPIv8Ad7Jl' />
- <input id="ignore_user_form_username" type="hidden" name="username" value="" />
- <input id="ignore_user_form_remove" type="hidden" name="remove" value="" />
- </form>
- <form id="change_title_form" style="display: none">
- <input type='hidden' name='csrfmiddlewaretoken' value='cWkzByP0SQCjp5PzyUUaGVAPIv8Ad7Jl' />
- <input id="change_title_form_room_slug" type="hidden" name="room_slug" value="" />
- <input id="change_title_form_subject" type="hidden" name="subject" value="" />
- </form>
- <form id="get_chat_user_list_form" style="display: none" action="/api/getchatuserlist/">
- <input type='hidden' name='csrfmiddlewaretoken' value='cWkzByP0SQCjp5PzyUUaGVAPIv8Ad7Jl' />
- <input id="get_chat_user_list_form_room_sort_by" type="hidden" name="sort_by" value="" />
- <input id="get_chat_user_list_form_room_roomname" type="hidden" name="roomname" value="" />
- <input id="get_chat_user_list_form_room_private" type="hidden" name="private" value="" />
- </form>
- <script type='text/javascript'>
- $(document).ready(function() {
- $.ajax({
- url: '/get_emoticon_abuses/'
- }).success(function(data) {
- defchat_settings.ignored_emoticons = data['ignored_emoticons'];
- });
- var report_emoticon = $('#report_emoticon');
- var abuse_link = $('.report_abuse_link');
- $('.facebox_link').live('mousedown', function() {
- var image_url = $(this).find('input[name=image_url]').val();
- var report_url = $(this).find('input[name=report_url]').val();
- var title = $(this).find('img').attr('title');
- report_emoticon.find('img').attr({'src': image_url, 'title': title});
- abuse_link.attr('href', report_url);
- $('.pre_link').hide();
- if ($.inArray(title.substring(1), defchat_settings.ignored_emoticons) >= 0) {
- abuse_link.text('UNDO').before('<span class="pre_link">EMOTICON REPORTED - </span>');
- } else {
- abuse_link.text('REPORT EMOTICON');
- }
- });
- abuse_link.live('click', function(e) {
- e.preventDefault();
- if ($(this).text() == 'UNDO') {
- $('.button_abuse_report a').last().click();
- } else {
- $(this).hide();
- $('#facebox .emoticon_abuse_categories').show();
- }
- });
- $('.button_abuse_cancel a').live('click', function(e) {
- e.preventDefault();
- $(this).parent().parent().hide();
- $('#facebox .report_abuse_link').show();
- });
- $('.button_abuse_report a').live('click', function(e) {
- e.preventDefault();
- $(this).parent().parent().hide();
- var link = $('#facebox .report_abuse_link');
- var slug = link.parent().find('img').attr('title');
- $.ajax({
- url: link.attr('href'),
- data: {'category': $('.abuse_category').last().val()}
- }).success(function(response) {
- var img = $('.chat-list img[title="' + slug + '"]');
- var facebox_img = $('#facebox').find('.content').find('img');
- if (response == 'reported') {
- link.text('UNDO').before('<span>EMOTICON REPORTED - </span>');
- img.hide();
- if (img.parent().find('.emoticon_slug:visible').length == 0) {
- img.parent().append('<span class="emoticon_slug">' + slug + '</span>');
- }
- defchat_settings.ignored_emoticons.push(slug.substring(1));
- facebox_img.hide();
- facebox_img.after('<div id="img_placeholder" style="position: relative; display: inline-block; width: ' + facebox_img.width() + 'px; height: ' + facebox_img.height() + 'px;"></div>')
- } else if (response == 'undone') {
- link.prev().hide();
- link.text('REPORT EMOTICON');
- if (defchat_settings.show_emoticons) {
- img.parent().find('.emoticon_slug').hide();
- img.show();
- }
- $('#img_placeholder').remove();
- facebox_img.show();
- defchat_settings.ignored_emoticons.pop(slug.substring(1));
- }
- });
- link.show();
- });
- function validateAbuseReportForm() {
- var category = $('#id_abuse_category_select').val();
- var comments = $('#id_additional_comments').val();
- var button = $('#abuse_report_button');
- var label = $('#comments_required');
- if (category == 'other' && comments.length < 3) {
- button.parent().removeClass('button_abuse_report');
- button.parent().addClass('button_abuse_cancel');
- label.show();
- } else {
- button.parent().addClass('button_abuse_report');
- button.parent().removeClass('button_abuse_cancel');
- label.hide();
- }
- }
- $('#id_additional_comments, #id_abuse_category_select').live('change keyup', function() {
- validateAbuseReportForm();
- });
- var broadcaster_rating = $('#broadcaster_rating');
- var broadcaster_rating_tooltip = $('#broadcaster_rating_tooltip');
- broadcaster_rating.live('mouseenter', function() {
- broadcaster_rating_tooltip.show();
- });
- broadcaster_rating.live('mouseleave', function() {
- broadcaster_rating_tooltip.hide();
- });
- $('#id_tip_amount').live('keyup', function() {
- var val = $.trim($(this).val());
- if (new RegExp('^[1-9][0-9]*$').test(val)) {
- $('#invalid_tip_message').hide();
- $('#id_tip_message').removeClass('button_disabled');
- } else {
- $('#invalid_tip_message').show();
- $('#id_tip_message').addClass('button_disabled');
- }
- });
- $('#id_tip_message').live('click', function(e) {
- if ($(this).hasClass('button_disabled')) {
- e.preventDefault();
- }
- });
- function log_presence() {
- $.ajax({
- url: '/contest/log/play_w_marcy/',
- type: 'GET',
- complete: schedule_log_presence,
- timeout: 60000,
- dataType: 'json',
- success: function(data) {
- $(".password_warning").html(data.password_warning);
- if ($('#still_video').length >= 1) {
- $('#still_video img:first').attr('src', data.image_url);
- }
- if (!data.can_access) {
- window.location.reload();
- }
- if (data.has_warnings) {
- window.onbeforeunload = function() {};
- window.location = '/accounts/warnings/?next=/embed/play_w_marcy/';
- }
- if (data.is_banned) {
- window.onbeforeunload = function() {};
- window.location = '/';
- }
- var text = "FOLLOWED";
- if (data.total_followed){
- text += " ("+data.online_followed+"/"+data.total_followed+")";
- }
- $("a.followed").text(text);
- }
- });
- }
- function schedule_log_presence() {
- setTimeout(log_presence, 55000);
- }
- schedule_log_presence();
- $("#tooltip-subject").click(function(){
- $(this).hide();
- //$(".video-box .title").unbind('mouseenter mouseleave mouseover mouseout');
- return $("#roomtitle").click();
- });
- function parse_subject(newtext){
- var temp_item = ('<span class="temp_item" style="display:none;">'+ newtext +'</span>');
- $(temp_item).appendTo('body');
- var w = $('span.temp_item').width();
- $("span.temp_item").remove();
- $("#tooltip-subject").html(newtext);
- if ( w > $("#roomtitle").width() - 5){
- $(".video-box .title").mouseover(
- function(){
- if($("#roomtitleform").is(":visible")==false){
- $("#tooltip-subject").show();
- }
- }
- );
- $(".video-box .title").mouseout(
- function(){
- $("#tooltip-subject").hide();
- }
- );
- return newtext;
- }
- $(".video-box .title").unbind('mouseenter mouseleave mouseover mouseout');
- return newtext;
- }
- function start_defchat() {
- $.mydefchatconn = $("#defchat").defchat({
- do_not_connect: "False" === "True",
- embed_video_only: "1" === "1",
- username: 'jimgreenobigcock',
- password: '7c9215a970f2655ab50cd898cc542ab04800fdf663e44d6e698e11b48ebf20d8141065459d50855db6e8dd3e1abe18a573dfd14aea0c51dba64bbccc7d3ba7e6',
- room_password: '5dedd55b6838adc82289f6c8ae5fad68a46c6956807e109e15db08666e1c6dc1',
- edge_auth: '{\u0022username\u0022:\u0022jimgreenobigcock\u0022,\u0022org\u0022:\u0022PHX\u0022,\u0022expire\u0022:1526503047,\u0022sig\u0022:\u0022e41d23969e51a18aa5aaed86a52c4dff17b4e80e32d6b1b72af7703cfd6a484b\u0022,\u0022room\u0022:\u0022play_w_marcy\u0022}',
- chat_host: 'rtmp://chatws17.highwebmedia.com/live-chat',
- domain: 'highwebmedia.com',
- parse_subject: parse_subject,
- room: 'play_w_marcy@conference.highwebmedia.com',
- private_room: 'play_w_marcy-private@conference.highwebmedia.com',
- my_username: 'jimgreenobigcock',
- handler: null,
- site_name: 'Chaturbate',
- support_email: 'support@chaturbate.com',
- is_age_verified: '',
- chat_settings_url: "/api/viewerchatsettings/play_w_marcy/",
- force_handler: ws_handler,
- wschat_host: 'https://chatws17.stream.highwebmedia.com/ws',
- media_url: 'https://ssl-ccstatic.highwebmedia.com/',
- hashtag_url: "/tag/",
- broadcaster_gender: 'female',
- emoticon_overlay_url: '/emoticon_overlay/',
- change_room_title_url: '/api/change_room_title/',
- tipping_current_tokens_url: '/tipping/current_tokens/',
- subject: $('#roomtitle'),
- default_subject: "flash%20%20ass%20%5B62%20tokens%20remaining%5D",
- submenu_profile_url: '/accounts/submenuprofile/USERNAMESLUG/',
- ban_url: '/roomban/USERNAMESLUG/play_w_marcy/',
- silence_url: '/roomsilence/USERNAMESLUG/play_w_marcy/',
- allow_tipping: true,
- is_broadcasting: false,
- is_moderator: false,
- scroll_on_load: false,
- add_moderator_url: '/addmoderator/USERNAMESLUG/play_w_marcy/',
- remove_moderator_url: '/removemoderator/USERNAMESLUG/play_w_marcy/',
- login_required_callback: login_required,
- token_balance: 51,
- is_private_show_owner: 0,
- is_private_show_owner_url: "/tipping/is_private_show_owner/play_w_marcy/",
- tipped_performer_last_24hrs: 0,
- last_vote_in_past_24_hours: undefined,
- min_tips_reqd_to_vote: 25,
- interested_in: ['m','f','s','c'],
- group_show_tokens_per_minute_url: "/tipping/group_show_tokens_per_minute/play_w_marcy/",
- group_show_request_url: "/tipping/group_show_request/play_w_marcy/",
- group_show_cancel_url: "/tipping/group_show_cancel/play_w_marcy/",
- group_show_approve_url: "/tipping/group_show_approve/",
- group_show_decline_url: "/tipping/group_show_decline/",
- return_from_away_url: "/tipping/return_from_away/",
- spy_on_private_show_tokens_per_minute_url: "/tipping/spy_on_private_show_tokens_per_minute/play_w_marcy/",
- private_show_tokens_per_minute_url: "/tipping/private_show_tokens_per_minute/play_w_marcy/",
- spy_on_private_show_request_url: "/tipping/spy_on_private_show_request/play_w_marcy/",
- private_show_request_url: "/tipping/private_show_request/play_w_marcy/",
- private_show_cancel_url: "/tipping/private_show_cancel/play_w_marcy/",
- private_show_approve_url: "/tipping/private_show_approve/",
- private_show_decline_url: "/tipping/private_show_decline/",
- rate_model_url: "/tipping/rate_model/play_w_marcy/",
- get_chat_user_menu_url: "/api/getchatusermenu/",
- tips_in_last_24_url: "/tipping/tips_in_last_24/play_w_marcy/",
- silence_broadcasters: "false",
- show_emoticons: true,
- emoticon_autocomplete_delay: '0',
- users_that_can_chat: "all",
- spy_on_cams_url: "/spy-on-cams/",
- num_users_waiting_for_group_show: 0,
- num_users_required_for_group_show: 2,
- get_panel_url: "/api/panel/play_w_marcy/",
- 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',
- font_size: '16pt',
- sort_users_key: 'a',
- room_entry_for: 'org',
- room_leave_for: 'org',
- chat_ignore_list_url: '/chat_ignore_list/',
- chat_mod_list_url: '/chat_mod_list/',
- chat_fan_list_url: '/chat_fan_list/',
- chat_geo_list_url: '/chat_geo_list/',
- load_ignored_users: '',
- initial_viewer_count: '',
- private_price: '60',
- group_price: '30',
- spy_price: '0',
- room_goal: {},
- 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/",
- room_status: "public",
- broadcaster_on_new_chat: "False" === "True"
- });
- }
- start_defchat();$('.share_input').live('click', function() {
- $(this).select();
- });
- $("a.clear_all_banned_ips").live("click", function(){
- $.post("/clear_banned_urls/play_w_marcy/", function(data){
- if (data=='OK'){
- var target = $("a.clear_all_banned_ips:first").parent().find(
- "span.ban_result");
- target.fadeIn(500).fadeOut(500).fadeIn(500).fadeOut(500).fadeIn(500).fadeOut(2000);
- }
- });
- return false;
- });
- $('.button_follow').hover(
- function() {
- $('.follow_tooltip').show();
- },
- function() {
- $('.follow_tooltip').hide();
- }
- );
- function hide_rating_ctrl_tooltips() {
- $('#rate_dim_tooltip').hide();
- $('#rate_tooltip').hide();
- $('#rated_tooltip').hide();
- }
- $('#model_rating_ctrl_dim, #model_rating_ctrl_dim_with_scores').hover(
- function() {
- $('#rate_dim_tooltip').show();
- },
- hide_rating_ctrl_tooltips
- );
- $('#model_rating_ctrl, #model_rating_ctrl_with_scores').hover(
- function() {
- if (defchat_settings.last_vote_in_past_24_hours === undefined) {
- $('#rate_tooltip').show();
- } else {
- $('#rated_tooltip').show();
- }
- },
- hide_rating_ctrl_tooltips
- );
- });
- </script>
- <script>
- var EMOTICON_AUTOCOMPLETE_API = 'https://emote.highwebmedia.com/autocomplete';
- </script>
- <script type="text/javascript" src="https://ssl-ccstatic.highwebmedia.com/CACHE/js/288cc0cc349b.js"></script>
- <script type="text/javascript" src="https://ssl-ccstatic.highwebmedia.com/CACHE/js/598b0ec26262.js"></script>
- <script type='text/javascript'>
- $(document).ready(function() {
- if (HasFlash() && ('False' == '' || 'False' == 'False')) {
- EmbedViewerSwf(
- "/static/flash/CBV_2p680.swf",
- "play_w_marcy",
- "edge175.stream.highwebmedia.com",
- "/xml/viewer.xml",
- "0",
- "login_required_true_if_loggedin",
- "0",
- "https://ssl-ccstatic.highwebmedia.com/flash/playerProductInstall.swf",
- "jimgreenobigcock",
- "$.mydefchatconn('join_group_show')",
- "$.mydefchatconn('spy_on_private')",
- "registration_required()",
- "0",
- "https://ssl-ccstatic.highwebmedia.com/images/flashwatermark.png",
- "",
- "7c9215a970f2655ab50cd898cc542ab04800fdf663e44d6e698e11b48ebf20d8141065459d50855db6e8dd3e1abe18a573dfd14aea0c51dba64bbccc7d3ba7e6",
- "5dedd55b6838adc82289f6c8ae5fad68a46c6956807e109e15db08666e1c6dc1",
- "0",
- "100",
- "1",
- "{\u0022username\u0022:\u0022jimgreenobigcock\u0022,\u0022org\u0022:\u0022PHX\u0022,\u0022expire\u0022:1526503047,\u0022sig\u0022:\u0022e41d23969e51a18aa5aaed86a52c4dff17b4e80e32d6b1b72af7703cfd6a484b\u0022,\u0022room\u0022:\u0022play_w_marcy\u0022}",
- "0"
- );
- } else {
- /*jslint browser: true*/
- 'use strict';
- var STALLED_SECS = 3; //seconds before we consider hls stalled
- var SUPER_STALLED_SECS = 6;
- var lastOnTimeUpdate, lastCurrentTime;
- var monitorMs = 1000;
- var RELOAD_INTERVAL_SEC = 13; //interval between reloads
- var PAUSE_PLAY_INTERVAL_SEC = 10; //interval between pause play
- var lastReloadTime, hlsPlayer, edgeSrc, lastPausePlayTime, lastOnWaitingTime, firstOnWaitingTime;
- var ON_WAITING_RESET_SEC = 30;
- var MAX_ON_WAITING_SEC = 60;
- function getCurrentTimeSec() {
- return new Date().getTime() / 1000.0;
- }
- function initSettings() {
- lastOnTimeUpdate = getCurrentTimeSec();
- lastCurrentTime = 0;
- }
- function onWaiting() {
- var curTime = getCurrentTimeSec();
- if (curTime - lastOnWaitingTime >= ON_WAITING_RESET_SEC || edgeSrc == '') {
- firstOnWaitingTime = curTime;
- }
- lastOnWaitingTime = curTime;
- if (firstOnWaitingTime == 0) {
- firstOnWaitingTime = curTime;
- }
- if (curTime - firstOnWaitingTime >= MAX_ON_WAITING_SEC) {
- firstOnWaitingTime = 0;
- lastReloadTime = curTime;
- reloadHlsVideoLowResAjax();
- }
- }
- function initHlsPlayer(player, src) {
- hlsPlayer = player;
- edgeSrc = src;
- initSettings();
- var curTime = getCurrentTimeSec();
- lastReloadTime = curTime;
- lastPausePlayTime = curTime;
- lastOnWaitingTime = curTime;
- firstOnWaitingTime = 0;
- if (src === '') {
- hlsPlayer.pause();
- }
- if (window.jsplayer) {
- hlsPlayer.on("timeupdate", function () {
- if (lastCurrentTime !== hlsPlayer.currentTime()) {
- lastOnTimeUpdate = getCurrentTimeSec();
- }
- lastCurrentTime = hlsPlayer.currentTime();
- });
- hlsPlayer.on("waiting", onWaiting);
- hlsPlayer.muted($.cookie('cbv_hlsmute') === 'true'|| '0' == '1');
- hlsPlayer.volume($.cookie('cbv_hlsvol') || 1);
- hlsPlayer.on("volumechange", function(){
- $.cookie('cbv_hlsmute', this.muted(), {expires: 365, path: '/'});
- $.cookie('cbv_hlsvol', this.volume(), {expires: 365, path: '/'});
- });
- } else {
- hlsPlayer.muted = '0' == '1';
- var playPromise = hlsPlayer.play()
- if (playPromise !== undefined) {
- playPromise["catch"](function() {
- hlsPlayer.muted = true;
- hlsPlayer.play();
- });
- } else if (hlsPlayer.paused) {
- hlsPlayer.muted = true;
- hlsPlayer.play();
- }
- hlsPlayer.ontimeupdate = function () {
- if (lastCurrentTime !== hlsPlayer.currentTime) {
- lastOnTimeUpdate = getCurrentTimeSec();
- }
- lastCurrentTime = hlsPlayer.currentTime;
- };
- hlsPlayer.onwaiting = onWaiting;
- }
- if ('False' == 'True'){
- if ('' != 'True') {
- handle_room_status_change_if_non_flash('hidden', '');
- }
- } else if ('' != 'True') {
- handle_room_status_change_if_non_flash('public');
- }
- }
- function isStalled() {
- return (getCurrentTimeSec() - lastOnTimeUpdate) >= STALLED_SECS;
- }
- function isSuperStalled() {
- return (getCurrentTimeSec() - lastOnTimeUpdate) >= SUPER_STALLED_SECS;
- }
- function pausePlay() {
- if ((getCurrentTimeSec() - lastPausePlayTime) < PAUSE_PLAY_INTERVAL_SEC) {
- return;
- }
- lastPausePlayTime = getCurrentTimeSec();
- hlsPlayer.pause();
- if (edgeSrc === '') {
- return;
- }
- if (!window.jsplayer) {
- hlsPlayer.removeAttribute("controls");
- }
- setTimeout(function () {
- hlsPlayer.play();
- }, 10);
- }
- $('#still_video_object').on('click hover', function () {
- if (!window.jsplayer) {
- if (hlsPlayer && !hlsPlayer.hasAttribute("controls")) {
- hlsPlayer.setAttribute("controls", "controls");
- }
- }
- });
- function monitorHls() {
- if (!defchat_settings || !hlsPlayer) {
- return;
- }
- if (isStalled()) {
- if (defchat_settings.handler.initializer.restricted_buffer_play_in_progress) {
- if (isSuperStalled()) {
- defchat_settings.handler.initializer.restricted_buffer_play_in_progress = false;
- if (defchat_settings.handler.initializer.model_status === 'away') {
- handle_room_status_change_if_non_flash(defchat_settings.handler.initializer.model_status);
- }
- return;
- }
- pausePlay();
- return;
- }
- if ((getCurrentTimeSec() - lastReloadTime) >= RELOAD_INTERVAL_SEC && isSuperStalled()) {
- lastReloadTime = getCurrentTimeSec();
- reloadHlsVideoAjax();
- return;
- }
- pausePlay();
- }
- }
- window.loadHlsVideo = function (src) {
- edgeSrc = src;
- initSettings();
- if (!src) {
- if (window.jsplayer) {
- window.jsplayer.src("");
- }
- hlsPlayer.pause();
- } else {
- if (window.jsplayer) {
- window.jsplayer.src(src);
- } else {
- hlsPlayer.src = src;
- }
- hlsPlayer.play();
- }
- };
- window.getCurrentEdge = function () {
- var items = edgeSrc.split('/');
- if (items.length >= 3) {
- return items[2];
- }
- return '';
- };
- window.getEdgeHlsUrlAjax = function () {
- return "/get_edge_hls_url_ajax/";
- };
- setInterval(monitorHls, monitorMs);
- var xbox = (String(navigator.userAgent).indexOf('Xbox') >= 0);
- if (xbox || window.canhls == 'maybe' || window.canhls == 'probably') {
- var posterUrl = 'https://cbjpeg.stream.highwebmedia.com/stream?room=play_w_marcy&f=' + Math.random();
- var html = "<div id='still_video' style='display: none'>";
- html += "<video id='still_video_object' ";
- html += "src='https://edge44.stream.highwebmedia.com/live-edge/amlst:play_w_marcy-sd-44345a837b98df72afa5440c1da19e419dd53b1b75f437b8e20f5c9658f2f287_trns_h264/playlist.m3u8?rp=5dedd55b6838adc82289f6c8ae5fad68a46c6956807e109e15db08666e1c6dc1&u=jimgreenobigcock&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 + "'";
- html += "width='498px' height='407px'";
- html += "webkit-playsinline playsinline></video></div>";
- $('#still_video_container').html(html);
- $('#still_video').show();
- if (typeof(resizable_player) != "undefined") {
- resizable_player.init('0' == '1', true);
- }
- initHlsPlayer($('#still_video_object')[0], 'https://edge44.stream.highwebmedia.com/live-edge/amlst:play_w_marcy-sd-44345a837b98df72afa5440c1da19e419dd53b1b75f437b8e20f5c9658f2f287_trns_h264/playlist.m3u8?rp=5dedd55b6838adc82289f6c8ae5fad68a46c6956807e109e15db08666e1c6dc1&u=jimgreenobigcock&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');
- if ('True' != 'True') {
- $('#hls_stream_source_overlay').show();
- } else {
- $('#hls_stream_source_overlay').data('transcoding',true);
- }
- } else if (Hls.isSupported()) {
- var posterUrl = 'https://cbjpeg.stream.highwebmedia.com/stream?room=play_w_marcy&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 poster='" + posterUrl + "' ";
- 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&u=jimgreenobigcock&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>";
- $('#still_video_container').html(html);
- var video = document.getElementById('still_video_object');
- window.jsplayer = videojs(video, {
- autoplay: true,
- html5: {
- hlsjsConfig: {
- debug: false,
- liveSyncDuration: 5,
- liveSyncDurationCount: undefined,
- liveDurationInfinity: Infinity,
- liveMaxLatencyDuration: 13,
- liveMaxLatencyDurationCount: undefined,
- }
- },
- controlBar: {
- playToggle: false,
- progressControl: false,
- remainingTimeDisplay: false,
- durationDisplay: false,
- currentTimeDisplay: false,
- timeDivider: false
- }
- });
- window.jsplayer.qualityPickerPlugin();
- initHlsPlayer(jsplayer, 'https://edge44.stream.highwebmedia.com/live-edge/amlst:play_w_marcy-sd-44345a837b98df72afa5440c1da19e419dd53b1b75f437b8e20f5c9658f2f287_trns_h264/playlist.m3u8?rp=5dedd55b6838adc82289f6c8ae5fad68a46c6956807e109e15db08666e1c6dc1&u=jimgreenobigcock&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');
- $('#still_video2').show();
- if (typeof(resizable_player) != "undefined") {
- resizable_player.init('0' == '1', false);
- resizable_player.control_bar_height = 0;
- }
- if ('True' != 'True') {
- $('#hls_stream_source_overlay').show();
- } else {
- $('#hls_stream_source_overlay').data('transcoding',true);
- }
- } else {
- //js fallback
- }
- }
- if (typeof resizable_player != "undefined") {
- resizable_player.set_resolution_to_max();
- }
- if (typeof $.mydefchatconn != "undefined") {
- $.mydefchatconn('scroll_chat_into_view');
- }
- $(window).bind('resize', function (event) {
- if (this == event.target) {
- if (typeof resizable_player != "undefined") {
- resizable_player.set_resolution_to_max();
- }
- }
- });
- });
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement