Responsive image

Следующий


7 Signs You're A Non-Toxic (Good) Male

78 Просмотры

Enjoyed this video? Join my GiveSendBro community for exclusive content at TheRealistPhilosopher!
This creator accepts Video Requests for 75.00 USD. Click Here to request a Custom Video.
Опубликован в 16 Jun 2020 / В Развлекательная программа

⁣From my 2018 to 2020 content produced after my youtube channel “The MGTOW Philosopher” was banned. This is from my new show “The Realist Philosopher.” Posting a lot of my content from oldest to newest, so stay tuned. Other platforms I'm on, and social media links can be found below ;)

⁣Donations: http://www.TheRealistPhilosopher.com/donate
Podcasts & Videos:
https://dlive.tv/TheRealist (My once a week live stream airing Sat 5pm MST time USA)
https://www.bitchute.com/chann....el/therealistphiloso (Follow me on bitchute)
Social Media:
https://twitter.com/TheRealist1967
facebook: http://www.facebook.com/MagusReason
therealistphilosopher1967 (instagram)
https://gab.ai/TheRealistPhilosopher (Gab)
admin@therealistphilosopher.com (email)
http://www.TheRealistPhilosopher.com (My website)

Показать больше
Responsive image

Log in to comment

AntiCuck1982
AntiCuck1982 5 лет тому назад

<br> " BY KAREN " .... dude ... you cant make shit that funny up... clown world is worse than any joke</p> <div class="width-100 div-vote-comment"> <span class="pointer comms-reply amr" onclick="PT_Reply('27802');"> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-message-circle"><path d="M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z"></path></svg> </span>   <span class="div-vote-comment-btn"> <span onclick="PT_LikeComments(this,'up','27802');" data-comment-likes="27802"> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-thumbs-up "><path d="M14 9V5a3 3 0 0 0-3-3l-4 9v11h11.28a2 2 0 0 0 2-1.7l1.38-9a2 2 0 0 0-2-2.3zM7 22H4a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h3"></path></svg> <span>0</span> </span>   <span onclick="PT_LikeComments(this,'down','27802');" data-comment-dislikes="27802"> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-thumbs-down "><path d="M10 15v4a3 3 0 0 0 3 3l4-9V2H5.72a2 2 0 0 0-2 1.7l-1.38 9a2 2 0 0 0 2 2.3zm7-13h2.67A2.31 2.31 0 0 1 22 4v7a2.31 2.31 0 0 1-2.33 2H17"></path></svg> <span>1</span> </span> </span> </div> </div> <div class="clear"></div> </div> <div style="width: 100%;overflow: hidden;"> <div class="pt-comment-replies user-comment" style="width: 100%;padding: 0 0 0 60px;"> <div class="pt-comment-item-replies-list" id="pt-comment-replies-cont-27802"> </div> <div class="pt-comment-item-reply-form hidden blah" id="comm-reply-27802" > <input type="text" class="form-control" placeholder="Напишите комментарий и нажмите клавишу ВВОД" onkeydown="PT_RVReply(this.value,'27802',event,'17553');"> </div> </div> </div> <div class="clear"></div> </div> </div> <div class="watch-video-show-more comments-load"> Показать больше </div> </div> <input type="hidden" id="video-id" value="17553"> <input type="hidden" id="donations" value=""> <!--added by AMR--> <input type="hidden" id="is_live" value=""><!--added by AMR--> <input type="hidden" id="highest_chat_id" value="0"> <!--added by AMR for live chats only?!--> <input type="hidden" id="last_comm_id" value="0"> <!--added by AMR for live chats only scrolling table!--> <input type="hidden" id="min_sc_alert_amount" value="0"><!--added by AMR--> <br/> <!-- Modal --> <div class="modal fade matdialog" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title" id="exampleModalLabel">Редактировать комментарий</h5> </div> <div class="modal-body"> <textarea id="text_modal" class="form-control"></textarea> </div> <div class="modal-footer"> <input type="hidden" id="c_id_"> <button type="button" class="matbtn btn btn-default" data-dismiss="modal">Закрыть</button> <button type="button" class="matbtn btn btn-primary" onclick="update_comment()">Сохранить</button> </div> </div> </div> </div> <!-- added by AMR--> <div class="modal fade matdialog" id="superChat" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> <h5 class="modal-title" id="exampleModalLabel">Super Chat Donation</h5> </div> <div class="modal-body"> <small style="display: inherit;"> The maximum you can super chat is <span class="max_super_chat"></span>. To super chat more, add more funds to your wallet. Donate $10 or more and get Freemium for a month! </small> <br/> <input type="text" id="super_chat_donation" placeholder="Donation amount in USD" class="form-control number_only" autocomplete="off" autofocus /> </div> <div class="modal-footer"> <button type="button" class="matbtn btn btn-primary" onclick="save_super_chat()">Сохранить</button> </div> </div> </div> </div> <!-- added by AMR for chat pause counter button down to end--> <style> .float{ position:fixed; width:56px; height:56px; bottom:197px; right:15px; background-color:#0C9; color:#FFF; border-radius:50px; text-align:center; line-height: 55px; text-decoration: none !important; } .my-float{ margin-top: 11px; display: block; } .float span{ margin-top: -18px; display: block; } </style> <a href="javascript:void(0);" id="live-chat-iframe-pause-btn" class="float collapse"> <i class="fa fa-angle-double-up my-float"></i> <span>0</span> </a> <!-- end of added by AMR--> <script type="text/javascript"> $("#live-chat-iframe-pause-btn").click(function(event) { // added by AMR $('#video-user-comments').scrollTo(); }); checkInternetConnectionVidComms(); // added by AMR to check internet connectivity in this particular page! var sort_comments_by = 2; // mod or added by AMR var sort_comments_prev = sort_comments_by; // added by AMR var max_super_chat = 0; // added by AMR alot is added by AMR var min_sc_alert_amount = $('#min_sc_alert_amount').val();//added by AMR alot is added by AMR var auto_update_timer = null; // for live chat added by AMR number will remain the same if cleared! var vid_cmts_online = true; // for live chat added by AMR var auto_update_ms = 5000; // added by AMR for auto refresh of comments var pause_auto_refresh = false; // added by AMR for auto refresh of comments var auto_pause_chat = 0; // added by AMR if user is scrolling chat comments php backend var saved_pause_chats = ''; // added by AMR if saves chats that are to be displayed when user scrolls back up... Used but not really var saveme = []; // array to save new unseen comments just to be reversed per db chronology, otherwise same as saved chats above var is_live_user_comm_id = 0;// last added comment by user so it avoids double posts for live streams var unseen_chats_count = 0; // counts the number of new unseen chats from the database / don't need it if we go back to string... var timeLiveAjaxSecs = 0; var myAjaxLiveInterval; // https://makitweb.com/how-to-detect-browser-window-active-or-not-javascript/amp/ var ajaxChatLiveGoodCall = false; var AjaxLiveOps = 0; var staleTab = false; // if user has not been active for a long time var browserTabActive = true; document.addEventListener('visibilitychange', function (event) { if (document.hidden) { browserTabActive = false; } else { browserTabActive = true; } }); $("#pause-refresh-btn").click(function() { if (pause_auto_refresh === false) { pause_auto_refresh = true; $("#pause-refresh-span").html(' <i class="fa fa-play" aria-hidden="true"></i> Enable Chat'); } else { pause_auto_refresh = false; $("#pause-refresh-span").html('<i class="fa fa-pause" aria-hidden="true"></i> Pause Chat'); auto_update_timer = setTimeout(auto_update_chat, 1000); } }); var position = $(window).scrollTop(); // added by AMR supposed to be for lives only but can work for up in cmmts $(window).on("scroll", function() {console.log('scrolling') var scroll = $(window).scrollTop(); // if scroll is over 330 pause chat? var docHeight = $(document).height(); var winHeight = $(window).height(); var divH = $("#video-user-comments").height(); var scrollP = $(window).height() + $(window).scrollTop(); var diff = scroll / divH; // if over .92 is down! not used! var miff = docHeight / scrollP; if(is_mobile_by_amr == 'smartphone') { activate_chat_pause_height = 574; } else { activate_chat_pause_height = 700; } if(scroll > position) { // scrolling down if(miff < 1.05) { //console.log('617 pull comments!'); } if(scroll > 350 && divH > activate_chat_pause_height) { auto_pause_chat = 1; } } else { // scrolling up if(scroll < 350) { auto_pause_chat = 0; var string = '';// only diff between array and string is array is reversed per output from db saveme.reverse(); if(saved_pause_chats != '') { $('#live-chat-iframe-pause-btn').hide(); for(var i=0;i<saveme.length;i++) { string += saveme[i]; } //$('#video-user-comments').prepend(saved_pause_chats); $('#video-user-comments').prepend(string); saveme = []; saved_pause_chats = ''; unseen_chats_count = 0; } } } position = scroll; }); function openChatPop() { // added by AMR window.open("https://www.mgtow.tv/watch/6C1CyOO5bkygvo9?v=chat&is_popout=1", "chat_popout", "toolbar=yes,scrollbars=yes,resizable=yes,top=0,left=5,width=600,height=600"); } function openVideoRequest(user_id=0) { // added by AMR calling function is on main video content.html! //window.open("https://www.mgtow.tv/video-request?v=video_request&vuser_id="+user_id, "video_request", "toolbar=yes,scrollbars=yes,resizable=yes,top=0,left=5,width=768,height=660"); window.open( "https://www.mgtow.tv/video-request/video_request_form?vuser_id="+user_id, "_blank" ); } function openAudioOnly() { // added by AMR window.open("https://www.mgtow.tv/audio-live-by-amr.php?v=6C1CyOO5bkygvo9&is_popout=1", "audio_popout", "toolbar=no,scrollbars=no,resizable=no,top=0,left=0,width=500,height=550"); } if ( window.location !== window.parent.location ) { // added by AMR this is an iframe! $('#comment-log-in').hide(); $('#messages-container').show(); } function super_chat_min_dono_availability(max_super_chat, min_sc_alert_amount) { // added by AMR if(min_sc_alert_amount > 0) { var diff = max_super_chat - min_sc_alert_amount; if(diff < 0) { $("#sc-funds-availability").removeClass("alert-success alert-warning"); $("#sc-funds-availability").addClass("alert-danger"); } else if(diff >= 0 && diff < min_sc_alert_amount) { $("#sc-funds-availability").removeClass("alert-success alert-danger"); $("#sc-funds-availability").addClass("alert-warning"); } else { $("#sc-funds-availability").removeClass("alert-warning alert-danger"); $("#sc-funds-availability").addClass("alert-success"); } } } var platform_currency = 'USD'; super_chat_min_dono_availability(max_super_chat, min_sc_alert_amount); function save_super_chat(mode='') { // added by AMR if (mode == 'reset') { $('#s-chat-d-amount').html('Super Chat'); $('#super_chat_donation').val(''); $('.max_super_chat').html(platform_currency+' '+max_super_chat); return; } var amount = $('#super_chat_donation').val(); if (amount == '' || amount < 1) { amount = ''; $('#s-chat-d-amount').html('Super Chat'); } else { $("#comment-textarea").focus(); $('#s-chat-d-amount').html(amount); } $('#superChat').modal('hide'); } function super_chat() { // added by AMR $("#super_chat_donation").focus(); $('#superChat').modal(); } function edit_comment(id) { $.post('https://www.mgtow.tv/aj/comments/get_comment', {id: id}, function(data, textStatus, xhr) { if (data.status == 200) { $('#c_id_').val(id); $('#text_modal').val(data.text); $('#exampleModal').modal(); } }); } function update_comment() { var id = $('#c_id_').val(); var text = $('#text_modal').val(); if (id) { $.post('https://www.mgtow.tv/aj/comments/update_comment', {id: id,text:text}, function(data, textStatus, xhr) { if (data.status == 200) { $('#comment-text-'+id).html(data.text); } $('#exampleModal').modal('hide'); }); } } var myVar; function showScAlertImg() { if(!responsiveVoice.isPlaying()) { clearInterval(myVar); $('.super-chat-alert-img').css('background-image', 'none'); } } function checkInternetConnectionVidComms(){ // added by AMR var status = navigator.onLine; if (status) { if (auto_update_timer !== null && vid_cmts_online === false) { // restart live chat after no internet auto_update_timer = setTimeout(auto_update_chat, auto_update_ms); } vid_cmts_online = true; console.log('Internet Available !!'); } else { if (auto_update_timer !== null && vid_cmts_online === true) { // restart live chat after no internet clearTimeout(auto_update_timer); // save resources if no internet } vid_cmts_online = false; console.log('No internet Available !!'); } setTimeout(function() { checkInternetConnectionVidComms(); }, 1000); } </script> <script> jQuery(document).ready(function($) { if (localStorage.getItem("disable_chat_img_msg") === null) { // added by AMR $('#messages-show-chat-images').show(); } var high_roller = 'Super chats are available sitewide. Hit the Super Chat button below to support the creator!'; $('#super_chats_applicable').show(); $('#d_amount').html(high_roller); $(".number_only").inputFilter(function(value) { // added by AMR return /^\d*$/.test(value) && (value === "" || parseInt(value) <= max_super_chat); }); $('.max_super_chat').html(platform_currency+' '+max_super_chat); // added by AMR //var sort_comments_by = 2; $("li.sort-comments").click(function(event) {//testerb sort_comments_by = $(this).attr('id'); var video_id = $('#video-id').val(); var is_live = document.getElementById("is_live").value; var data_obj = { video_id: video_id, sort_by: sort_comments_by, is_live: is_live, };console.log('907 sort_comments_by: '+sort_comments_by) $('#video-user-comments').empty(); $(".comments-loading").removeClass('hidden'); $.post('https://www.mgtow.tv/aj/sort-comments',data_obj, function(data, textStatus, xhr) { if (data.status == 200) { PT_Delay(function(){ $(".comments-loading").addClass('hidden'); $('#video-user-comments').html(data.comments); },200); } else{ PT_Delay(function(){ $(".comments-loading").addClass('hidden'); },200); } }); }); $.fn.scrollTo = function (speed) { if (typeof(speed) === 'undefined') speed = 500; $('html, body').animate({ scrollTop: ($(this).offset().top - 100) }, speed); return $(this); }; $('#comment-textarea').on('click', function(event) { event.preventDefault(); var logged = $('#main-container').attr('data-logged'); if (!logged) { window.location.href = "https://www.mgtow.tv/login?to=https://www.mgtow.tv/watch/7-signs-you-039-re-a-non-toxic-good-male_6C1CyOO5bkygvo9.html"; return false; } // border color removed by AMR and added to issue 145 }); $('.comments-load').on('click', function(event) { event.preventDefault(); var last_id = $('.main-comment:last').attr('data-id'); var video_id = $('#video-id').val(); var is_live = document.getElementById("is_live").value; var data_obj = { last_id: last_id, video_id:video_id, sort_by:sort_comments_by, is_live: is_live, }; if (sort_comments_by == 1) { var comment_ids = []; $('.main-comment').each(function(index, el) { comment_ids.push($(el).attr('data-id')); }); data_obj['comments'] = comment_ids.join() } $.post('https://www.mgtow.tv/aj/load-more-comments',data_obj, function(data, textStatus, xhr) { if (data.status == 200) { $('#video-user-comments').append(data.comments); } else { $('.comments-load').text(data.message); } }); }); }); function PT_PostComment(button) { // PT live chat user must be logged in to view live stream! var text = $('#comment-textarea').val(); if (!text) { $('#comment-textarea').css('border-bottom', '1px solid red'); return false; } var video_id = $('#video-id').val(); if (!video_id) { return false; } if ($('#live_post_comments_'+video_id+' .live_comments').length >= 4) { $('#live_post_comments_'+video_id+' .live_comments').first().remove(); } $('#live_post_comments_'+video_id).append('<div class="main-comment live_comments" live_comment_id=""><div class="main-comment-data-sp"><div class="user-avatar pull-left"><img src="{{ME avatar}}" alt="{{ME name}}"></div><div class="user-name"><a href="{{ME url}}" data-load="?link1=timeline&id={{ME username}}">{{ME name}}</a></div><div class="user-comment"><p class="comment-text">'+text+'</p></div><div class="clear"></div></div><div class="clear"></div></div>'); // mabe PT is better for lives than ajax call below with return... var amount = $('#super_chat_donation').val(); // added by AMR for super chat donation if (!amount) { amount = 0; } $(button).attr('disabled', true); $("body").addClass("ajax-loading"); // added by AMR temp until new update? var is_live = document.getElementById("is_live").value; $.post('https://www.mgtow.tv/aj/add-comment', {video_id: video_id, text: text, amount: amount, is_live: is_live}, function(data, textStatus, xhr) { // amount and is_live added by AMR if (data.status == 200) { is_live_user_comm_id = data.comm_id if ($('.no-comments-found').length > 0) { $('.no-comments-found').remove(); } $('#comment-textarea').val(''); //if(is_live == ''){ // mod by AMR live chat might be to quick for double take $('#video-user-comments').prepend(data.comment); //} cancelComment('means nothing'); max_super_chat = data.wallet; super_chat_min_dono_availability(max_super_chat, min_sc_alert_amount); save_super_chat('reset'); if (data.freemium != '') { $('#GenMsgModal').modal('show'); $('#GenMsgTxt').html(data.freemium); } } else { // added by AMR $('#live_post_comments_'+video_id).find("[live_comment_id='']").remove(); $('#GenMsgModal').modal('show'); $('#GenMsgTxt').html(data.error); } $("body").removeClass("ajax-loading"); // added by AMR $('#replyto-container').hide(); // added by AMR $(button).attr('disabled', false); }); } function cancelComment(button) { // added by AMR $('#comment-textarea').val('').css({"border-bottom":"1px solid #ccc", "height":"45px"}); $('#replyto-container').hide(); // added by AMR $('#comment_opts').slideUp('fast'); } $("#comment-textarea").focusin(function() { // added by AMR $('#comment_opts').slideDown('fast'); $(this).css('border-bottom', '1px solid #888'); // removed from issue 145 by AMR }); function PT_DeleteComment(id) { if (!id) { return false; } if (!confirm('Вы уверены, что хотите удалить свой комментарий?')) { return false; } $('#comment-' + id).slideUp('fast'); $.post('https://www.mgtow.tv/aj/delete-comment', {id: id}); } function PT_PinComment(id,pin){ if (!id) { return false; } let pinned_comments = $('#pinned-comment'); if (pin) { $("#comment-" + id).slideUp(200,function(){ Snackbar.show({text: 'Комментарий прикреплен к верхней части'}); }) } else{ pinned_comments.empty(); Snackbar.show({text: 'Комментарий откреплен'}); } $.post('https://www.mgtow.tv/aj/pin-comment', {id: id},function(data){ if (data.status == 200) { $("#comment-" + id).slideUp(100,function(){ $(this).remove(); pinned_comments.scrollTo(); }); pinned_comments.html(data.html); } else if(data.status == 304){ $("#video-user-comments").append(data.html); } }); } </script> </div> <div class="col-md-4 pull-right mobile"><!-- class no-padding-left removed by AMR because it did not make any sense for bottom live chat--> <div class="content"> <div class="next-video"> <div class="next-text pull-left pt_mn_wtch_nxttxt"> <h4><!--svg removed by AMR--> Следующий</h4> </div> <div class="pt_mn_wtch_switch pull-right"> <input id="autoplay-2" type="checkbox" class="tgl autoplay-video"> <label class="tgl-btn" for="autoplay-2">Автовоспроизведение</label> </div> <div class="pt_mn_wtch_switch pull-right"> <input id="stickyvideo" type="checkbox" class="tgl sticky-video-amr"> <label class="tgl-btn" for="stickyvideo" title="Sticky video that scrolls">Sticky</label> </div> <div class="clear"></div> </div> <div class="videos-list pt_mn_wtch_rlts_prnt pt_mn_wtch_upnxt_prnt" id="next-video"> <div class="video-wrapper top-video-wrapper pt_video_side_vids pt_pt_mn_wtch_rltvids" data-sidebar-video="289464"> <div class="video-thumb"> <a href="https://www.mgtow.tv/watch/put-in-some-stop-signs-and-4-way-speed-humps-ffs_sPTnB6q89fLvQEJ.html" data-load="?link1=watch&id=sPTnB6q89fLvQEJ"> <img src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 14'%3E%3C/svg%3E" data-src="https://cdn.mgtow.tv/upload/photos/2025/11/0d7c656442cc5b52f84ef51dc4222102811abee9XVcr1MynJeFywOElOhsh_thumb_high.jpg" alt="Put in some Stop Signs and 4 way speed humps FFS" class="lazy"><!-- data-src added by AMR for lazyload --> <div class="play_hover_btn" onmouseenter="show_gif(this,'https://cdn.mgtow.tv/upload/videos/2025/11/z6GAtMxa3ZY7NH6ALhYX_05_5936c02aed9f76efe3026da1747ac5fe2f4d5b9fb10f457ca92191a3768826_small_video_.gif')" onmouseleave="hide_gif(this)"> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-play-circle"><circle cx="12" cy="12" r="10"></circle><polygon points="10 8 16 12 10 16 10 8"></polygon></svg> </div> <div class="video-duration">0:55</div> </a> </div> <div class="video-title"> <a href="https://www.mgtow.tv/watch/put-in-some-stop-signs-and-4-way-speed-humps-ffs_sPTnB6q89fLvQEJ.html" data-load="?link1=watch&id=sPTnB6q89fLvQEJ">Put in some Stop Signs and 4 way speed humps FFS</a> </div> <div class="vid_pub_info"> <a href="https://www.mgtow.tv/@Life_N_Times_of_Shane_T_Hanson" data-load="?link1=timeline&id=Life_N_Times_of_Shane_T_Hanson"><span class="video-publisher"><img src="https://cdn.mgtow.tv/upload/photos/2023/11/zkVXYLCqUWy6N7WJ8U89_19_b727001b8901cf2e19a4a24c6fdd5442_image.jpeg"> Life_N_Times_of_Shane_T_Hanson</span></a> <span class="bold">|</span> <span class="video-views">9 Просмотры</span> </div> <div class="clear"></div> </div> </div> <br> <div class="related-header"> </div> <div class="videos-list related-videos pt_mn_wtch_rlts_prnt"> <div class="video-wrapper top-video-wrapper pt_video_side_vids pt_pt_mn_wtch_rltvids" data-sidebar-video="289459"> <div class="video-thumb"> <a href="https://www.mgtow.tv/watch/guess-who-039-s-scamming-the-system_2kjpM2CCV2GW8vH.html" data-load="?link1=watch&id=2kjpM2CCV2GW8vH"> <img src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 14'%3E%3C/svg%3E" data-src="https://cdn.mgtow.tv/upload/photos/2025/11/155bbc42d051f13bf40890ad4ba397d2450629c0l9NuevtEG4OQkoVuSY6G_thumb_high.jpg" alt="Guess who's scamming the system?" class="lazy"><!-- data-src added by AMR for lazyload --> <div class="play_hover_btn" onmouseenter="show_gif(this,'https://cdn.mgtow.tv/upload/videos/2025/11/xkzuL3ZkS5qakwRuRrIH_05_3e3e1a0b31367602075d4f237589cdf18ea0246d17b0ab0a95db319620b1dc_small_video_.gif')" onmouseleave="hide_gif(this)"> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-play-circle"><circle cx="12" cy="12" r="10"></circle><polygon points="10 8 16 12 10 16 10 8"></polygon></svg> </div> <div class="video-duration">6:35</div> </a> </div> <div class="video-title"> <a href="https://www.mgtow.tv/watch/guess-who-039-s-scamming-the-system_2kjpM2CCV2GW8vH.html" data-load="?link1=watch&id=2kjpM2CCV2GW8vH">Guess who's scamming the system?</a> </div> <div class="vid_pub_info"> <a href="https://www.mgtow.tv/@GonzoOg" data-load="?link1=timeline&id=GonzoOg"><span class="video-publisher"><img src="https://cdn.mgtow.tv/upload/photos/2024/04/okfGwF3MnyxHHoJ7GFvm_28_063cd7ecd1640fd108a1b8ae33c34b7b_image.jpg"> Gonzo Og</span></a> <span class="bold">|</span> <span class="video-views">12 Просмотры</span> </div> <div class="clear"></div> </div><div class="video-wrapper top-video-wrapper pt_video_side_vids pt_pt_mn_wtch_rltvids" data-sidebar-video="289457"> <div class="video-thumb"> <a href="https://www.mgtow.tv/watch/agentofsocialmediachaos-039-s-waifu-of-the-day-season-4-episode-308-ryナ耕a-niwa_CBUAjuaFKxRveFa.html" data-load="?link1=watch&id=CBUAjuaFKxRveFa"> <img src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 14'%3E%3C/svg%3E" data-src="https://cdn.mgtow.tv/upload/photos/2025/11/92c22bcc54dd924f0a38a14e52ea25057d46350bjVg617afwfbO1OzsUOrw_thumb_high.jpg" alt="AgentofSocialMediaChaos's Waifu of the Day Season 4 Episode 308 Ryōka Niwa" class="lazy"><!-- data-src added by AMR for lazyload --> <div class="play_hover_btn" onmouseenter="show_gif(this,'https://cdn.mgtow.tv/upload/videos/2025/11/tLMoIQxUjNiSbJrXu5bp_05_9f6cb5ea26032b20c33daa661ff41129db34871bec7e60c546bda50c9784c1_small_video_.gif')" onmouseleave="hide_gif(this)"> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-play-circle"><circle cx="12" cy="12" r="10"></circle><polygon points="10 8 16 12 10 16 10 8"></polygon></svg> </div> <div class="video-duration">0:42</div> </a> </div> <div class="video-title"> <a href="https://www.mgtow.tv/watch/agentofsocialmediachaos-039-s-waifu-of-the-day-season-4-episode-308-ryナ耕a-niwa_CBUAjuaFKxRveFa.html" data-load="?link1=watch&id=CBUAjuaFKxRveFa">AgentofSocialMediaChaos's Waifu of the Day Season 4 Episode 308 Ryōka Niwa</a> </div> <div class="vid_pub_info"> <a href="https://www.mgtow.tv/@AgentofSocialMediaChaos" data-load="?link1=timeline&id=AgentofSocialMediaChaos"><span class="video-publisher"><img src="https://cdn.mgtow.tv/upload/photos/2023/04/z5JIay4mX5CXs4IKZIJr_22_e6cb134db16591b0f22e4391ccbcc534_image.jpg"> AgentofSocialMediaChaos</span></a> <span class="bold">|</span> <span class="video-views">5 Просмотры</span> </div> <div class="clear"></div> </div><div class="video-wrapper top-video-wrapper pt_video_side_vids pt_pt_mn_wtch_rltvids" data-sidebar-video="289431"> <div class="video-thumb"> <a href="https://www.mgtow.tv/watch/when-they-flakeтаж-but-you-were-already-there-ёяшн_g9xDtfHPBACRq3y.html" data-load="?link1=watch&id=g9xDtfHPBACRq3y"> <img src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 14'%3E%3C/svg%3E" data-src="https://cdn.mgtow.tv/upload/photos/2025/11/60a12375d506c9d15c102b132e14013df0790d09MPaqsNtOkijgP5QB9lAq.video_thumb_high.jpg" alt="When They Flake… But You Were Already There 😭" class="lazy"><!-- data-src added by AMR for lazyload --> <div class="play_hover_btn" onmouseenter="show_gif(this,'https://cdn.mgtow.tv/upload/videos/2025/11/v6yqgqo_04_9250840d88caf11542e56fd3204048a9b1be6fed74e7b3998efa20de33e1dd_small_video_.gif')" onmouseleave="hide_gif(this)"> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-play-circle"><circle cx="12" cy="12" r="10"></circle><polygon points="10 8 16 12 10 16 10 8"></polygon></svg> </div> <div class="video-duration">7:02</div> </a> </div> <div class="video-title"> <a href="https://www.mgtow.tv/watch/when-they-flakeтаж-but-you-were-already-there-ёяшн_g9xDtfHPBACRq3y.html" data-load="?link1=watch&id=g9xDtfHPBACRq3y">When They Flake… But You Were Already There 😭</a> </div> <div class="vid_pub_info"> <a href="https://www.mgtow.tv/@Coach_Corey_Wayne" data-load="?link1=timeline&id=Coach_Corey_Wayne"><span class="video-publisher"><img src="https://cdn.mgtow.tv/upload/photos/2022/03/HswAVe9vF2t4bdeHUzck_15_12ae5b174a867d7cec25a48e03b19bb3_image.png"> Coach_Corey_Wayne</span></a> <span class="bold">|</span> <span class="video-views">6 Просмотры</span> </div> <div class="clear"></div> </div><div class="video-wrapper top-video-wrapper pt_video_side_vids pt_pt_mn_wtch_rltvids" data-sidebar-video="289430"> <div class="video-thumb"> <a href="https://www.mgtow.tv/watch/how-do-you-know-that-you-039-re-being-watched-when-you-039-re-on-a-government-watch-list-watch-this_oSb2fMlB9vJzGbO.html" data-load="?link1=watch&id=oSb2fMlB9vJzGbO"> <img src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 14'%3E%3C/svg%3E" data-src="https://cdn.mgtow.tv/upload/photos/2025/11/tMV6O94NtLiss8kv8bmu_04_1f77d64268b7df27d058987b12fdd56a_image_thumb_high.jpg" alt="how do you know that you're being watched when you're on a government watch list watch this video" class="lazy"><!-- data-src added by AMR for lazyload --> <div class="play_hover_btn" onmouseenter="show_gif(this,'https://cdn.mgtow.tv/upload/videos/2025/11/cikINo84LhG2N3FQRwa7_04_caae929e6382f12d372dabc053212c52b6a2cf792b3dea1a8734ee3b07a18a_small_video_.gif')" onmouseleave="hide_gif(this)"> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-play-circle"><circle cx="12" cy="12" r="10"></circle><polygon points="10 8 16 12 10 16 10 8"></polygon></svg> </div> <div class="video-duration">12:41</div> </a> </div> <div class="video-title"> <a href="https://www.mgtow.tv/watch/how-do-you-know-that-you-039-re-being-watched-when-you-039-re-on-a-government-watch-list-watch-this_oSb2fMlB9vJzGbO.html" data-load="?link1=watch&id=oSb2fMlB9vJzGbO">how do you know that you're being watched when you're on a government watch list watch this video</a> </div> <div class="vid_pub_info"> <a href="https://www.mgtow.tv/@GANG_STALKING_AUSTRLIA" data-load="?link1=timeline&id=GANG_STALKING_AUSTRLIA"><span class="video-publisher"><img src="https://cdn.mgtow.tv/upload/photos/2023/02/ld1qjrx3PFGNdFWeNeGH_05_fa8f098416e697b87caf18c8784684cf_image.jpg"> GANG_STALKING_AUSTRLIA</span></a> <span class="bold">|</span> <span class="video-views">2 Просмотры</span> </div> <div class="clear"></div> </div><div class="video-wrapper top-video-wrapper pt_video_side_vids pt_pt_mn_wtch_rltvids" data-sidebar-video="289411"> <div class="video-thumb"> <a href="https://www.mgtow.tv/watch/the-male-privilege-card-gt-mgtow_mdSepKxRMbaP5VK.html" data-load="?link1=watch&id=mdSepKxRMbaP5VK"> <img src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 14'%3E%3C/svg%3E" data-src="https://cdn.mgtow.tv/upload/photos/2025/11/rmupkDEcGe23ZFcfdhy4_04_db758485abad0f7f3b50643513c97609_image_thumb_high.jpg" alt="The Male Privilege Card --> MGTOW" class="lazy"><!-- data-src added by AMR for lazyload --> <div class="play_hover_btn" onmouseenter="show_gif(this,'https://cdn.mgtow.tv/upload/videos/2025/11/i7t48ULlQntie12t96a6_04_e573945ff5f1b0a97eb8ce33fbb90798f80b523cbde719b10a091944e86b03_small_video_.gif')" onmouseleave="hide_gif(this)"> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-play-circle"><circle cx="12" cy="12" r="10"></circle><polygon points="10 8 16 12 10 16 10 8"></polygon></svg> </div> <div class="video-duration">7:14</div> </a> </div> <div class="video-title"> <a href="https://www.mgtow.tv/watch/the-male-privilege-card-gt-mgtow_mdSepKxRMbaP5VK.html" data-load="?link1=watch&id=mdSepKxRMbaP5VK">The Male Privilege Card --> MGTOW</a> </div> <div class="vid_pub_info"> <a href="https://www.mgtow.tv/@4_ArchAngel" data-load="?link1=timeline&id=4_ArchAngel"><span class="video-publisher"><img src="https://cdn.mgtow.tv/upload/photos/2023/12/oVXXvLASa8QK2aVO8Nap_28_f493381cd2d0a250980e8cc5b2a5b223_image.jpg"> 4_ArchAngel</span></a> <span class="bold">|</span> <span class="video-views">15 Просмотры</span> </div> <div class="clear"></div> </div><div class="video-wrapper top-video-wrapper pt_video_side_vids pt_pt_mn_wtch_rltvids" data-sidebar-video="289408"> <div class="video-thumb"> <a href="https://www.mgtow.tv/watch/women-live-in-a-world-that-doesn-039-t-exist_sPWl5XrZE7w2Niz.html" data-load="?link1=watch&id=sPWl5XrZE7w2Niz"> <img src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 14'%3E%3C/svg%3E" data-src="https://cdn.mgtow.tv/upload/photos/2025/11/aX7vNkrvK6BrGEmlCE7t_04_e4e7969ad181a61bf4378cea6b7d7d8d_image_thumb_high.jpg" alt="Women Live In a World That Doesn't Exist" class="lazy"><!-- data-src added by AMR for lazyload --> <div class="play_hover_btn" onmouseenter="show_gif(this,'https://cdn.mgtow.tv/upload/videos/2025/11/2o4aviajtTCXLlCHDDYY_04_fca677d7bb88f218e76e191e6905b25fc822734d37cbfc57af520683ee897e_small_video_.gif')" onmouseleave="hide_gif(this)"> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-play-circle"><circle cx="12" cy="12" r="10"></circle><polygon points="10 8 16 12 10 16 10 8"></polygon></svg> </div> <div class="video-duration">16:14</div> </a> </div> <div class="video-title"> <a href="https://www.mgtow.tv/watch/women-live-in-a-world-that-doesn-039-t-exist_sPWl5XrZE7w2Niz.html" data-load="?link1=watch&id=sPWl5XrZE7w2Niz">Women Live In a World That Doesn't Exist</a> </div> <div class="vid_pub_info"> <a href="https://www.mgtow.tv/@NerokeFive" data-load="?link1=timeline&id=NerokeFive"><span class="video-publisher"><img src="https://cdn.mgtow.tv/upload/photos/2020/03/HO4hLkBfuR1Jq9Wj5gSI_24_2772036679601fde0609bae8fa5b9199_image.jpg"> NerokeFive</span></a> <span class="bold">|</span> <span class="video-views">34 Просмотры</span> </div> <div class="clear"></div> </div><div class="video-wrapper top-video-wrapper pt_video_side_vids pt_pt_mn_wtch_rltvids" data-sidebar-video="289407"> <div class="video-thumb"> <a href="https://www.mgtow.tv/watch/ai-is-already-enslaving-humanity-and-you-cannot-stop-it-tim-pool-reacts_br7MU581wkvJNX3.html" data-load="?link1=watch&id=br7MU581wkvJNX3"> <img src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 14'%3E%3C/svg%3E" data-src="https://cdn.mgtow.tv/upload/photos/2025/11/bfc251898bf493dd6a90a4b500069646e40e893cNZZO4aZ8kHFYitDk1dtj.video_thumb_high.jpg" alt="AI Is ALREADY Enslaving Humanity, And You Cannot Stop It | Tim Pool Reacts" class="lazy"><!-- data-src added by AMR for lazyload --> <div class="play_hover_btn" onmouseenter="show_gif(this,'https://cdn.mgtow.tv/upload/videos/2025/11/v6z1d0c_04_9ced25118f15dddf959e84ed89cd2d8bb6afe392e5725b7614245824e81e3d_small_video_.gif')" onmouseleave="hide_gif(this)"> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-play-circle"><circle cx="12" cy="12" r="10"></circle><polygon points="10 8 16 12 10 16 10 8"></polygon></svg> </div> <div class="video-duration">29:21</div> </a> </div> <div class="video-title"> <a href="https://www.mgtow.tv/watch/ai-is-already-enslaving-humanity-and-you-cannot-stop-it-tim-pool-reacts_br7MU581wkvJNX3.html" data-load="?link1=watch&id=br7MU581wkvJNX3">AI Is ALREADY Enslaving Humanity, And You Cannot Stop It | Tim Pool Reacts</a> </div> <div class="vid_pub_info"> <a href="https://www.mgtow.tv/@timpool" data-load="?link1=timeline&id=timpool"><span class="video-publisher"><img src="https://cdn.mgtow.tv/upload/photos/2022/07/O7bphQCeKB4Ss8PPWH22_31_6bee65b827f09bf94238ca5644751be7_image.jpg"> Tim Pool</span></a> <span class="bold">|</span> <span class="video-views">4 Просмотры</span> </div> <div class="clear"></div> </div><div class="video-wrapper top-video-wrapper pt_video_side_vids pt_pt_mn_wtch_rltvids" data-sidebar-video="289397"> <div class="video-thumb"> <a href="https://www.mgtow.tv/watch/oliver-stone-documentary-on-the-israeli-invasion-of-palestein-quot-persona-non-grata-quot_DjLGRvj2kXGfq2H.html" data-load="?link1=watch&id=DjLGRvj2kXGfq2H"> <img src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 14'%3E%3C/svg%3E" data-src="https://cdn.mgtow.tv/upload/photos/2025/11/c6d222f1ff2482a52b3802696d62c942b7dd7f45MRkqijn6L82Z5QJK3rOb_thumb_high.jpg" alt="Oliver Stone Documentary on the Israeli invasion of Palestein - "Persona Non Grata"" class="lazy"><!-- data-src added by AMR for lazyload --> <div class="play_hover_btn" onmouseenter="show_gif(this,'https://cdn.mgtow.tv/upload/videos/2025/11/J9zaE7SsGGuxbb4ivyb2_04_c817a72ed5f4629d1cc862d0b6d1267bf44ba1d337c9ac0df7eda788750663_small_video_.gif')" onmouseleave="hide_gif(this)"> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-play-circle"><circle cx="12" cy="12" r="10"></circle><polygon points="10 8 16 12 10 16 10 8"></polygon></svg> </div> <div class="video-duration">1:07:02</div> </a> </div> <div class="video-title"> <a href="https://www.mgtow.tv/watch/oliver-stone-documentary-on-the-israeli-invasion-of-palestein-quot-persona-non-grata-quot_DjLGRvj2kXGfq2H.html" data-load="?link1=watch&id=DjLGRvj2kXGfq2H">Oliver Stone Documentary on the Israeli invasion of Palestein - "Persona Non Grata"</a> </div> <div class="vid_pub_info"> <a href="https://www.mgtow.tv/@Life_N_Times_of_Shane_T_Hanson" data-load="?link1=timeline&id=Life_N_Times_of_Shane_T_Hanson"><span class="video-publisher"><img src="https://cdn.mgtow.tv/upload/photos/2023/11/zkVXYLCqUWy6N7WJ8U89_19_b727001b8901cf2e19a4a24c6fdd5442_image.jpeg"> Life_N_Times_of_Shane_T_Hanson</span></a> <span class="bold">|</span> <span class="video-views">7 Просмотры</span> </div> <div class="clear"></div> </div><div class="video-wrapper top-video-wrapper pt_video_side_vids pt_pt_mn_wtch_rltvids" data-sidebar-video="289393"> <div class="video-thumb"> <a href="https://www.mgtow.tv/watch/cops-harass-veteran-for-negative-posts-about-israel-you-039-re-not-allowed-to-criticize-with-james-c_RZ8pYYND8kFEZvI.html" data-load="?link1=watch&id=RZ8pYYND8kFEZvI"> <img src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 14'%3E%3C/svg%3E" data-src="https://cdn.mgtow.tv/upload/photos/2025/11/51c80e1e6a1b94f9fb662ce11d263599fa1f4b8bTq4pUSieNB8U4gQzmQMD_thumb_high.jpg" alt="Cops HARASS veteran for negative posts about israel you're not allowed to criticize with James Corbett" class="lazy"><!-- data-src added by AMR for lazyload --> <div class="play_hover_btn" onmouseenter="show_gif(this,'https://cdn.mgtow.tv/upload/videos/2025/11/9rdyATrv9FEki4kluQLj_04_388fda0685f3453b9239a7fbc4b34928624ef3baf43ccccf10502e57933106_small_video_.gif')" onmouseleave="hide_gif(this)"> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-play-circle"><circle cx="12" cy="12" r="10"></circle><polygon points="10 8 16 12 10 16 10 8"></polygon></svg> </div> <div class="video-duration">12:31</div> </a> </div> <div class="video-title"> <a href="https://www.mgtow.tv/watch/cops-harass-veteran-for-negative-posts-about-israel-you-039-re-not-allowed-to-criticize-with-james-c_RZ8pYYND8kFEZvI.html" data-load="?link1=watch&id=RZ8pYYND8kFEZvI">Cops HARASS veteran for negative posts about israel you're not allowed to criticize with James Corbett</a> </div> <div class="vid_pub_info"> <a href="https://www.mgtow.tv/@Life_N_Times_of_Shane_T_Hanson" data-load="?link1=timeline&id=Life_N_Times_of_Shane_T_Hanson"><span class="video-publisher"><img src="https://cdn.mgtow.tv/upload/photos/2023/11/zkVXYLCqUWy6N7WJ8U89_19_b727001b8901cf2e19a4a24c6fdd5442_image.jpeg"> Life_N_Times_of_Shane_T_Hanson</span></a> <span class="bold">|</span> <span class="video-views">9 Просмотры</span> </div> <div class="clear"></div> </div><div class="video-wrapper top-video-wrapper pt_video_side_vids pt_pt_mn_wtch_rltvids" data-sidebar-video="289392"> <div class="video-thumb"> <a href="https://www.mgtow.tv/watch/flipping-through-her-vaxx-list-and-it-suddenly-hits-her-maybe-she-039-s-a-bit-of-a-nut_PqiX1sulCKWA15w.html" data-load="?link1=watch&id=PqiX1sulCKWA15w"> <img src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 14'%3E%3C/svg%3E" data-src="https://cdn.mgtow.tv/upload/photos/2025/11/47fVrHvHTAdgnaFdIS94_04_b0f411d4200cfb7130dc0822a0a7c3bf_image_thumb_high.jpg" alt="Flipping through her Vaxx list and it suddenly hits her - maybe she's a bit of a nut" class="lazy"><!-- data-src added by AMR for lazyload --> <div class="play_hover_btn" onmouseenter="show_gif(this,'https://cdn.mgtow.tv/upload/videos/2025/11/MVJpfnRE98tp45DqcyKI_04_31319841cf1ae2cc913b3c10ff018f73afa2a1aaf5560498ef586cf0294c49_small_video_.gif')" onmouseleave="hide_gif(this)"> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-play-circle"><circle cx="12" cy="12" r="10"></circle><polygon points="10 8 16 12 10 16 10 8"></polygon></svg> </div> <div class="video-duration">1:17</div> </a> </div> <div class="video-title"> <a href="https://www.mgtow.tv/watch/flipping-through-her-vaxx-list-and-it-suddenly-hits-her-maybe-she-039-s-a-bit-of-a-nut_PqiX1sulCKWA15w.html" data-load="?link1=watch&id=PqiX1sulCKWA15w">Flipping through her Vaxx list and it suddenly hits her - maybe she's a bit of a nut</a> </div> <div class="vid_pub_info"> <a href="https://www.mgtow.tv/@Life_N_Times_of_Shane_T_Hanson" data-load="?link1=timeline&id=Life_N_Times_of_Shane_T_Hanson"><span class="video-publisher"><img src="https://cdn.mgtow.tv/upload/photos/2023/11/zkVXYLCqUWy6N7WJ8U89_19_b727001b8901cf2e19a4a24c6fdd5442_image.jpeg"> Life_N_Times_of_Shane_T_Hanson</span></a> <span class="bold">|</span> <span class="video-views">23 Просмотры</span> </div> <div class="clear"></div> </div><div class="video-wrapper top-video-wrapper pt_video_side_vids pt_pt_mn_wtch_rltvids" data-sidebar-video="289389"> <div class="video-thumb"> <a href="https://www.mgtow.tv/watch/ladies-how-039-s-your-love-life-doing_1h5mRRKjFaUme4n.html" data-load="?link1=watch&id=1h5mRRKjFaUme4n"> <img src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 14'%3E%3C/svg%3E" data-src="https://cdn.mgtow.tv/upload/photos/2025/11/JgTEqJIyRe14fpNGdzVQ_04_e20933247e5829e23221b745247b76de_image_thumb_high.jpg" alt="Ladies how's your love life doing?" class="lazy"><!-- data-src added by AMR for lazyload --> <div class="play_hover_btn" onmouseenter="show_gif(this,'https://cdn.mgtow.tv/upload/videos/2025/11/YGQ5hbExcYDuUD1rVdcJ_04_b0f014140c8167edbee3388e9ea5f6081693a8a3ffb48fe5a974fba4436fb8_small_video_.gif')" onmouseleave="hide_gif(this)"> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-play-circle"><circle cx="12" cy="12" r="10"></circle><polygon points="10 8 16 12 10 16 10 8"></polygon></svg> </div> <div class="video-duration">10:45</div> </a> </div> <div class="video-title"> <a href="https://www.mgtow.tv/watch/ladies-how-039-s-your-love-life-doing_1h5mRRKjFaUme4n.html" data-load="?link1=watch&id=1h5mRRKjFaUme4n">Ladies how's your love life doing?</a> </div> <div class="vid_pub_info"> <a href="https://www.mgtow.tv/@GonzoOg" data-load="?link1=timeline&id=GonzoOg"><span class="video-publisher"><img src="https://cdn.mgtow.tv/upload/photos/2024/04/okfGwF3MnyxHHoJ7GFvm_28_063cd7ecd1640fd108a1b8ae33c34b7b_image.jpg"> Gonzo Og</span></a> <span class="bold">|</span> <span class="video-views">10 Просмотры</span> </div> <div class="clear"></div> </div><div class="video-wrapper top-video-wrapper pt_video_side_vids pt_pt_mn_wtch_rltvids" data-sidebar-video="289385"> <div class="video-thumb"> <a href="https://www.mgtow.tv/watch/exposing-kids-to-allergens-is-a-good-thing_FRIRWZ2IB7hsfAC.html" data-load="?link1=watch&id=FRIRWZ2IB7hsfAC"> <img src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 14'%3E%3C/svg%3E" data-src="https://cdn.mgtow.tv/upload/photos/2025/11/d02f75c32c6271893f96bc14394ba1c046baa066arhUTTPbUvFMa2DyIAqf.video_thumb_high.jpg" alt="Exposing Kids to Allergens is a Good Thing" class="lazy"><!-- data-src added by AMR for lazyload --> <div class="play_hover_btn" onmouseenter="show_gif(this,'https://cdn.mgtow.tv/upload/videos/2025/11/v6z1338_04_e621a6a5e3c9e87dc03f4c049a19e28efa89153dc01e93e77016bf327316f2_small_video_.gif')" onmouseleave="hide_gif(this)"> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-play-circle"><circle cx="12" cy="12" r="10"></circle><polygon points="10 8 16 12 10 16 10 8"></polygon></svg> </div> <div class="video-duration">7:30</div> </a> </div> <div class="video-title"> <a href="https://www.mgtow.tv/watch/exposing-kids-to-allergens-is-a-good-thing_FRIRWZ2IB7hsfAC.html" data-load="?link1=watch&id=FRIRWZ2IB7hsfAC">Exposing Kids to Allergens is a Good Thing</a> </div> <div class="vid_pub_info"> <a href="https://www.mgtow.tv/@Styxhexenhammer666" data-load="?link1=timeline&id=Styxhexenhammer666"><span class="video-publisher"><img src="https://cdn.mgtow.tv/upload/photos/2022/06/Y9oKCad96vzsMQL2wkCG_15_0a9da76865a263f83bcf0f9120cc89f8_image.jpg"> Styxhexenhammer666</span></a> <span class="bold">|</span> <span class="video-views">3 Просмотры</span> </div> <div class="clear"></div> </div><div class="video-wrapper top-video-wrapper pt_video_side_vids pt_pt_mn_wtch_rltvids" data-sidebar-video="289384"> <div class="video-thumb"> <a href="https://www.mgtow.tv/watch/warmongering-traitor-rino-dick-cheney-finally-croaks-good-riddance_rm3idNKGwzvAspu.html" data-load="?link1=watch&id=rm3idNKGwzvAspu"> <img src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 14'%3E%3C/svg%3E" data-src="https://cdn.mgtow.tv/upload/photos/2025/11/a0e2fa887f6c38f4e3ad91ed8dfadca42315797daA31FL3yhjGbdCEEhlDu.video_thumb_high.jpg" alt="Warmongering Traitor RINO Dick Cheney Finally Croaks; Good Riddance" class="lazy"><!-- data-src added by AMR for lazyload --> <div class="play_hover_btn" onmouseenter="show_gif(this,'https://cdn.mgtow.tv/upload/videos/2025/11/v6z11xa_04_7238326065c73111b0e2f2d44d9e15155b719228d6821671cd1c2a9ff85c17_small_video_.gif')" onmouseleave="hide_gif(this)"> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-play-circle"><circle cx="12" cy="12" r="10"></circle><polygon points="10 8 16 12 10 16 10 8"></polygon></svg> </div> <div class="video-duration">7:02</div> </a> </div> <div class="video-title"> <a href="https://www.mgtow.tv/watch/warmongering-traitor-rino-dick-cheney-finally-croaks-good-riddance_rm3idNKGwzvAspu.html" data-load="?link1=watch&id=rm3idNKGwzvAspu">Warmongering Traitor RINO Dick Cheney Finally Croaks; Good Riddance</a> </div> <div class="vid_pub_info"> <a href="https://www.mgtow.tv/@Styxhexenhammer666" data-load="?link1=timeline&id=Styxhexenhammer666"><span class="video-publisher"><img src="https://cdn.mgtow.tv/upload/photos/2022/06/Y9oKCad96vzsMQL2wkCG_15_0a9da76865a263f83bcf0f9120cc89f8_image.jpg"> Styxhexenhammer666</span></a> <span class="bold">|</span> <span class="video-views">7 Просмотры</span> </div> <div class="clear"></div> </div><div class="video-wrapper top-video-wrapper pt_video_side_vids pt_pt_mn_wtch_rltvids" data-sidebar-video="289429"> <div class="video-thumb"> <a href="https://www.mgtow.tv/watch/1950-s-marriage-is-not-coming-back-to-save-you-mitches-religious-betas-lose-big_xJ3zkdPoXgpfaL9.html" data-load="?link1=watch&id=xJ3zkdPoXgpfaL9"> <img src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 14'%3E%3C/svg%3E" data-src="https://cdn.mgtow.tv/upload/photos/2025/11/26b3a6ccaced144b67fce49a3df56dcb65a64bafjcIkp9cHe5eGXSp18uGV.video_thumb_high.jpg" alt="1950's Marriage Is Not Coming Back To Save You Mitches | Religious Betas Lose BIG" class="lazy"><!-- data-src added by AMR for lazyload --> <div class="play_hover_btn" onmouseenter="show_gif(this,'https://cdn.mgtow.tv/upload/videos/2025/11/v6z10z4_04_731e01dcd49303199aed7295cd7e32936763b32820cb63e6410e0425b4eab2_small_video_.gif')" onmouseleave="hide_gif(this)"> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-play-circle"><circle cx="12" cy="12" r="10"></circle><polygon points="10 8 16 12 10 16 10 8"></polygon></svg> </div> <div class="video-duration">5:16:42</div> </a> </div> <div class="video-title"> <a href="https://www.mgtow.tv/watch/1950-s-marriage-is-not-coming-back-to-save-you-mitches-religious-betas-lose-big_xJ3zkdPoXgpfaL9.html" data-load="?link1=watch&id=xJ3zkdPoXgpfaL9">1950's Marriage Is Not Coming Back To Save You Mitches | Religious Betas Lose BIG</a> </div> <div class="vid_pub_info"> <a href="https://www.mgtow.tv/@coachgregdams" data-load="?link1=timeline&id=coachgregdams"><span class="video-publisher"><img src="https://cdn.mgtow.tv/upload/photos/2022/04/l9jjreHQbshVktmdtlA3_01_14a4eb377091e85479294a546cecae8d_image.jpg"> coachgregdams</span></a> <span class="bold">|</span> <span class="video-views">1 Просмотры</span> </div> <div class="clear"></div> </div><div class="video-wrapper top-video-wrapper pt_video_side_vids pt_pt_mn_wtch_rltvids" data-sidebar-video="289365"> <div class="video-thumb"> <a href="https://www.mgtow.tv/watch/the-damage-is-not-in-what-happens-to-you_fF3EeU6ZjIxOdyz.html" data-load="?link1=watch&id=fF3EeU6ZjIxOdyz"> <img src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 14'%3E%3C/svg%3E" data-src="https://cdn.mgtow.tv/upload/photos/2025/11/dfeba42707c8cdd9de51817eef827b390fb59127E7LSqEHTvJZpFcUs3hxH.video_thumb_high.jpg" alt="The Damage Is Not in What Happens to You..." class="lazy"><!-- data-src added by AMR for lazyload --> <div class="play_hover_btn" onmouseenter="show_gif(this,'https://cdn.mgtow.tv/upload/videos/2025/11/v6z0eqe_04_b384b7275a98d2d17ad9073bd5597ca5bf47db646b52f1001f2571026b0e60_small_video_.gif')" onmouseleave="hide_gif(this)"> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-play-circle"><circle cx="12" cy="12" r="10"></circle><polygon points="10 8 16 12 10 16 10 8"></polygon></svg> </div> <div class="video-duration">0:41</div> </a> </div> <div class="video-title"> <a href="https://www.mgtow.tv/watch/the-damage-is-not-in-what-happens-to-you_fF3EeU6ZjIxOdyz.html" data-load="?link1=watch&id=fF3EeU6ZjIxOdyz">The Damage Is Not in What Happens to You...</a> </div> <div class="vid_pub_info"> <a href="https://www.mgtow.tv/@Stefan_Molyneux" data-load="?link1=timeline&id=Stefan_Molyneux"><span class="video-publisher"><img src="https://cdn.mgtow.tv/upload/photos/2022/07/CVRTINIRjO5hwdWE45So_31_8a413bcf9e110734ea0ff28bd3c7f623_image.jpg"> Stefan Molyneux</span></a> <span class="bold">|</span> <span class="video-views">2 Просмотры</span> </div> <div class="clear"></div> </div><div class="video-wrapper top-video-wrapper pt_video_side_vids pt_pt_mn_wtch_rltvids" data-sidebar-video="289364"> <div class="video-thumb"> <a href="https://www.mgtow.tv/watch/should-we-be-the-strong-men-to-make-good-times-or-sit-this-one-out_9BZ3FLwEoHpgN3A.html" data-load="?link1=watch&id=9BZ3FLwEoHpgN3A"> <img src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 14'%3E%3C/svg%3E" data-src="https://cdn.mgtow.tv/upload/photos/2025/11/779c3515aa138856676a2c1d8f17fb44b43511482Y4xGULtVeBRY4oUoQGN.video_thumb_high.jpg" alt="Should we be the strong men to make good times, or sit this one out?" class="lazy"><!-- data-src added by AMR for lazyload --> <div class="play_hover_btn" onmouseenter="show_gif(this,'https://cdn.mgtow.tv/upload/videos/2025/11/v6z0da2_04_f203d0963d10c23ca9c8faabd74a9cdd7f6197c030651a1d27ac618f5c0854_small_video_.gif')" onmouseleave="hide_gif(this)"> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-play-circle"><circle cx="12" cy="12" r="10"></circle><polygon points="10 8 16 12 10 16 10 8"></polygon></svg> </div> <div class="video-duration">38:13</div> </a> </div> <div class="video-title"> <a href="https://www.mgtow.tv/watch/should-we-be-the-strong-men-to-make-good-times-or-sit-this-one-out_9BZ3FLwEoHpgN3A.html" data-load="?link1=watch&id=9BZ3FLwEoHpgN3A">Should we be the strong men to make good times, or sit this one out?</a> </div> <div class="vid_pub_info"> <a href="https://www.mgtow.tv/@Better_Bachelor" data-load="?link1=timeline&id=Better_Bachelor"><span class="video-publisher"><img src="https://cdn.mgtow.tv/upload/photos/2020/05/jhXdlO6d2cJGp8GZEa2c_17_ab1ef705e0240f6245fe2cfea2d296c3_image.png"> Better Bachelor</span></a> <span class="bold">|</span> <span class="video-views">65 Просмотры</span> </div> <div class="clear"></div> </div><div class="video-wrapper top-video-wrapper pt_video_side_vids pt_pt_mn_wtch_rltvids" data-sidebar-video="289352"> <div class="video-thumb"> <a href="https://www.mgtow.tv/watch/agentofsocialmediachaos-039-s-waifu-of-the-day-season-4-episode-307-illy_fgzdU8UHLgvVo2T.html" data-load="?link1=watch&id=fgzdU8UHLgvVo2T"> <img src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 14'%3E%3C/svg%3E" data-src="https://cdn.mgtow.tv/upload/photos/2025/11/8a413243891e8c550a7e3c494d2f745740cf5aaaEtHhTmb3LSkGQDORSKEH_thumb_high.jpg" alt="AgentofSocialMediaChaos's Waifu of the Day Season 4 Episode 307 Illy" class="lazy"><!-- data-src added by AMR for lazyload --> <div class="play_hover_btn" onmouseenter="show_gif(this,'https://cdn.mgtow.tv/upload/videos/2025/11/xPD3B7drhagAXfP3chLd_04_7701975e06a0423129e12606659b92ccc3b7c810a03e4b18c0c5855ea1c7ff_small_video_.gif')" onmouseleave="hide_gif(this)"> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-play-circle"><circle cx="12" cy="12" r="10"></circle><polygon points="10 8 16 12 10 16 10 8"></polygon></svg> </div> <div class="video-duration">1:06</div> </a> </div> <div class="video-title"> <a href="https://www.mgtow.tv/watch/agentofsocialmediachaos-039-s-waifu-of-the-day-season-4-episode-307-illy_fgzdU8UHLgvVo2T.html" data-load="?link1=watch&id=fgzdU8UHLgvVo2T">AgentofSocialMediaChaos's Waifu of the Day Season 4 Episode 307 Illy</a> </div> <div class="vid_pub_info"> <a href="https://www.mgtow.tv/@AgentofSocialMediaChaos" data-load="?link1=timeline&id=AgentofSocialMediaChaos"><span class="video-publisher"><img src="https://cdn.mgtow.tv/upload/photos/2023/04/z5JIay4mX5CXs4IKZIJr_22_e6cb134db16591b0f22e4391ccbcc534_image.jpg"> AgentofSocialMediaChaos</span></a> <span class="bold">|</span> <span class="video-views">6 Просмотры</span> </div> <div class="clear"></div> </div><div class="video-wrapper top-video-wrapper pt_video_side_vids pt_pt_mn_wtch_rltvids" data-sidebar-video="289321"> <div class="video-thumb"> <a href="https://www.mgtow.tv/watch/man-kills-gf-because-he-thinks-she-039-s-a-cheater_JYYZY8tpiBRobp5.html" data-load="?link1=watch&id=JYYZY8tpiBRobp5"> <img src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 14'%3E%3C/svg%3E" data-src="https://cdn.mgtow.tv/upload/photos/2025/11/k5sReeAu1GnIsE7JTB8c_03_fcb4a768b39ae9901e8c176ccf877d82_image_thumb_high.jpg" alt="Man Kills GF Because He Thinks She's A Cheater" class="lazy"><!-- data-src added by AMR for lazyload --> <div class="play_hover_btn" onmouseenter="show_gif(this,'https://cdn.mgtow.tv/upload/videos/2025/11/UHTaQeQMYRHmzdFstst7_03_2fde986f21827a2a2bed9daae28132e36567461510c9d9df0482c6b732d6ff_small_video_.gif')" onmouseleave="hide_gif(this)"> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-play-circle"><circle cx="12" cy="12" r="10"></circle><polygon points="10 8 16 12 10 16 10 8"></polygon></svg> </div> <div class="video-duration">1:36</div> </a> </div> <div class="video-title"> <a href="https://www.mgtow.tv/watch/man-kills-gf-because-he-thinks-she-039-s-a-cheater_JYYZY8tpiBRobp5.html" data-load="?link1=watch&id=JYYZY8tpiBRobp5">Man Kills GF Because He Thinks She's A Cheater</a> </div> <div class="vid_pub_info"> <a href="https://www.mgtow.tv/@Life_N_Times_of_Shane_T_Hanson" data-load="?link1=timeline&id=Life_N_Times_of_Shane_T_Hanson"><span class="video-publisher"><img src="https://cdn.mgtow.tv/upload/photos/2023/11/zkVXYLCqUWy6N7WJ8U89_19_b727001b8901cf2e19a4a24c6fdd5442_image.jpeg"> Life_N_Times_of_Shane_T_Hanson</span></a> <span class="bold">|</span> <span class="video-views">47 Просмотры</span> </div> <div class="clear"></div> </div><div class="video-wrapper top-video-wrapper pt_video_side_vids pt_pt_mn_wtch_rltvids" data-sidebar-video="289287"> <div class="video-thumb"> <a href="https://www.mgtow.tv/watch/pov-you-escaped-the-matrix-the-weekend-after-hours_MZonjw7uWwjco7G.html" data-load="?link1=watch&id=MZonjw7uWwjco7G"> <img src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 14'%3E%3C/svg%3E" data-src="https://cdn.mgtow.tv/upload/photos/2025/11/4b2b59397c2ae209d12b70195d4acfd6c131f333WV67YUtYWhUjvME3gVu4.video_thumb_high.jpg" alt="POV you escaped the matrix "The Weekend After Hours"" class="lazy"><!-- data-src added by AMR for lazyload --> <div class="play_hover_btn" onmouseenter="show_gif(this,'https://cdn.mgtow.tv/upload/videos/2025/11/v6yy1yw_03_138d9cfdc7e0b7e2f536ffe654bcef2be9a1d22368a0ec5ee684cdb3293293_small_video_.gif')" onmouseleave="hide_gif(this)"> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-play-circle"><circle cx="12" cy="12" r="10"></circle><polygon points="10 8 16 12 10 16 10 8"></polygon></svg> </div> <div class="video-duration">6:06</div> </a> </div> <div class="video-title"> <a href="https://www.mgtow.tv/watch/pov-you-escaped-the-matrix-the-weekend-after-hours_MZonjw7uWwjco7G.html" data-load="?link1=watch&id=MZonjw7uWwjco7G">POV you escaped the matrix "The Weekend After Hours"</a> </div> <div class="vid_pub_info"> <a href="https://www.mgtow.tv/@420Jon69" data-load="?link1=timeline&id=420Jon69"><span class="video-publisher"><img src="https://cdn.mgtow.tv/upload/photos/2022/04/vveZVUXmb62GSc5td3M3_16_72f63104e9b589dfdd47d0a80f691e0e_image.jpeg"> 420Jon69</span></a> <span class="bold">|</span> <span class="video-views">11 Просмотры</span> </div> <div class="clear"></div> </div> </div> </div> </div> <div class="clear"></div> </div> </div> <!-- added by AMR--> <div class="modal fade matdialog" id="boostVideo" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> <h5 class="modal-title" id="exampleModalLabel">Boost Donation</h5> </div> <div class="modal-body"> <small style="display: inherit;"> The maximum you can donate is <span class="max_boost_video"></span>. <a href="https://www.mgtow.tv/wallet" target="_new">Click to add more money</a>. Donate USD 5 or more and get 30 days banner ad free viewing! </small> <br/> <input type="text" id="boost_video_donation" placeholder="Donation amount in USD" class="form-control number_only" autocomplete="off" autofocus /> </div> <div class="modal-footer"> <button type="button" class="matbtn btn btn-primary" onclick="save_boost_video()">Boost</button> </div> </div> </div> </div> <input id="is_live_content" type="hidden" value=""> <!-- added by AMR lets us now if live for the whole app --> <div class="modal fade matdialog" id="stripe_modal" role="dialog" data-keyboard="false" style="overflow-y: auto;"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"><!--opaccity below added by AMR--> <button type="button" class="close" style="opacity: 1 !important;" data-dismiss="modal" aria-label="Close"><span aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg></span></button> <h4 class="modal-title">Кредитная карта *</h4> </div> <form class="form form-horizontal" method="post" id="stripe_form" action="#"> <div class="modal-body twocheckout_modal"> <div id="stripe_alert"></div> <div class="clear"></div> <div class="sun_input col-md-6"> <label>имя</label> <input class="form-control shop_input" type="text" placeholder="имя" value="{{ME name}}" id="stripe_name"> </div> <div class="sun_input col-md-6"> <label>E-mail</label> <input class="form-control shop_input" type="email" placeholder="E-mail" value="{{ME email}}" id="stripe_email"> </div> <div class="clear"></div> <div class="sun_input col-md-6"> <label>Сумма</label> <input class="form-control shop_input" type="text" placeholder="Сумма" value="" id="stripe_amount"> </div> <div class="sun_input col-md-6"> <label>Пожертвование платформы</label> <input class="form-control shop_input" type="email" placeholder="Пожертвование платформы" value="" id="stripe_dono"> </div> <div class="clear"></div> <hr> <div class="row two_check_card"> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M20,8H4V6H20M20,18H4V12H20M20,4H4C2.89,4 2,4.89 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V6C22,4.89 21.1,4 20,4Z" /></svg> <div class="sun_input col-xs-12"> <input id="stripe_number" class="form-control shop_input" type="text" placeholder="Номер карты"> </div> <div class="sun_input col-xs-4"> <select id="stripe_month" type="text" class="form-control shop_input" autocomplete="off" placeholder=" (01)"> <option value="01">01</option> <option value="02">02</option> <option value="03">03</option> <option value="04">04</option> <option value="05">05</option> <option value="06">06</option> <option value="07">07</option> <option value="08">08</option> <option value="09">09</option> <option value="10">10</option> <option value="11">11</option> <option value="12">12</option> </select> </div> <div class="sun_input col-xs-4 no-padding-both"> <select id="stripe_year" type="text" class="form-control shop_input" autocomplete="off" placeholder=" (2019)"> <option value="2025">2025</option> <option value="2026">2026</option> <option value="2027">2027</option> <option value="2028">2028</option> <option value="2029">2029</option> <option value="2030">2030</option> <option value="2031">2031</option> <option value="2032">2032</option> <option value="2033">2033</option> <option value="2034">2034</option> <option value="2035">2035</option> <option value="2036">2036</option> <option value="2037">2037</option> <option value="2038">2038</option> <option value="2039">2039</option> <option value="2040">2040</option> </select> </div> <div class="sun_input col-xs-4"><!--max length below changed from 3 to 4 by AMR--> <input id="stripe_cvc" type="text" class="form-control shop_input" autocomplete="off" placeholder="CVC" maxlength="4" oninput="this.value = this.value.replace(/[^0-9.]/g, '').replace(/(\..*)\./g, '$1');"> </div> <small>* Credit cards are not saved or processed by us. We charge under OpenTaxi.</small><!-- added by AMR--> </div> <div class="clear"></div> </div> <div class="clear"></div> <div class="modal-footer"> <div class="ball-pulse"><div></div><div></div><div></div></div> <button type="button" class="btn btn-main" onclick="SH_StripeCardRequest()" id="stripe_btn">платить</button> </div> </form> </div> </div> </div> <script type="text/javascript" charset="utf8" src="https://www.mgtow.tv/themes/default/js/jquery.fitvids.js?v=2"></script><!-- added by AMR--> <script type="text/javascript"> var member_status = ''; // added by AMR var ad_will_play = false; // added by AMR var is_sticky_shown = false; // added by AMR var is_live = false; var live_timer = null; var live_countdown = null; var scheduled_live = $("#the-final-countdown").html(); // added by AMR up here because scheduled can be videos! var device_type = "desktop"; if (typeof scheduled_live !== "undefined") { var scheduled_live = scheduled_live.replace(/[^0-9.]/g, ''); if (scheduled_live.length == 10 && isNaN(scheduled_live)===false) { set_live_schedule(scheduled_live); live_timer = setInterval(set_live_timer, 5000); } } function live_count_down(scheduled_live){ var b_width = $(window).width(); var seconds = document.getElementById("live-counter").textContent; seconds--; document.getElementById("live-counter").textContent = seconds; if(b_width > 767) { $("#live-on-air-in").html(secondsToHms(seconds)); } else { $("#live-on-air-in").html(secondsToHmsForm(seconds)); } if (seconds <= 0) { clearInterval(live_countdown); } } function set_live_schedule(scheduled_live){ let unix_timestamp = scheduled_live; var date = new Date(unix_timestamp * 1000); var hours = date.getHours(); var minutes = "0" + date.getMinutes(); var formattedTime = date +' '+hours + ':' + minutes.substr(-2); $("#the-final-countdown").html(date.toLocaleString()); } function set_live_timer(){ // added by AMR $.get('https://www.mgtow.tv/aj/check-video-status', {id: $('#video-id').val(), action: 'check_live'}, function(data) { var status = data.status; var scheduled = data.scheduled; var diff = data.diff; if (data.status == 400) { // not supposed to happen location.reload(); } if (data.status == 'go_time') { $(".live-stream-countdown").hide(); clearInterval(live_timer); // stop the interval clearInterval(live_countdown); return; } if (scheduled !== false) { set_live_schedule(scheduled); $("#live-counter").html(diff); if (typeof live_countdown != 'number') { live_countdown = setInterval(live_count_down, 1000); } } }); } var max_boost_video = 0; var platform_currency = 'USD'; function save_boost_video() { // added by AMR var video_id = $('#video-id').val(); if (!video_id) { return false; } var amount = $('#boost_video_donation').val(); if (!amount) { amount = 0; } if (amount == '' || amount < 1) { $('#boost_video_donation').val(''); } else { $.ajax({ url: 'https://www.mgtow.tv/aj/go_pro/curate_wallet', type: 'POST', dataType: 'json', data: {video_id: video_id, amount: amount}, }) .done(function(data) { if (data.status == 200) { document.location.href = data.url; } else{ var msg = (data.status) ? data.status : "Что-то пошло не так. Пожалуйста, повторите попытку позже!"; swal({ title:"Ошибка!", text:msg, type:"error" }) } }) .fail(function() { console.log("video watch boost error #761"); }); } $('#boostVideo').modal('hide'); } function boost_video() { // added by AMR $("#boost_video_donation").focus(); $('#boostVideo').modal(); } function publisher_name(first_load = false) { // added by AMR var b_width = $(window).width(); var attr = $('.publisher-name a').attr('href'); // gets the actual value var prop = $('.publisher-name a').prop('href'); // gets the full URL always var text = $('.publisher-name a').text(); // gets the full URL always var val = $('.publisher-name a').val(); // gets the full URL always var html = $('.publisher-name a').html(); // gets the full URL always var length = text.length; var verified = ''; var v_icon = '<i class="fa fa-check-circle fa-fw verified"></i>'; if(typeof html === "undefined") { return; } if (html.toLowerCase().indexOf(v_icon) >= 0) { verified = v_icon; } if(first_load === true) { $('#orig_pub_name').val(text); } else { $('.publisher-name a').html($('#orig_pub_name').val()+verified); } if(b_width < 300){ $('.publisher-name a').each(function(index, value) { var trunker = truncate($(this).text(), 14); if (trunker == '...') { $(this).html($(this).text().substring(0, 13)+"..."+verified); } else { $(this).html(trunker+verified); } }); } else if (b_width < 321) { $('.publisher-name a').each(function(index, value) { var trunker = truncate($(this).text(), 19); if (trunker == '...') { $(this).html($(this).text().substring(0, 18)+"..."+verified); } else { $(this).html(trunker+verified); } }); } else if(b_width < 361){ $('.publisher-name a').each(function(index, value) { var trunker = truncate($(this).text(), 20); if (trunker == '...') { $(this).html($(this).text().substring(0, 19)+"..."+verified); } else { $(this).html(trunker+verified); } }); } else if(b_width < 385){ $('.publisher-name a').each(function(index, value) { var trunker = truncate($(this).text(), 21); if (trunker == '...') { $(this).html($(this).text().substring(0, 20)+"..."+verified); } else { $(this).html(trunker+verified); } }); } else if(b_width < 394){ $('.publisher-name a').each(function(index, value) { var trunker = truncate($(this).text(), 23); if (trunker == '...') { $(this).html($(this).text().substring(0, 22)+"..."+verified); } else { $(this).html(trunker+verified); } }); } else if(b_width < 399){ $('.publisher-name a').each(function(index, value) { var trunker = truncate($(this).text(), 24); if (trunker == '...') { $(this).html($(this).text().substring(0, 23)+"..."+verified); } else { $(this).html(trunker+verified); } }); } else if(b_width < 407){ $('.publisher-name a').each(function(index, value) { var trunker = truncate($(this).text(), 25); if (trunker == '...') { $(this).html($(this).text().substring(0, 24)+"..."+verified); } else { $(this).html(trunker+verified); } }); } else if(b_width < 415){ $('.publisher-name a').each(function(index, value) { var trunker = truncate($(this).text(), 26); if (trunker == '...') { $(this).html($(this).text().substring(0, 25)+"..."+verified); } else { $(this).html(trunker+verified); } }); } else if(b_width < 435){ $('.publisher-name a').each(function(index, value) { var trunker = truncate($(this).text(), 28); if (trunker == '...') { $(this).html($(this).text().substring(0, 27)+"..."+verified); } else { $(this).html(trunker+verified); } }); } else if(b_width < 451){ // should not happen... $('.publisher-name a').each(function(index, value) { var trunker = truncate($(this).text(), 30); if (trunker == '...') { $(this).html($(this).text().substring(0, 29)+"..."+verified); } else { $(this).html(trunker+verified); } }); } else { if(first_load !== true) { $('.publisher-name a').html($('#orig_pub_name').val()+verified); } } $(".publisher-element").css("visibility", "visible"); $("body").removeClass("ajax-loading"); // added by AMR better of when video loads? console.log('attr: '+attr+'\nprop: '+prop+'\nval: '+val+'\ntext: '+text+'\nhtml: '+html+'\nb_width: '+b_width+'\nlength: '+length) } $(document).ready(function(){ // added by AMR var b_width = $(window).width(); if (b_width > 1023) { $('#device_type_watch_amr').val('desktop'); } else { $('#device_type_watch_amr').val('mobile'); } var visibleId = $('.grupoembed:visible').prop('id'); if (typeof visibleId !== "undefined") { $('#'+visibleId+' iframe').attr('src', ''); } $(".player-video").fitVids(); set_live_chat(); $(".number_only").inputFilter(function(value) { // added by AMR return /^\d*$/.test(value) && (value === "" || parseInt(value) <= max_boost_video); }); $('.max_boost_video').html(platform_currency+' '+max_boost_video); // added by AMR }); function set_live_chat(type='') { // added by AMR return; var old_device = $('#device_type_watch_amr').val(); var b_width = $(window).width(); var b_height = $(window).height(); var v_height = $('.player-video iframe').height(); var orientation = $('#orientation').val(); var iframe = $('.grupoembed:visible').prop('id'); if (typeof iframe === "undefined") { iframe = false; } $('.grupoembed iframe').css({height: v_height+'px'}); if (type=='mobile') { if (old_device != 'mobile') { $("body").addClass("ajax-loading"); // added by AMR setTimeout(function(){window.location.reload();}); return; } var c_height = b_height - v_height; $('.grupoembed iframe').css({height: c_height+'px'}); $('#live-chat-iframe-btn').show(); $('.pt_footer').hide(); } else if (b_width < 1024) { // if is not an actual device and just screen resizing may not function right... var c_height = b_height - v_height; $('.grupoembed iframe').css({height: c_height+'px'}); $('.chat-mobile-iframe').hide(); $('.fixed-action-btn').hide(); $('#live-chat-iframe-btn').show(); $('.pt_footer').hide(); } else if (type=='desktop') { if (old_device != 'desktop') { $("body").addClass("ajax-loading"); // added by AMR setTimeout(function(){window.location.reload();}); return; } $('.chat-mobile-iframe').show(); setTimeout(function () { $('.grupoembed iframe').css({height: v_height+'px'}); }, 300); } if (orientation == 'landscape' && iframe !== false) { $('.grupoembed iframe').css({height: '100vh'}); } } jQuery(document).ready(function($) { try { // added by AMR the try statement thus the php may not be needed above... const video = document.querySelector('video'); video.addEventListener('timeupdate', (event) => { end_time = parseInt((video.duration * 99) / 100); currentTime = parseInt(video.currentTime); if($('.card_end').length > 0 && currentTime === end_time){ $('.card_end').slideDown(); HideCard('card_end'); } ad_date = ''; minutes = parseInt(video.currentTime / 60, 10); seconds = parseInt(video.currentTime % 60); if (minutes < 10 && minutes > 0) { ad_date = '0'+minutes+'_'; } else if (minutes > 9) { ad_date = minutes+'_'; } else if (minutes == 0) { ad_date = '00_'; } if (seconds < 10 && seconds > 0) { ad_date = ad_date + '0'+seconds; } else if (seconds > 9) { ad_date = ad_date + seconds; } else if (seconds == 0) { ad_date = ad_date + '00'; } if($('.card_'+ad_date).length > 0){ $('.card_'+ad_date).slideDown(); HideCard('card_'+ad_date); } }); } catch(error) { console.log('Error #1068 in /var/www/mgtow/themes/default/layout/watch/content.html: '+error); } }); var stripe_array = []; Stripe.setPublishableKey('pk_live_LLypTiwSWdgLt0TGsTZqGrJw'); function SH_StripeCardRequest() { $('#stripe_btn').text("Пожалуйста, подождите.."); $('#stripe_btn').attr('disabled', 'true'); if ($("#stripe_name").val() != '' && $("#stripe_email").val() != '' && $("#stripe_number").val() != '' && $("#stripe_month").val() != '' && $("#stripe_year").val() != '' && $("#stripe_cvc").val() != '') { stripe_array['stripe_name'] = $('#stripe_name').val(); stripe_array['stripe_email'] = $('#stripe_email').val(); stripe_array['stripe_number'] = $('#stripe_number').val(); stripe_array['stripe_month'] = $('#stripe_month').val(); stripe_array['stripe_year'] = $('#stripe_year').val(); stripe_array['stripe_cvc'] = $('#stripe_cvc').val(); Stripe.createToken({ number: $('#stripe_number').val(), exp_month: $('#stripe_month').val(), exp_year: $('#stripe_year').val(), cvc: $('#stripe_cvc').val() }, SH_StripeCardResponseHandler); } else{ $('#stripe_alert').html('<div class="alert alert-danger">Пожалуйста, проверьте детали</div>'); $('#stripe_btn').text("платить"); $('#stripe_btn').removeAttr('disabled'); } } function SH_StripeCardResponseHandler(status, response) { if (response.error) { $('#stripe_alert').html('<div class="alert alert-danger">'+response.error.message+'</div>'); $('#stripe_btn').text("платить"); $('#stripe_btn').removeAttr('disabled'); } else { stripe_array['token'] = response.id; if (stripe_array['user_id'] > 0) { $.post('https://www.mgtow.tv/aj/go_pro/subscribe', {'stripe_name': stripe_array['stripe_name'],'stripe_email': stripe_array['stripe_email'],'stripe_number': stripe_array['stripe_number'],'stripe_month': stripe_array['stripe_month'],'stripe_year': stripe_array['stripe_year'],'stripe_cvc': stripe_array['stripe_cvc'],stripeToken:stripe_array['token'],user_id: stripe_array['user_id'],type:'stripe'}, function (data) { if (data.status == 200) { window.location.href = data.url; } else { $('#stripe_alert').html('<div class="alert alert-danger"><i class="fa fa-spin fa-spinner"></i> Платеж отклонен, повторите попытку позже.</div>'); } }); } else{ $.post('https://www.mgtow.tv/aj/go_pro/stripe_pay_to_see', {'stripe_name': stripe_array['stripe_name'],'stripe_email': stripe_array['stripe_email'],'stripe_number': stripe_array['stripe_number'],'stripe_month': stripe_array['stripe_month'],'stripe_year': stripe_array['stripe_year'],'stripe_cvc': stripe_array['stripe_cvc'],stripeToken:stripe_array['token'],video_id: '17553',pay_type: stripe_array['pay_type']}, function (data) { if (data.status == 200) { window.location.href = data.url; } else { $('#stripe_alert').html('<div class="alert alert-danger"><i class="fa fa-spin fa-spinner"></i> Платеж отклонен, повторите попытку позже.</div>'); } }); } } } function PT_OpenStripe(pkg,self,video_id = 0,price = 0,user_id = 0){ $('#pay-go-pro').modal('hide'); $('#stripe_modal').modal('show'); stripe_array['video_id'] = video_id; stripe_array['user_id'] = user_id; if (pkg == 'rent') { stripe_array['pay_type'] = 'rent'; } else if (pkg == 'curate') {// added by AMR stripe_array['pay_type'] = 'curate'; } else{ stripe_array['pay_type'] = ''; } } var sources = []; for (var i = 0 ; i < $('video').find('source').length; i++) { if ($($('video').find('source')[i]).attr('res') == 'mp3') { sources[i] = $($('video').find('source')[i]).attr('res'); } else { // modified by AMR sources[i] = parseFloat($($('video').find('source')[i]).attr('res')); } } var mources = sources; var remove_Item = 'mp3'; mources = $.grep(mources, function(value) { // added by AMR return value != remove_Item; }); // var imageAddr = "http://www.kenrockwell.com/contax/images/g2/examples/31120037-5mb.jpg"; // var downloadSize = 4995374; var imageAddr = site_url+"/upload/photos/speed.jpg"; var downloadSize = 1082828; function getQuality(res) { // res added by AMR MeasureConnectionSpeed(); function MeasureConnectionSpeed() { if (getCookie('internet_speed') > 0) { showResults(getCookie('internet_speed')); } else{ var startTime, endTime; var download = new Image(); download.onload = function () { endTime = (new Date()).getTime(); showResults(); } download.onerror = function (err, msg) { ShowProgressMessage(0); } startTime = (new Date()).getTime(); var cacheBuster = "?nnn=" + startTime; download.src = imageAddr + cacheBuster; } function showResults(speed = 0) { if (speed == 0) { var duration = (endTime - startTime) / 1000; var bitsLoaded = downloadSize * 8; var speedBps = (bitsLoaded / duration).toFixed(2); var speedKbps = (speedBps / 1024).toFixed(2); var speedMbps = (speedKbps / 1024).toFixed(2); setCookie("internet_speed", speedKbps, 1); } else{ speedKbps = speed; var speeder = speedKbps / 5; // added by AMR if (speeder < 240) { // modified by AMR speedKbps = 250; } else { // added by AMR speedKbps = speeder; } } for (var i = 0; i < sources.length; i++) { var speeder = parseFloat(speedKbps); // added by AMR var biggest_video = Math.max.apply(Math,mources); // added by AMR var smallest_video = Math.min.apply(Math,mources); // added by AMR if (res == 'mp3' && sources.includes("mp3") ) { video_source = res; break; } if (device_type == 'smartphone' && parseInt(smallest_video) > 0) { video_source = smallest_video; break; } if (res != '' && parseInt(res) > 0) { if (jQuery.inArray(parseInt(res), sources) > 0) { // auto is set video_source = res; } else { video_source = parseInt(smallest_video); } break; } if (isNaN(biggest_video) || isNaN(smallest_video)) { video_source = sources[i]; break; } if (sources.length == 1) { // just one source format available video_source = sources; break; } if (sources[i] < speeder) { // speeder modified by AMR video_source = sources[i]; } } if (typeof(video_source) == 'undefined') { video_source = sources[i]; if (typeof(video_source) == 'undefined' && parseInt(smallest_video) > 0) {// probably desktop or tablet AND internet speed is too slow! video_source = smallest_video; } } if (video_source == 'mp3') { video_source_disp = 'mp3'; } else { video_source_disp = video_source+'p'; } $('#'+$('.mejs__container').attr('id')+'-qualities-'+video_source_disp).click(); $('.mejs__qualities-button').find('button').text(video_source_disp); // auto replaced by actual res by AMR $('.mejs__qualities-selector-label').removeClass('mejs__qualities-selected'); setTimeout(function () { $('#quality__auto').addClass('mejs__qualities-selected'); },1200); } } } function setAuto(self) { if(parseInt(self) > 0) { // added by AMR res = self; } else if(self == 'mp3') { res = 'mp3'; } else { res = 'auto'; } if (ad_will_play === true) { res = 'ad'; } var dog = $('.mejs__qualities-button').find('button').text(); if (sources.length == 1) { // it is meaningless to have auto cookie if there's only one source added by AMR return; } $('.mejs__qualities-button').find('button').text(res); $('.mejs__qualities-selector-label').removeClass('mejs__qualities-selected'); setTimeout(function () { $('#quality__auto').addClass('mejs__qualities-selected'); },1500); if (ad_will_play === true) { return; } getQuality(res); //setCookie('auto', res, 1); // cookie is officially set when proper resolution is found below } </script> <script type="text/javascript"> function go_to_duration(duration) { window.scrollTo(0, 0); var vid = document.querySelector("video"); vid.currentTime = duration; vid.play(); } </script> <script type="text/javascript"> $('video').mediaelementplayer({ pluginPath: 'https://cdnjs.com/libraries/mediaelement-plugins/', shimScriptAccess: 'always', autoplay: true, features: ['playpause', 'current', 'progress', 'duration', 'speed', 'skipback', 'jumpforward', 'tracks', 'markers', 'volume', 'chromecast', 'contextmenu', 'flash' , 'quality' , 'fullscreen'], vastAdTagUrl: '', vastAdsType: '', jumpForwardInterval: 20, adsPrerollMediaUrl: [''], adsPrerollAdUrl: [''], adsPrerollAdEnableSkip: false, adsPrerollAdSkipSeconds: 0, success: function (media) { var advert = ''; if (advert == '') { ad_will_play = false; } else { ad_will_play = true; } setAuto(getCookie('auto')); // modified by AMR media.addEventListener('ended', function (e) { src = $('video').attr('src'); sources = $('video').find('source'); for (var i = sources.length - 1; i >= 0; i--) { if ($(sources[i]).attr('src') == src) { if ($('#autoplay').is(":checked")) { var url = $('#next-video').find('.pt_video_side_vids').find('a').attr('href'); if (url) { window.location.href = url; } } else{ /* pass */ } } } }, false); media.addEventListener('playing', function (e) { if (pt_elexists('.ads-overlay-info')) { $('.ads-overlay-info').remove(); } if (ad_will_play === true) { // added by AMR if user lets ad play all the way ad_will_play = false; setAuto(getCookie('auto')); } if (pt_elexists('#ad-sponsor-link')) { // added by AMR $("#ad-sponsor-link").css('visibility', 'visible'); } $('.ads-test').remove(); if ($('body').attr('resized') == 'true') { PT_Resize(true); } $('.mejs__container').css('height', ($('.mejs__container').width() / 1.77176216) + 'px'); $('video, iframe').css('height', '100%'); }); }, }); var want_hd = ''; // added by AMR also in sources.length at the end if (member_status=='') { want_hd = '<li onclick="get_hd(member_status)"><label>Want HD</label></li>'; } if (sources.length > 1) { // oolorlist not used var $myColorList = $('.mejs__qualities-selector-list'); // Elements one layer deep get .children(), any deeper go with .find() var $colors = $myColorList.children('li'); var sortList = Array.prototype.sort.bind($colors); sortList(function ( a, b ) { var aText = a.innerHTML; var bText = b.innerHTML; aText = parseInt(aText.match(/\d+/g)[1]); bText = parseInt(bText.match(/\d+/g)[1]); return bText - aText; }); $myColorList.append($colors); setTimeout(function () { $('.mejs__qualities-selector-list').append('<li class="mejs__qualities-selector-list-item" onclick="setAuto(this)"><input class="mejs__qualities-selector-input" type="radio" name="mep_0_qualities" value="auto" id="mep_0-qualities-auto"><label for="mep_0-qualities-auto" class="mejs__qualities-selector-label" id="quality__auto">auto</label></li>'+want_hd); },1000); } </script> <script> jQuery(window).ready(function($) { try { // added by AMR var width = $('.video-player').width().toString(); var width = width.substring(0, width.lastIndexOf(".")); $('.fb-video').attr('data-width', width); } catch(error) { console.log('Error #1504 in /var/www/mgtow/themes/default/layout/watch/content.html: '+error); } //$( 'iframe' ).attr( 'src', function ( i, val ) { return val; }); $("#load-related-videos").click(function(event) { let id = 0; if ($("div[data-sidebar-video]").length > 0) { id = $("div[data-sidebar-video]").last().attr('data-sidebar-video'); } $("#load-related-videos").find('i.spin').removeClass('hidden'); $.ajax({ url: 'https://www.mgtow.tv/aj/load-related-videos', type: 'GET', dataType: 'json', data: {id: id,video_id:'17553'}, }) .done(function(data) { if (data.status == 200) { $(".related-videos").append(data.html); } else{ $("#load-related-videos").find('span').text('Больше видео не найдено'); } $("#load-related-videos").find('i.spin').addClass('hidden'); myLazyLoad.update(); // added by AMR for lazyload }); }); }); $('.ad-link').on('click', function(event) { $('.ad-link').remove(); $('video')[0].play(); }); $('.autoplay-video').on('change', function(event) { event.preventDefault(); checked = 1; if($(this).is(":checked")) { checked = 2; } $.post('https://www.mgtow.tv/aj/set-cookies', {name: 'autoplay', value: checked}); }); $('.ads-test').on('click', function(event) { $(this).remove(); }); function get_hd() { // added by AMR $('#GenMsgModal').modal('show'); $('#GenMsgTxt').html("Free users only see low resolution to standard definition videos. To view videos whenever possible in HD format, please upgrade.<br/><br/>"+'<a href="https://www.mgtow.tv/go_pro" data-load="?link1=go_pro" data-dismiss="modal" class="btn btn-main" role="button">платить $1</a>'); } $('.sticky-video-amr').on('change', function(event) { // added by AMR if(is_sticky_shown === true) { // disable it therefore reload! checked = 0; } else { checked = 1; } $.post('https://www.mgtow.tv/aj/set-cookies', {name: 'sticky', value: checked}, function(data, textStatus, xhr) { if (textStatus == 'success') { if (checked == 1) { $.getScript('https://www.mgtow.tv/themes/default/js/sticky_video.js', function(data, textStatus) { new StickyVideo('post_live_video_17553'); is_sticky_shown = true; // added by AMR }); } else { window.location.href = window.location.href; } } }); }); $(function () { $('.rad-transaction').click(function(event) { $(this).off("click").removeClass('rad-transaction'); $.get('https://www.mgtow.tv/aj/ads/rad-transaction', function(data){ /* pass */ }); }); if ($('[data-litsitem-id]').length > 4) { var listItemtopPos = $("div[data-litsitem-id=6C1CyOO5bkygvo9]").offset(); $('.play-list-cont').scrollTop((listItemtopPos.top - 170)); } $('#share-video').on('click', function(event) { event.preventDefault(); $('.share-video').toggleClass('hidden'); if (!$('.embed-placement').hasClass('hidden')) { $('.embed-placement').toggleClass('hidden'); } if (!$('.download-placement').hasClass('hidden')) { $('.download-placement').toggleClass('hidden'); } }); $('#audio-version').on('click', function(event) { // added by AMR event.preventDefault(); window.open("0",'_blank'); }); $('#embed-video').on('click', function(event) { event.preventDefault(); $('.embed-placement').toggleClass('hidden'); if (!$('.share-video').hasClass('hidden')) { $('.share-video').toggleClass('hidden'); } if (!$('.download-placement').hasClass('hidden')) { $('.download-placement').toggleClass('hidden'); } }); $('#download-video').on('click', function(event) { event.preventDefault(); $('.download-placement').toggleClass('hidden'); if (!$('.embed-placement').hasClass('hidden')) { $('.embed-placement').toggleClass('hidden'); } if (!$('.share-video').hasClass('hidden')) { $('.share-video').toggleClass('hidden'); } }); $('#save-button').on('click', function(event) { event.preventDefault(); var logged = $('#main-container').attr('data-logged'); if (!logged) { window.location.href = "https://www.mgtow.tv/login?to=https://www.mgtow.tv%2Fwatch%2F7-signs-you-039-re-a-non-toxic-good-male_6C1CyOO5bkygvo9.html"; return false; } var video_id = $('#video-id').val(); if ($(this).attr('saved')) { $(this).html('<i class="fa fa-floppy-o fa-fw"></i> Сохранить'); $(this).removeAttr('saved'); } else { $(this).html('<i class="fa fa-check fa-fw"></i> Сохраненный'); $(this).attr('saved', 'true'); } $.post('https://www.mgtow.tv/aj/save-video', {video_id: video_id}); }); $('.desc').on('click', function(event) { event.preventDefault(); if ($(this).hasClass('expended')) { $('.watch-video-description').css({ 'max-height': '100px', 'height': '100px', 'overflow': 'hidden' }); $(this).removeClass('expended'); $(this).text("Показать больше"); } else { $('.watch-video-description').css({ 'max-height': '4000px', 'height': 'auto', 'overflow': 'auto' }); $(this).addClass('expended'); $(this).text("Показывай меньше"); } }); $('.expend-player').on('click', function(event) { //event.preventDefault(); disabled by AMR if (member_status=='') { $('#GenMsgModal').modal('show'); $('#GenMsgTxt').html("You must be a paid member to enable theatre mode, please upgrade.<br/><br/>"+'<a href="https://www.mgtow.tv/go_pro" data-load="?link1=go_pro" data-dismiss="modal" class="btn btn-main" role="button">платить $1</a>'); $('.expend-player').prop('checked', false); return false; } var resize = 0; if ($('.player-video').hasClass('col-md-12')) { resize = 0; } else { resize = 1; } $.post('https://www.mgtow.tv/aj/set-cookies', {name: 'resize', value: resize}); if(resize == 1) { // added by AMR $('.expend-player').prop('checked', true); } else { $('.expend-player').prop('checked', false); } PT_Resize(); }); // $('video').mediaelementplayer({ // pluginPath: 'https://cdnjs.com/libraries/mediaelement-plugins/', // shimScriptAccess: 'always', // autoplay: true, // features: ['playpause', 'current', 'progress', 'duration', 'speed', 'skipback', 'jumpforward', 'tracks', 'markers', 'volume', 'chromecast', 'contextmenu', 'flash' , 'quality' , 'fullscreen'], // vastAdTagUrl: '', // vastAdsType: '', // jumpForwardInterval: 20, // adsPrerollMediaUrl: [''], // adsPrerollAdUrl: [''], // adsPrerollAdEnableSkip: false, // adsPrerollAdSkipSeconds: 0, // success: function (media) { // media.addEventListener('ended', function (e) { // if ($('#autoplay').is(":checked")) { // var url = $('#next-video').find('.video-title').find('a').attr('href'); // if (url) { // window.location.href = url; // } // } // else{ // /* pass */ // } // }, false); // media.addEventListener('playing', function (e) { // if (pt_elexists('.ads-overlay-info')) { // $('.ads-overlay-info').remove(); // } // $('.ads-test').remove(); // if ($('body').attr('resized') == 'true') { // PT_Resize(true); // } // $('.mejs__container').css('height', ($('.mejs__container').width() / 1.77176216) + 'px'); // $('video, iframe').css('height', '100%'); // }); // }, // }); // $('.expend-player').on('click', function(event) { // event.preventDefault(); // var resize = 0; // if ($('.player-video').hasClass('col-md-12')) { // resize = 0; // } else { // resize = 1; // } // $.post('https://www.mgtow.tv/aj/set-cookies', {name: 'resize', value:resize}); // PT_Resize(); // }); $(window).resize(function(event) { if ($('body').attr('resized') == 'true') { PT_Resize(true); } var b_width = $(window).width(); if (b_width > 1023) { set_live_chat('desktop'); // added by AMR } else { set_live_chat('mobile'); // added by AMR } publisher_name(); // added by AMR }); }); if (document.addEventListener) { document.addEventListener('webkitfullscreenchange', exitHandler, false); document.addEventListener('mozfullscreenchange', exitHandler, false); document.addEventListener('fullscreenchange', exitHandler, false); document.addEventListener('MSFullscreenChange', exitHandler, false); } function exitHandler() { if (document.webkitIsFullScreen || document.mozFullScreen || document.msFullscreenElement !== null) { setTimeout(function () { PT_Resize(false); }, 100); } } function PT_Resize(type) { if ($('.player-video').hasClass('col-md-12') && type != true) { $('.mejs__layer').css('display', 'none'); $('.player-video').addClass('col-md-8'); $('.player-video').removeClass('col-md-12'); $('.player-video').css('margin-bottom', '0'); $('.player-video').css('margin-top', '0'); $('.mejs__container, video, iframe').css('width', '100%'); $('.mejs__container').css('height', ($('.mejs__container').width() / 1.77176216) + 'px'); $('video, iframe').css('height', '100%'); $('.second-header-layout').removeClass('hidden'); $('.header-layout').css('background', '#fff'); $('.header-layout').css('border-bottom', '1px solid #f1f1f1'); $('#search-bar').css('border', '1px solid #f5f5f5'); $('#search-bar').css('color', '#444'); $('nav.navbar-findcond ul.navbar-nav.sec_lay_hdr a').css('color', '#3e3e3e'); $('.hide-resize').removeClass('hidden'); $('.logo-img').find('img').attr('src', 'https://www.mgtow.tv/themes/default/img/logo.png'); $('.top-header a').css('color', '#444'); $('#background').addClass('hidden'); $('body').attr('resized', 'false'); $('body').css('padding-top', '0px'); } else { var pixels = ($(window).height() / 100) * 88; $('.player-video').removeClass('col-md-8'); $('.player-video').addClass('col-md-12'); $('.second-header-layout').addClass('hidden'); $('.player-video').css('margin-bottom', '10px'); $('.player-video').css('margin-top', '0px'); $('body').css('padding-top', '57px !important'); $('.mejs__container, video, iframe').css('width', '100%'); $('.mejs__container').css('height', pixels + 'px'); $('video, iframe').css('height', pixels + 'px'); $('.header-layout').css('background', 'rgb(32,32,32)'); $('.header-layout').css('border-bottom', 'none'); $('#search-bar').css('border', '1px solid #555'); $('#search-bar').css('color', '#fff'); $('nav.navbar-findcond ul.navbar-nav.sec_lay_hdr a').css('color', '#fff'); $('.hide-resize').addClass('hidden'); if ($(document).width() < 768) { // added by AMR $('.logo-img').find('img').attr('src', 'https://www.mgtow.tv/themes/default/img/icon.png'); } else { $('.logo-img').find('img').attr('src', 'https://www.mgtow.tv/themes/default/img/logo-light.png'); } $('.top-header a').css('color', '#fff'); $('#background').removeClass('hidden'); $('#background').css('height', '89.4%'); $('body').attr('resized', 'true'); } } $('.player-video').hover(function() { $('.icons').removeClass('hidden'); }); $('.player-video').mouseleave(function() { $('.icons').addClass('hidden'); }); </script> <style> /*.mejs__fullscreen .mejs__container { max-height: 100% !important; } .mejs__container { max-height: 555px !important; } .mejs__fullscreen video { max-height: 100% !important; } .vjs-fullscreen video { max-height: 100% !important; } .fluid_video_wrapper.fluid_player_layout_default:-webkit-full-screen video{max-height: 100% !important;} video { max-height: 555px !important; }*/ .mejs__offscreen { clip: initial !important; clip-path: inherit !important; -webkit-clip-path: inherit !important; opacity: 0; } </style> <script> var fingerprintReport = function () { try { // added by AMR Fingerprint2; } catch (e) { if (e instanceof ReferenceError) { console.log(e); return; } } Fingerprint2.get(function(components) { var murmur = Fingerprint2.x64hash128(components.map(function (pair) { return pair.value }).join(), 31) $.post('https://www.mgtow.tv/aj/views?hash=' + $('.main_session').val()+'&type_=set', {finger: murmur}, function(data, textStatus, xhr) { $.post('https://www.mgtow.tv/aj/views?hash=' + $('.main_session').val()+'&type_=add', {video_id:17553}, function(data, textStatus, xhr) { if (data.status == 200) { $('#video-views-count').html(data.count); } }); }); }) } fingerprintReport(); </script> <div class="modal fade matdialog" id="2checkout_modal" role="dialog" data-keyboard="false" style="overflow-y: auto;"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg></span></button> <h4 class="modal-title">2Checkout</h4> </div> <form class="form form-horizontal" method="post" id="2checkout_form" action="#"> <div class="modal-body twocheckout_modal"> <div id="2checkout_alert"></div> <div class="clear"></div> <div class="sun_input col-md-6"> <input id="card_name" type="text" class="form-control input-md" autocomplete="off" placeholder="имя" value=""> </div> <div class="sun_input col-md-6"> <input id="card_address" type="text" class="form-control input-md" autocomplete="off" placeholder="Адрес" value=""> </div> <div class="sun_input col-md-6"> <input id="card_city" type="text" class="form-control input-md" autocomplete="off" placeholder="город" value=""> </div> <div class="sun_input col-md-6"> <input id="card_state" type="text" class="form-control input-md" autocomplete="off" placeholder="государственный" value=""> </div> <div class="sun_input col-md-6"> <input id="card_zip" type="text" class="form-control input-md" autocomplete="off" placeholder="застежка-молния" value=""> </div> <div class="sun_input col-md-6"> <select id="card_country" name="card_country" class="form-control"><option value="0" >Select Country</option><option value="1" >United States</option><option value="2" >Canada</option><option value="3" >Afghanistan</option><option value="4" >Albania</option><option value="5" >Algeria</option><option value="6" >American Samoa</option><option value="7" >Andorra</option><option value="8" >Angola</option><option value="9" >Anguilla</option><option value="10" >Antarctica</option><option value="11" >Antigua and/or Barbuda</option><option value="12" >Argentina</option><option value="13" >Armenia</option><option value="14" >Aruba</option><option value="15" >Australia</option><option value="16" >Austria</option><option value="17" >Azerbaijan</option><option value="18" >Bahamas</option><option value="19" >Bahrain</option><option value="20" >Bangladesh</option><option value="21" >Barbados</option><option value="22" >Belarus</option><option value="23" >Belgium</option><option value="24" >Belize</option><option value="25" >Benin</option><option value="26" >Bermuda</option><option value="27" >Bhutan</option><option value="28" >Bolivia</option><option value="29" >Bosnia and Herzegovina</option><option value="30" >Botswana</option><option value="31" >Bouvet Island</option><option value="32" >Brazil</option><option value="34" >Brunei Darussalam</option><option value="35" >Bulgaria</option><option value="36" >Burkina Faso</option><option value="37" >Burundi</option><option value="38" >Cambodia</option><option value="39" >Cameroon</option><option value="40" >Cape Verde</option><option value="41" >Cayman Islands</option><option value="42" >Central African Republic</option><option value="43" >Chad</option><option value="44" >Chile</option><option value="45" >China</option><option value="46" >Christmas Island</option><option value="47" >Cocos (Keeling) Islands</option><option value="48" >Colombia</option><option value="49" >Comoros</option><option value="50" >Congo</option><option value="51" >Cook Islands</option><option value="52" >Costa Rica</option><option value="53" >Croatia (Hrvatska)</option><option value="54" >Cuba</option><option value="55" >Cyprus</option><option value="56" >Czech Republic</option><option value="57" >Denmark</option><option value="58" >Djibouti</option><option value="59" >Dominica</option><option value="60" >Dominican Republic</option><option value="61" >East Timor</option><option value="62" >Ecuador</option><option value="63" >Egypt</option><option value="64" >El Salvador</option><option value="65" >Equatorial Guinea</option><option value="66" >Eritrea</option><option value="67" >Estonia</option><option value="68" >Ethiopia</option><option value="69" >Falkland Islands (Malvinas)</option><option value="70" >Faroe Islands</option><option value="71" >Fiji</option><option value="72" >Finland</option><option value="73" >France</option><option value="74" >France, Metropolitan</option><option value="75" >French Guiana</option><option value="76" >French Polynesia</option><option value="77" >French Southern Territories</option><option value="78" >Gabon</option><option value="79" >Gambia</option><option value="80" >Georgia</option><option value="81" >Germany</option><option value="82" >Ghana</option><option value="83" >Gibraltar</option><option value="84" >Greece</option><option value="85" >Greenland</option><option value="86" >Grenada</option><option value="87" >Guadeloupe</option><option value="88" >Guam</option><option value="89" >Guatemala</option><option value="90" >Guinea</option><option value="91" >Guinea-Bissau</option><option value="92" >Guyana</option><option value="93" >Haiti</option><option value="94" >Heard and Mc Donald Islands</option><option value="95" >Honduras</option><option value="96" >Hong Kong</option><option value="97" >Hungary</option><option value="98" >Iceland</option><option value="99" >India</option><option value="100" >Indonesia</option><option value="101" >Iran (Islamic Republic of)</option><option value="102" >Iraq</option><option value="103" >Ireland</option><option value="104" >Israel</option><option value="105" >Italy</option><option value="106" >Ivory Coast</option><option value="107" >Jamaica</option><option value="108" >Japan</option><option value="109" >Jordan</option><option value="110" >Kazakhstan</option><option value="111" >Kenya</option><option value="112" >Kiribati</option><option value="113" >Korea, Democratic People's Republic of</option><option value="114" >Korea, Republic of</option><option value="115" >Kosovo</option><option value="116" >Kuwait</option><option value="117" >Kyrgyzstan</option><option value="118" >Lao People's Democratic Republic</option><option value="119" >Latvia</option><option value="120" >Lebanon</option><option value="121" >Lesotho</option><option value="122" >Liberia</option><option value="123" >Libyan Arab Jamahiriya</option><option value="124" >Liechtenstein</option><option value="125" >Lithuania</option><option value="126" >Luxembourg</option><option value="127" >Macau</option><option value="128" >Macedonia</option><option value="129" >Madagascar</option><option value="130" >Malawi</option><option value="131" >Malaysia</option><option value="132" >Maldives</option><option value="133" >Mali</option><option value="134" >Malta</option><option value="135" >Marshall Islands</option><option value="136" >Martinique</option><option value="137" >Mauritania</option><option value="138" >Mauritius</option><option value="139" >Mayotte</option><option value="140" >Mexico</option><option value="141" >Micronesia, Federated States of</option><option value="142" >Moldova, Republic of</option><option value="143" >Monaco</option><option value="144" >Mongolia</option><option value="145" >Montenegro</option><option value="146" >Montserrat</option><option value="147" >Morocco</option><option value="148" >Mozambique</option><option value="149" >Myanmar</option><option value="150" >Namibia</option><option value="151" >Nauru</option><option value="152" >Nepal</option><option value="153" >Netherlands</option><option value="154" >Netherlands Antilles</option><option value="155" >New Caledonia</option><option value="156" >New Zealand</option><option value="157" >Nicaragua</option><option value="158" >Niger</option><option value="159" >Nigeria</option><option value="160" >Niue</option><option value="161" >Norfork Island</option><option value="162" >Northern Mariana Islands</option><option value="163" >Norway</option><option value="164" >Oman</option><option value="165" >Pakistan</option><option value="166" >Palau</option><option value="167" >Panama</option><option value="168" >Papua New Guinea</option><option value="169" >Paraguay</option><option value="170" >Peru</option><option value="171" >Philippines</option><option value="172" >Pitcairn</option><option value="173" >Poland</option><option value="174" >Portugal</option><option value="175" >Puerto Rico</option><option value="176" >Qatar</option><option value="177" >Reunion</option><option value="178" >Romania</option><option value="179" >Russian Federation</option><option value="180" >Rwanda</option><option value="181" >Saint Kitts and Nevis</option><option value="182" >Saint Lucia</option><option value="183" >Saint Vincent and the Grenadines</option><option value="184" >Samoa</option><option value="185" >San Marino</option><option value="186" >Sao Tome and Principe</option><option value="187" >Saudi Arabia</option><option value="188" >Senegal</option><option value="189" >Serbia</option><option value="190" >Seychelles</option><option value="191" >Sierra Leone</option><option value="192" >Singapore</option><option value="193" >Slovakia</option><option value="194" >Slovenia</option><option value="195" >Solomon Islands</option><option value="196" >Somalia</option><option value="197" >South Africa</option><option value="198" >South Georgia South Sandwich Islands</option><option value="199" >Spain</option><option value="200" >Sri Lanka</option><option value="201" >St. Helena</option><option value="202" >St. Pierre and Miquelon</option><option value="203" >Sudan</option><option value="204" >Suriname</option><option value="205" >Svalbarn and Jan Mayen Islands</option><option value="206" >Swaziland</option><option value="207" >Sweden</option><option value="208" >Switzerland</option><option value="209" >Syrian Arab Republic</option><option value="210" >Taiwan</option><option value="211" >Tajikistan</option><option value="212" >Tanzania, United Republic of</option><option value="213" >Thailand</option><option value="214" >Togo</option><option value="215" >Tokelau</option><option value="216" >Tonga</option><option value="217" >Trinidad and Tobago</option><option value="218" >Tunisia</option><option value="219" >Turkey</option><option value="220" >Turkmenistan</option><option value="221" >Turks and Caicos Islands</option><option value="222" >Tuvalu</option><option value="223" >Uganda</option><option value="224" >Ukraine</option><option value="225" >United Arab Emirates</option><option value="226" >United Kingdom</option><option value="227" >United States minor outlying islands</option><option value="228" >Uruguay</option><option value="229" >Uzbekistan</option><option value="230" >Vanuatu</option><option value="231" >Vatican City State</option><option value="232" >Venezuela</option><option value="233" >Vietnam</option><option value="238" >Yemen</option><option value="239" >Yugoslavia</option><option value="240" >Zaire</option><option value="241" >Zambia</option><option value="242" >Zimbabwe</option></select> </div> <div class="sun_input col-md-6"> <input id="card_email" type="text" class="form-control input-md" autocomplete="off" placeholder="E-mail" value=""> </div> <div class="sun_input col-md-6"> <input id="card_phone" type="text" class="form-control input-md" autocomplete="off" placeholder="Телефон" value=""> </div> <div class="clear"></div> <hr> <div class="row two_check_card"> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M20,8H4V6H20M20,18H4V12H20M20,4H4C2.89,4 2,4.89 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V6C22,4.89 21.1,4 20,4Z" /></svg> <div class="sun_input col-xs-12"> <input id="_number_" type="text" class="form-control input-md" autocomplete="off" placeholder="Номер карты"> <input id="card_number" name="card_number" type="hidden" class="form-control input-md" autocomplete="off"> </div> <div class="sun_input col-xs-4"> <select id="card_month" name="card_month" type="text" class="form-control input-md" autocomplete="off" placeholder="месяц (01)"> <option value="01">01</option> <option value="02">02</option> <option value="03">03</option> <option value="04">04</option> <option value="05">05</option> <option value="06">06</option> <option value="07">07</option> <option value="08">08</option> <option value="09">09</option> <option value="10">10</option> <option value="11">11</option> <option value="12">12</option> </select> </div> <div class="sun_input col-xs-4 no-padding-both"> <select id="card_year" name="card_year" type="text" class="form-control input-md" autocomplete="off" placeholder="год (2019)"> <option value="2025">2025</option> <option value="2026">2026</option> <option value="2027">2027</option> <option value="2028">2028</option> <option value="2029">2029</option> <option value="2030">2030</option> <option value="2031">2031</option> <option value="2032">2032</option> <option value="2033">2033</option> <option value="2034">2034</option> <option value="2035">2035</option> <option value="2036">2036</option> <option value="2037">2037</option> <option value="2038">2038</option> <option value="2039">2039</option> <option value="2040">2040</option> </select> </div> <div class="sun_input col-xs-4"> <input id="card_cvc" name="card_cvc" type="text" class="form-control input-md" autocomplete="off" placeholder="CVC" maxlength="3" oninput="this.value = this.value.replace(/[^0-9.]/g, '').replace(/(\..*)\./g, '$1');"> </div> </div> <div class="clear"></div> <input type="text" id="2checkout_type" class="hidden" name="type"> <input id="card_token" name="token" type="hidden" value=""> <input id="checkout_video_17553" name="video_id" type="hidden" value=""> <input id="checkout_price_17553" name="price" type="hidden" value=""> <input id="checkout_user_id" name="user_id" type="hidden" value=""> <input class="checkout_pay_type" name="pay_type" type="hidden" value=""> </div> <div class="clear"></div> <div class="modal-footer"> <div class="ball-pulse"><div></div><div></div><div></div></div> <button type="button" class="btn btn-main" onclick="tokenRequest()" id="2checkout_btn">платить</button> </div> </form> </div> </div> </div> <script type="text/javascript"> function openPreSuperChatPop(vid_id) { // added by AMR window.open("https://www.mgtow.tv/watch/"+vid_id+"?v=chat&is_popout=1", "chat_popout", "toolbar=yes,scrollbars=yes,resizable=yes,top=0,left=5,width=380,height=550"); } $(document).on('change', '#thumbnail', function(event) { let imgPath = $(this)[0].files[0].name; if (typeof(FileReader) != "undefined") { let reader = new FileReader(); reader.onload = function(e) { $('#receipt_img_preview').attr('src', e.target.result); } reader.readAsDataURL(this.files[0]); } $('#bank_transfer_modal').addClass('up_rec_img_ready'); }); $(document).on('change', '#thumbnail_2', function(event) { let imgPath = $(this)[0].files[0].name; if (typeof(FileReader) != "undefined") { let reader = new FileReader(); reader.onload = function(e) { $('.bank_image_2').attr('src', e.target.result); } reader.readAsDataURL(this.files[0]); } $('#bank_transfer_modal_2').addClass('up_rec_img_ready'); }); function truncate_username() {// added by AMR is this worth it after publisher_name? var width = $('body').width(); if (width < 360) { $('.username_display').each(function(index, value) { var trunker = truncate($(this).html(), 20); if (trunker == '...') { $(this).html($(this).html().substring(0, 19)+"..."); } else { $(this).html(trunker); } }); } else if(width < 380){ $('.username_display').each(function(index, value) { var trunker = truncate($(this).html(), 27); if (trunker == '...') { $(this).html($(this).html().substring(0, 26)+"..."); } else { $(this).html(trunker); } }); } } jQuery(document).ready(function($) { // added by AMR all the way to end myLazyLoad.update(); // added by AMR for lazyload var subs = $(".subs-amount").text(); var screen_width = $(document).width() subs = retSubCnt(subs); var type = getParameterByName('type', ''); var ad_brand = ''; var ad_mode = ''; var ad_disp = ''; var ad_link = ''; var ad_btn = ''; var ad_image = ''; var ad_logline = ''; var verify_id = ''; var verify_time = ''; var verify_pi = ''; truncate_username(); //added by AMR publisher_name(true); //added by AMR replace above? $("#sub_cnt").text(subs); //alert('video\n\nad_link: '+''+'\nmedia: '+''+'\nskip: '+false+'\nnum: '+0+'\nbrand: '+''+'\nad mode: '+ad_mode+'\nverify_id: '+verify_id+'\nverify_time: '+verify_time+'\nverify_pi: '+verify_pi); var ad_width = screen_width-30; if (screen_width > 767) { ad_width = 290; } if (ad_mode == 'video') { // for video_ads $("#ad-sponsor-link").html('<div id="ad-sponsor-data" style="width: '+ad_width+'px; margin-bottom: 10px; text-align: right;"><img style="float: left; height: 50px; max-width: 50px;" src="'+ad_disp+'" /> '+ad_brand+' <a href="'+ad_link+'" target="_blank" onclick="hideDivSlowly(\'#ad-sponsor-link\');" class="btn btn-primary btn-sm" style="max-width: 85px; overflow: hidden; text-transform: lowercase; text-transform: capitalize;" role="button">'+ad_btn+'</a><br/><strong class="badge badge-warning" style="border-radius: 3px; background-color: #eabf20; color: white !important; font-weight: bold !important;">Ad</strong> <small>'+ad_logline+'</small></div>'); //$("#sidebar_plug").html('<div id="ad-sponsor-datab" class="text-right" style="width: 290px; margin-bottom: 10px;"><img style="float: left; height: 50px; max-width: 50px;" src="'+''+'" /> '+''+' <a href="'+''+'" target="_blank" onclick="hideDivSlowly(\'#ad-sponsor-link\');" class="btn btn-primary btn-sm" style="max-width: 85px; overflow: hidden; text-transform: uppercase;" role="button">'+''+'</a><br/><strong class="badge badge-warning" style="border-radius: 3px; background-color: #eabf20; color: white !important; font-weight: bold !important;">Ad</strong> <small>'+''+'</small></div>'); //$("#comments_plug").html('<div id="ad-sponsor-datab" class="text-right" style="width: 290px; margin-bottom: 10px;"><img style="float: left; height: 50px; max-width: 50px;" src="'+''+'" /> '+''+' <a href="'+''+'" target="_blank" onclick="hideDivSlowly(\'#ad-sponsor-link\');" class="btn btn-primary btn-sm" style="max-width: 85px; overflow: hidden; text-transform: uppercase;" role="button">'+''+'</a><br/><strong class="badge badge-warning" style="border-radius: 3px; background-color: #eabf20; color: white !important; font-weight: bold !important;">Ad</strong> <small>'+''+'</small></div>'); } else if (ad_mode == 'user') { // for user_ads $("#ad-sponsor-link").html('<div id="ad-sponsor-data" style="width: '+ad_width+'px; margin-bottom: 10px; text-align: right;"><img style="float: left; height: 50px; max-width: 50px;" src="'+ad_disp+'" /> '+ad_brand+' <a href="'+ad_link+'" target="_blank" onclick="hideDivSlowly(\'#ad-sponsor-link\');" class="btn btn-primary btn-sm" style="max-width: 85px; overflow: hidden; text-transform: lowercase; text-transform: capitalize;" role="button">'+ad_btn+'</a><br/><strong class="badge badge-warning" style="border-radius: 3px; background-color: #eabf20; color: white !important; font-weight: bold !important;">Ad</strong> <small>'+ad_logline+'</small></div>'); if (screen_width < 768) { if($(".ads-overlay-info").length){ $('.ads-overlay-info').remove(); } } else { $("#ad-sponsor-link").css('visibility', 'hidden'); } vivaNewOrleans(verify_id, verify_time, verify_pi); } function vivaNewOrleans(id, time, pi) { // added by AMR var postData = { "id": id, "time": time, "pi": pi, }; $.ajax({ type: "POST", url: "https://www.mgtow.tv/aj/ap/edfa3ly", data: postData, dataType: "json", success: function(postData) { if (postData.status==200) { } }, error:function(jqXHR, textStatus, errorThrown){ var status ='session_checker'; console.log(status, jqXHR, textStatus, errorThrown); }, complete: function() { } }); } try { // added by AMR var stringify = JSON.stringify(sources); var cookie_day = 354; var arr = ['mp3', '240', '360', '480']; var cookie_set = false; document.querySelector('video').addEventListener("loadeddata", function(){ btn_num = $('.mejs__qualities-button').find('button').text(); // specific to media elements player only if (btn_num != 'mp3') { btn_num = btn_num.replace(/\D/g,''); } if (ad_link != '' && getCookie('auto') != '' && jQuery.inArray(getCookie('auto'), arr) !== -1 && ad_will_play === true) { var is_numb_btn = 'p'; if (isNaN(getCookie('auto'))) { var is_numb_btn = ''; } $('.mejs__qualities-button').find('button').text(getCookie('auto')+is_numb_btn); ad_will_play = false; // ad should have been set to play now if (!stringify.includes(getCookie('auto'))) { $('.mejs__qualities-button').find('button').text('auto'); } } else if (btn_num > 0 || btn_num == 'mp3') { if (stringify.includes(getCookie('auto'))) { if (btn_num >= 720) { cookie_day = 1; } setCookie('auto', btn_num, cookie_day); cookie_set = true; if (btn_num == 'mp3') { var bources = sources; var remove_Item = 'mp3'; bources = $.grep(bources, function(value) { // added by AMR return value != remove_Item; }); var mingify = JSON.stringify(bources); var smallest_vid = Math.min.apply(Math, bources); // added by AMR setCookie('auto', smallest_vid, cookie_day); if (ad_link == '') { setAuto(getCookie('auto')); // modified by AMR } } } else if(getCookie('auto') == 'mp3') { setCookie('auto', btn_num, cookie_day); } else if(getCookie('auto') <= 480) { setCookie('auto', btn_num, cookie_day); cookie_set = true } else { // auto cookie was not set if(jQuery.inArray(btn_num, arr) !== -1) { setCookie('auto', btn_num, cookie_day); cookie_set = true; } } } }); } catch(error) { console.log('Error 1315 in /var/www/mgtow/themes/default/layout/watch/content.html: '+error); } // end of AMR $('#bank_transfer_form').ajaxForm({ url: 'https://www.mgtow.tv/aj/go_pro/bank_pay_to_see', beforeSend: function() { $('#bank_transfer_form').find('.ball-pulse').fadeIn(100); $('#bank_transfer_form').find('.btn-main').text("Пожалуйста, подождите..").attr('disabled', 'true'); }, success: function(data) { if (data['status'] == 200) { $("#blog-alert").html('<div class="alert alert-success">'+ data['message'] +'</div>'); setTimeout(function () { window.location = "https://www.mgtow.tv"; $(".prv-img").html('<div class="thumbnail-rendderer"><div><div class="error-text-renderer"></div><div><p>https://www.mgtow.tv/browse_to_upload</p></div></div> </div>'); $("#blog-alert").html(''); $('#configreset').click(); },3000) } else if (data['message']) { $("#blog-alert").html('<div class="alert alert-danger">' + data['message'] + '</div>'); } $('#bank_transfer_form').find('.ball-pulse').fadeOut(100); $('#bank_transfer_form').find('.btn-main').text("Публиковать"); $('#bank_transfer_form').find('.btn-main').removeAttr('disabled'); }}); $('#bank_transfer_form_2').ajaxForm({ url: 'https://www.mgtow.tv/aj/go_pro/subscribe', beforeSend: function() { $('#bank_transfer_form_2').find('.ball-pulse').fadeIn(100); $('#bank_transfer_form_2').find('.btn-main').text("Пожалуйста, подождите..").attr('disabled', 'true'); }, success: function(data) { if (data['status'] == 200) { $("#blog-alert-2").html('<div class="alert alert-success">'+ data['message'] +'</div>'); setTimeout(function () { window.location = "https://www.mgtow.tv"; $(".prv-img").html('<div class="thumbnail-rendderer"><div><div class="error-text-renderer"></div><div><p>https://www.mgtow.tv/browse_to_upload</p></div></div> </div>'); $("#blog-alert-2").html(''); $('#configreset_2').click(); },3000) } else if (data['message']) { $("#blog-alert-2").html('<div class="alert alert-danger">' + data['message'] + '</div>'); } $('#bank_transfer_form_2').find('.ball-pulse').fadeOut(100); $('#bank_transfer_form_2').find('.btn-main').text("Публиковать"); $('#bank_transfer_form_2').find('.btn-main').removeAttr('disabled'); }}); }); function PT_OpenBank(pkg,self,video_id = 0,price = 0,user_id){ if (!pkg || !self) { return false; } $(self).text("Пожалуйста, подождите..").attr('disabled', 'true'); $('#pay-go-pro').modal('hide'); if (user_id > 0) { $('#bank_transfer_user').val(user_id) $('#configreset_2').click(); $("#blog-alert-2").html(''); $('#bank_transfer_modal_2').modal({ show: true }); } else{ video = '17553'; $('#bank_transfer_video').val(video) $('#configreset').click(); $("#blog-alert").html(''); $('.bank_pay_type').val(pkg); $('#bank_transfer_modal').modal({ show: true }); } } </script> <script type="text/javascript"> </script> <div class="modal fade matdialog" id="bank_transfer_modal_2" role="dialog" data-keyboard="false" style="overflow-y: auto;"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg></span></button> <h4 class="modal-title">Банковский перевод</h4> </div> <form class="form form-horizontal" method="post" id="bank_transfer_form_2" action="#"> <div id="blog-alert-2"></div> <div class="modal-body dt_bank_trans_modal"> <div class="bank_info"><div class="dt_settings_header bg_gradient"><div class="dt_settings_circle-1"></div><div class="dt_settings_circle-2"></div><div class="bank_info_innr"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M11.5,1L2,6V8H21V6M16,10V17H19V10M2,22H21V19H2M10,10V17H13V10M4,10V17H7V10H4Z"></path></svg><h4 class="bank_name">Garanti Bank</h4><div class="row"><div class="col col-md-12"><div class="bank_account"><p>4796824372433055</p><span class="help-block">Account number / IBAN</span></div></div><div class="col col-md-12"><div class="bank_account_holder"><p>Antoian Kordiyal</p><span class="help-block">Account name</span></div></div><div class="col col-md-6"><div class="bank_account_code"><p>TGBATRISXXX</p><span class="help-block">Routing code</span></div></div><div class="col col-md-6"><div class="bank_account_country"><p>United States</p><span class="help-block">Country</span></div></div></div></div></div></div> <div class="dt_user_profile hide_alert_info_bank_trans"> <span class="valign-wrapper"> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M13,13H11V7H13M13,17H11V15H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"></path></svg> Note: </span> <ul class="dt_prof_vrfy"> <li>In order to confirm the bank transfer, you will need to upload a receipt or take a screenshot of your transfer within 1 day from your payment date. If a bank transfer is made but no receipt is uploaded within this period, your order will be cancelled. We will verify and confirm your receipt within 3 working days from the date you upload it.</li> </ul> </div> <p class="dt_bank_trans_upl_rec"><a href="javascript:void(0);" onclick="$('#bank_transfer_modal_2').addClass('up_rec_active'); return false"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M13.5,16V19H10.5V16H8L12,12L16,16H13.5M13,9V3.5L18.5,9H13Z"></path></svg> Загрузить</a></p> <div class="upload_bank_receipts"> <div onclick="document.getElementById('thumbnail_2').click(); return false"> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M13.5,16V19H10.5V16H8L12,12L16,16H13.5M13,9V3.5L18.5,9H13Z"></path></svg> <p>Обзор для загрузки</p> <img class="bank_image_2" src=""> </div> </div> <input type="file" class="hidden" id="thumbnail_2" name="thumbnail" accept="image/*"> <input name="image" type="file" id="upload" class="hidden"> <input name="type" type="hidden" id="bank_transfer_type_2" class="hidden" value="bank"> <input name="description" type="hidden" id="bank_transfer_des_2" class="hidden"> <input name="user_id" type="hidden" id="bank_transfer_user" class="hidden"> <input type="reset" id="configreset_2" value="Reset" class="hidden"> </div> <div class="modal-footer"> <div class="ball-pulse"><div></div><div></div><div></div></div> <button type="submit" class="btn btn-main">Публиковать</button> </div> </form> </div> </div> </div> <div class="modal fade matdialog" id="bank_transfer_modal" role="dialog" data-keyboard="false" style="overflow-y: auto;"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-x"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg></span></button> <h4 class="modal-title">Банковский перевод</h4> </div> <form class="form form-horizontal" method="post" id="bank_transfer_form" action="#"> <div id="blog-alert"></div> <div class="modal-body dt_bank_trans_modal"> <div class="bank_info"><div class="dt_settings_header bg_gradient"><div class="dt_settings_circle-1"></div><div class="dt_settings_circle-2"></div><div class="bank_info_innr"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M11.5,1L2,6V8H21V6M16,10V17H19V10M2,22H21V19H2M10,10V17H13V10M4,10V17H7V10H4Z"></path></svg><h4 class="bank_name">Garanti Bank</h4><div class="row"><div class="col col-md-12"><div class="bank_account"><p>4796824372433055</p><span class="help-block">Account number / IBAN</span></div></div><div class="col col-md-12"><div class="bank_account_holder"><p>Antoian Kordiyal</p><span class="help-block">Account name</span></div></div><div class="col col-md-6"><div class="bank_account_code"><p>TGBATRISXXX</p><span class="help-block">Routing code</span></div></div><div class="col col-md-6"><div class="bank_account_country"><p>United States</p><span class="help-block">Country</span></div></div></div></div></div></div> <div class="dt_user_profile hide_alert_info_bank_trans"> <span class="valign-wrapper"> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M13,13H11V7H13M13,17H11V15H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"></path></svg> Note: </span> <ul class="dt_prof_vrfy"> <li>In order to confirm the bank transfer, you will need to upload a receipt or take a screenshot of your transfer within 1 day from your payment date. If a bank transfer is made but no receipt is uploaded within this period, your order will be cancelled. We will verify and confirm your receipt within 3 working days from the date you upload it.</li> </ul> </div> <p class="dt_bank_trans_upl_rec"><a href="javascript:void(0);" onclick="$('#bank_transfer_modal').addClass('up_rec_active'); return false"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M13.5,16V19H10.5V16H8L12,12L16,16H13.5M13,9V3.5L18.5,9H13Z"></path></svg> Загрузить</a></p> <div class="upload_bank_receipts"> <div onclick="document.getElementById('thumbnail').click(); return false"> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M13.5,16V19H10.5V16H8L12,12L16,16H13.5M13,9V3.5L18.5,9H13Z"></path></svg> <p>Обзор для загрузки</p> <img id="receipt_img_preview" src=""> </div> </div> <input type="file" class="hidden" id="thumbnail" name="thumbnail" accept="image/*"> <input name="image" type="file" id="upload" class="hidden"> <input name="type" type="hidden" id="bank_transfer_type" class="hidden"> <input name="description" type="hidden" id="bank_transfer_des" class="hidden"> <input name="video_id" type="hidden" id="bank_transfer_video" class="hidden"> <input name="pay_type" type="hidden" class="bank_pay_type" class="hidden"> <input type="reset" id="configreset" value="Reset" class="hidden"> </div> <div class="modal-footer"> <div class="ball-pulse"><div></div><div></div><div></div></div> <button type="submit" class="btn btn-main">Публиковать</button> </div> </form> </div> </div> </div> <input id="device_type_watch_amr" type="hidden"> <!-- added by AMR--> </div> <input type="hidden" id="main-url" value="https://www.mgtow.tv%2Fwatch%2F7-signs-you-039-re-a-non-toxic-good-male_6C1CyOO5bkygvo9.html"> <div class="fads-placment" id="footer_ad_"><a href="/go_pro"><img src="https://cdn.mgtow.tv/upload/mgtow-upgrade-720-80.png" class="img-responsive 5398" style="margin: auto;"></a></div> </div> <footer class="pt_footer"> <div class="container-fluid"> <div class="container watch-container phone-container"> <div class="footer-container"> <div class="footer-copyright">Copyright © 2025 MGTOW TV. Все права защищены.</div> <div class="footer-links"> <ul> <li><a href="https://www.mgtow.tv/terms/terms" data-load="?link1=terms&type=terms">Условия эксплуатации</a></li> <li><a href="https://www.mgtow.tv/terms/privacy-policy" data-load="?link1=terms&type=privacy-policy">политика конфиденциальности</a></li> <li><a href="https://www.mgtow.tv/terms/about-us" data-load="?link1=terms&type=about-us">О нас</a></li> <li><a href="https://www.mgtow.tv/contact-us" data-load="?link1=contact">Свяжитесь с нами</a></li> <li><a href="https://www.mgtow.tv/site-pages/mws" target="_blank">Web Services</a></li> <li><a href="https://www.mgtow.tv/site-pages/advertise" target="_blank">Advertise</a></li> <li><a href="https://www.mgtow.tv/site-pages/affiliate" target="_blank">Affiliate Program</a></li> <!-- language selector moved to header by AMR from here--> </ul> </div> </div> </div> </div> </footer> <!-- JS FILES --> <div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_GB/sdk.js#xfbml=1&version=v2.10&appId=1755264744788554"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); </script> <script> function PT_PlaylistSubscribe(user_id, type,playlist) { if (!user_id || !type || !playlist) { return false; } if (!$('#main-container').attr('data-logged') && $('#main-url').val()) { window.location.href = PT_Ajax_Requests_File() + 'login?to=' + $('#main-url').val(); return false; } var subscribe_button = $('.subscribe-id-playlist-' + user_id); if (type == 'subscribe') { subscribe_button.removeClass('plist-btn-subscribe').addClass('plist-btn-subscribed'); subscribe_button.html('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M17.75 21.16L15 18.16L16.16 17L17.75 18.59L21.34 15L22.5 16.41L17.75 21.16M3 20V19L5 17V11C5 7.9 7.03 5.18 10 4.29V4C10 2.9 10.9 2 12 2C13.11 2 14 2.9 14 4V4.29C16.97 5.18 19 7.9 19 11V12.08L18 12C14.69 12 12 14.69 12 18C12 18.7 12.12 19.37 12.34 20H3M12 23C10.9 23 10 22.11 10 21H12.8C13.04 21.41 13.33 21.79 13.65 22.13C13.29 22.66 12.69 23 12 23Z" /></svg>'); subscribe_button.attr('onclick', 'PT_PlaylistSubscribe(' + user_id + ', "subscribed","'+playlist+'")'); subscribe_button.attr('title', 'Подписка на уведомления о плейлисте'); $.post('https://www.mgtow.tv/aj/playlist_subscribe', {user_id: user_id,playlist:playlist}); } else { var html = "<small>Вы уверены, что хотите отказаться от подписки? Это действие не может быть отмена.</small>"; swal({ title: "", type: "", html:html, showCancelButton: true, cancelButtonText: "нет", customClass: 'sweetalert-lg pt_add_to_list_vid', confirmButtonText:'да' }).then(function(){ subscribe_button.removeClass('plist-btn-subscribed').addClass('plist-btn-subscribe'); subscribe_button.html('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M21,19V20H3V19L5,17V11C5,7.9 7.03,5.17 10,4.29C10,4.19 10,4.1 10,4A2,2 0 0,1 12,2A2,2 0 0,1 14,4C14,4.1 14,4.19 14,4.29C16.97,5.17 19,7.9 19,11V17L21,19M14,21A2,2 0 0,1 12,23A2,2 0 0,1 10,21M19.75,3.19L18.33,4.61C20.04,6.3 21,8.6 21,11H23C23,8.07 21.84,5.25 19.75,3.19M1,11H3C3,8.6 3.96,6.3 5.67,4.61L4.25,3.19C2.16,5.25 1,8.07 1,11Z" /></svg>'); subscribe_button.attr('onclick', 'PT_PlaylistSubscribe(' + user_id + ', "subscribe","'+playlist+'")'); subscribe_button.attr('title', 'Подписаться на уведомления'); $.post('https://www.mgtow.tv/aj/playlist_subscribe', {user_id: user_id,playlist:playlist}); },function(){ }); } } function PT_Subscribe(user_id, type, mode='') { // mode added by AMR if (!user_id || !type) { return false; } if (!$('#main-container').attr('data-logged') && $('#main-url').val()) { window.location.href = PT_Ajax_Requests_File() + 'login?to=' + $('#main-url').val(); return false; } var subscribe_button = $('.subscribe-id-' + user_id); if (type == 'subscribe') { subscribe_button.removeClass('btn-subscribe').addClass('btn-subscribed'); subscribe_button.html('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-check"><polyline points="20 6 9 17 4 12"></polyline></svg> подписной'); subscribe_button.attr('onclick', 'PT_Subscribe(' + user_id + ', "subscribed")'); $.post('https://www.mgtow.tv/aj/subscribe', {user_id: user_id}, function() { // modified by AMR if (mode == 'live-chat') { location.reload(true); } notify_user(user_id, 'new'); }); } else { var html = "<small>Вы уверены, что хотите отказаться от подписки? Это действие не может быть отмена.</small>"; swal({ title: "", type: "", html:html, showCancelButton: true, cancelButtonText: "нет", customClass: 'sweetalert-lg pt_add_to_list_vid', confirmButtonText:'да' }).then(function(){ subscribe_button.removeClass('btn-subscribed').addClass('btn-subscribe'); subscribe_button.html('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-plus"><line x1="12" y1="5" x2="12" y2="19"></line><line x1="5" y1="12" x2="19" y2="12"></line></svg> Подписывайся'); subscribe_button.attr('onclick', 'PT_Subscribe(' + user_id + ', "subscribe")'); st = notify_user(user_id, 'old'); // modified by AMR if(st === true) { $.post('https://www.mgtow.tv/aj/subscribe', {user_id: user_id}, function() {}); } },function(){ }); } } function PT_Reply(comm_id, name, reply_id) { if (!comm_id) { return false;} var logged = $('#main-container').attr('data-logged'); var name = (name) ? "@"+name+": " : ''; if(!logged){ if (typeof chat !== "undefined") { // added by AMR $('#GenMsgModal').modal('show'); $('#GenMsgTxt').html('You must have an account with us to reply'); return; } window.location.href = "https://www.mgtow.tv/login?to=https://www.mgtow.tv%2Fwatch%2F7-signs-you-039-re-a-non-toxic-good-male_6C1CyOO5bkygvo9.html"; return false; } else{ var reply_form = $('#comm-reply-' + comm_id); reply_form.removeClass('hidden').find('input').val(name).focus().scrollTo(); if (reply_id) { reply_form.attr('data-reply-id',reply_id); } } } $(function () { $(document).on('click','.load-more' , function(event) { event.preventDefault(); var $type = $(this).attr('data-type'); var keyword = ''; if ($(this).attr('data-keyword')) { keyword = $(this).attr('data-keyword'); } var last_id = $('.video-wrapper:last').attr('data-id'); var last_time = $('.video-wrapper:last').attr('data-timer'); // added by AMR going by published time rather if (typeof last_time === "undefined") { last_time = 0; } var sub_category = ''; if ($(this).attr('data-category')) { var $category_id = $(this).attr('data-category'); sub_category = $(this).attr('data-sub-category-id'); $type = 'category?c_id=' + $category_id + '&sub_category='+sub_category; } views = 0; if ($('.video-wrapper:last').attr('data-views')) { var views = $('.video-wrapper:last').attr('data-views'); $type = $type + '?views=' + views; } tr_id = 0; if ($('.video-wrapper:last').attr('data-tr')) { var tr_id = $('.video-wrapper:last').attr('data-tr'); $type = $type + '?tr_id=' + tr_id; } user_id = 0; if ($('#profile-id').val()) { var user_id = $('#profile-id').val(); } data1 = {}; if ($type == 'top') { for (var i = 0; i < $('.video-wrapper').length; i++) { if ($($('.video-wrapper')[i]).attr('data-views') == views) { data1[i] = $($('.video-wrapper')[i]).attr('data-views'); } } } else{ if (views) { var asdf = $('div[data-views=' + views + ']').each(function(index, el) { data1[index] = $(this).attr('data-id') }); } } date = ''; category = ''; if ($(this).attr('data-type') == 'search') { date = $(this).attr('data-by-date'); category = $(this).attr('data-by-category'); } paid_sort = ''; if ($(this).attr('data-type') == 'paid_videos') { paid_sort = $(this).attr('data-video-type'); } if ($(this).attr('data-type') == 'video_comment') { $type = 'video_comment'; last_id = $('.comment_info:last').attr('data-comment-id'); } video_studio_ids = []; video_studio_type = ''; if ($(this).attr('data-type') == 'video_studio') { for (var i = 0; i < $('.video-wrapper').length; i++) { video_studio_ids.push($($('.video-wrapper')[i]).attr('data-id')); } video_studio_type = $(this).attr('sort-type'); } var channels_ids = []; var sort_type = ''; var sort_by = ''; if ($(this).attr('data-type') == 'popular_channels') { channels_ids = []; last_id = $('.channels_list:last').attr('data-channel-views'); for (var i = 0; i < $('.channels_list').length; i++) { if ($($('.channels_list')[i]).attr('data-channel-views') == last_id) { channels_ids.push($($('.channels_list')[i]).attr('data-channel-id')); } } sort_by = $(this).attr('data-sort-by'); sort_type = $(this).attr('data-sort-type'); } $('.load-more').text("Пожалуйста, подождите.."); // last_time added by AMR $.post('https://www.mgtow.tv/aj/load-more/' + $type + '', {last_time: last_time, last_id: last_id, ids: data1, keyword: keyword, user_id: user_id, date: date, category: category, video_studio_ids: video_studio_ids, video_studio_type: video_studio_type, channels_ids: channels_ids, sort_type: sort_type, sort_by: sort_by, paid_sort: paid_sort}, function(data, textStatus, xhr) { if (data.status == 200) { if ($type == 'subscriptions' || $type == 'history' || $type == 'saved_videos' || $type == 'liked_videos' || $type == 'my_videos' || $type == 'video_studio' || $type == 'search' || $type == 'popular_channels') { if ($('#video_studio_ids').length > 0) { $('#video_studio_ids').attr('value',data.video_ids_); $('#video_studio_ids').attr('data_by_id',data.by_ids); } $('.author-list').append(data.videos); } else { if ($type == 'video_comment') { $('#comments_container').append(data.comments); }else{ $('.videos-latest-list').append(data.videos); } } $('.load-more').text("Показать больше"); } else { if ($type == 'video_comment') { $('.load-more').text("Больше комментариев не найдено"); }else if($type == 'popular_channels'){ $('.load-more').text("Нет больше каналов для показа"); }else{ $('.load-more').text("Больше нет видео для показа"); } } myLazyLoad.update(); // added by AMR for lazyload scrolled = 0; }); }); }); function PT_LoadPost(category, self){ if (!self) { return false;} var last_id = ($('.article-wrapper').length > 0) ? $('.article-wrapper:last').attr('data-id') : 0; if (last_id && last_id > 0) { $.post('https://www.mgtow.tv/aj/load-more/articles', {last_id: last_id,cat:category}, function(data, textStatus, xhr) { if (data.status == 200) { $('.articles-container').append(data.posts); $(self).text("Показать больше"); } else { $(self).text("Нет статей"); } }); } } function PT_LoadActivity(self){ if (!self) { return false;} var last_id = ($('.article-wrapper').length > 0) ? $('.article-wrapper:last').attr('data-id') : 0; if (last_id && last_id > 0) { $.post('https://www.mgtow.tv/aj/load-more/activity', {last_id: last_id}, function(data, textStatus, xhr) { if (data.status == 200) { $('.articles-container').append(data.posts); $(self).text("Показать больше"); } else { $(self).text("Нет действий для просмотра"); } }); } } function PT_DeleteVideo(id, type) { if (!id) { return false; } if (!confirm("Вы действительно хотите удалить это видео? Это действие не может быть отменено")) { return false; } if (type == 'edit-page') { $('.btn-delete').attr('disabled', true); $('.btn-delete').val("Пожалуйста, подождите.."); } else if (type == 'manage-page') { $('#video-' + id).slideUp('200', function () { $(this).remove(); }); } $.post('https://www.mgtow.tv/aj/delete-video', {id: id}, function(data, textStatus, xhr) { if (data.status == 200) { if (type == 'edit-page') { window.location.href = 'https://www.mgtow.tv/video_studio'; } } }); } function PT_DeleteActivity(id) { if (!id) { return false; } if (!confirm("")) { return false; } $('#activity-' + id).slideUp('200', function () { $(this).remove(); }); $.post('https://www.mgtow.tv/aj/delete-activity', {id: id}, function(data, textStatus, xhr) { }); } function PT_DeleteHistory(id) { if (!id) { return false; } $('#video-' + id).fadeOut('200', function () { $(this).remove(); }); $.post('https://www.mgtow.tv/aj/delete-history', {id: id}); Snackbar.show({text: '<div><img src="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0nMjAnIGhlaWdodD0nMjAnIHZpZXdCb3g9JzAgMCAyMCAyMCcgeG1sbnM9J2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJz4KCTxnPgoJCTxwYXRoIGQ9J00tMi0yaDI0djI0SC0yeicgZmlsbD0nbm9uZScvPgoJCTxwYXRoIGQ9J00xMCAwQzQuNDggMCAwIDQuNDggMCAxMHM0LjQ4IDEwIDEwIDEwIDEwLTQuNDggMTAtMTBTMTUuNTIgMCAxMCAwek04IDE1bC01LTUgMS40MS0xLjQxTDggMTIuMTdsNy41OS03LjU5TDE3IDZsLTkgOXonIGZpbGw9JyMyNkJDNEUnLz4KCTwvZz4KPC9zdmc+Cg=="/> Удалено из истории</div>'}); } function PT_DeleteSaved(id) { if (!id) { return false; } $('#video-' + id).slideUp('200', function () { $(this).remove(); }); $.post('https://www.mgtow.tv/aj/delete-saved', {id: id}); } function PT_AddToList(video_id){ if (!video_id) { return false; } var name = ''; var desc = ''; var id = video_id; $.ajax({ url: 'https://www.mgtow.tv/aj/lists', type: 'GET', dataType: 'json', data: {type: 'list',a:'add',id:id}, }) .done(function(data) { if (data.status == 200) { swal({ title: "", type: "", html:data.html, showCancelButton: true, cancelButtonText: "Закрыть", customClass: 'sweetalert-lg pt_add_to_list_vid', confirmButtonText:'Создать новый' }).then(function(){ PT_NewList(); },function(){ }); } else{ swal( 'Error!', 'Something went wrong.Please try again later!', 'error' ); } }) .fail(function() { console.log("error"); }) .always(function() { console.log("complete"); }); } function PT_ReportVideo(video_id,self){ if (!video_id || !self) { return false;} var message = ""; self = $(self); if (self.attr('data-rep') == 1) { swal({ title: 'Сообщить об этом видео', html: $('<form>').add($('<p>',{ text:"Пожалуйста, напишите резюме того, о чем это видео было", class:'report-message-label' })).add($('<textarea>',{ id:'report-message', rows: 4, placeholder:'Сообщение' })), showCancelButton: true, confirmButtonText: 'Отправить', cancelButtonText: 'отменить', customClass:'report-video-popup', animation: false, preConfirm: function(name){ return new Promise(function(resolve,reject){ message = $('#report-message').val(); if (message.length < 1) { swal.showValidationError( 'Пожалуйста, проверьте детали' ); reject(); } else{ resolve(); } }); }, allowOutsideClick: false }).then(function(){ $.ajax({ url: 'https://www.mgtow.tv/aj/report/video/report', type: 'POST', dataType: 'json', data: {id: video_id,text:message}, }) .done(function(data) { if (data.status == 200) { swal({ title: 'Спасибо', html: 'Мы получили ваш отчет!' }); self.find('span').text('Отменить отчет'); self.attr('data-rep', '0'); self.addClass('active'); } else if(data.status == 304){ self.find('span').text('Отчет'); self.attr('data-rep', '1'); self.removeClass('active'); notif({ msg: "Ваш отчет отменен!", type: "default", fade:0, timeout:1500 }); } }); }); } else{ $.ajax({ url: 'https://www.mgtow.tv/aj/report/video/cancel', type: 'POST', dataType: 'json', data: {id: video_id}, }) .done(function(data) { if(data.status == 304){ self.find('span').text('Отчет'); self.attr('data-rep', '1'); self.removeClass('active'); notif({ msg: "Ваш отчет отменен!", type: "default", fade:0, timeout:1500 }); } }); } } function PT_ReportCopyVideo(video_id,self){ if (!video_id || !self) { return false;} var text1 = "У меня есть добросовестное предположение, что использование защищенных авторским правом работ, описанных выше, не разрешено владельцем авторского права, его агентом или законом"; var text2 = "Я подтверждаю, что я являюсь владельцем авторского права или имею право действовать от имени владельца исключительного права, которое предположительно было нарушено."; var error = "Пожалуйста, отметьте флажки ниже, если вы являетесь владельцем авторских прав."; swal({ title: 'Создание DMCA снимать уведомления', html: $('<form>').add($('<p>',{ text:"Пожалуйста, опишите вашу просьбу тщательно и столько, сколько вы можете, обратите внимание, что ложные DMCA запросы могут привести к блокировке аккаунта.", class:'report-message-label' })).add($('<textarea>',{ id:'report-message-copy', rows: 4, placeholder:'Сообщение' })).add($('<div class="custom-control custom-radio checkbox checkbox-primary"><input type="checkbox" id="confirm_1" name="confirm_1" class="custom-control-input"><label class="custom-control-label" for="confirm_1">'+text1+'</label></div><div class="custom-control custom-radio checkbox checkbox-primary"><input type="checkbox" id="confirm_2" name="confirm_2" class="custom-control-input"><label class="custom-control-label" for="confirm_2">'+text2+'</label></div>')), showCancelButton: true, confirmButtonText: 'Отправить', cancelButtonText: 'отменить', customClass:'report-video-popup pt_rep_copy_vid', animation: false, preConfirm: function(name){ return new Promise(function(resolve,reject){ message = $('#report-message-copy').val(); if (message.length < 1) { swal.showValidationError( 'Пожалуйста, проверьте детали' ); reject(); } else{ if ($('#confirm_1').is(':not(:checked)')) { swal.showValidationError( error ); reject(); } else{ if ($('#confirm_2').is(':not(:checked)')) { swal.showValidationError( error ); reject(); } else{ resolve(); } } } }); }, allowOutsideClick: false }).then(function(){ $.ajax({ url: 'https://www.mgtow.tv/aj/main/copy_report?hash=' + $('.main_session').val(), type: 'POST', dataType: 'json', data: {id: video_id,text:message}, }) .done(function(data) { if (data.status == 200) { swal({ title: 'Спасибо', html: 'Мы получили ваш отчет!' }); } else if(data.status == 304){ self.find('span').text('Отчет'); self.attr('data-rep', '1'); self.removeClass('active'); notif({ msg: "Ваш отчет отменен!", type: "default", fade:0, timeout:1500 }); } }); }); } function PT_PLVToggle(id,self){ if (!id || !self) { return false; } var self = $(self); var list = self.attr('id'); $.ajax({ url: 'https://www.mgtow.tv/aj/lists', type: 'GET', dataType: 'json', data: {type: 'list',a:'tg',id:id,list:list}, }) .done(function(data) { if (data.status == 200 && data.code == 1) { self.find('.pt-plist-tgl_btn').html('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="green" d="M17,7H7A5,5 0 0,0 2,12A5,5 0 0,0 7,17H17A5,5 0 0,0 22,12A5,5 0 0,0 17,7M17,15A3,3 0 0,1 14,12A3,3 0 0,1 17,9A3,3 0 0,1 20,12A3,3 0 0,1 17,15Z" /></svg>'); notif({ msg: "Добавлено в " + data.name, type: "default", fade:0, timeout:1500 }); } else if(data.status == 200 && data.code == 0){ self.find('.pt-plist-tgl_btn').html('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M7,10A2,2 0 0,1 9,12A2,2 0 0,1 7,14A2,2 0 0,1 5,12A2,2 0 0,1 7,10M17,7A5,5 0 0,1 22,12A5,5 0 0,1 17,17H7A5,5 0 0,1 2,12A5,5 0 0,1 7,7H17M7,9A3,3 0 0,0 4,12A3,3 0 0,0 7,15H17A3,3 0 0,0 20,12A3,3 0 0,0 17,9H7Z" /></svg>'); notif({ msg: "Удалено из " + data.name, type: "default", fade:0, timeout:1500 }); } else{ swal( 'Error!', 'Something went wrong.Please try again later!', 'error' ); } }) .fail(function() { console.log("error"); }) } function PT_WLToggle(id,self){ if (!id || !self) { return false; } var self = $(self); $.ajax({ url: 'https://www.mgtow.tv/aj/lists', type: 'GET', dataType: 'json', data: {type: 'list',a:'wl-tg',id:id}, }) .done(function(data) { if (data.status == 200 && data.code == 1) { self.find('.pt-plist-tgl_btn').html('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="green" d="M17,7H7A5,5 0 0,0 2,12A5,5 0 0,0 7,17H17A5,5 0 0,0 22,12A5,5 0 0,0 17,7M17,15A3,3 0 0,1 14,12A3,3 0 0,1 17,9A3,3 0 0,1 20,12A3,3 0 0,1 17,15Z" /></svg>'); notif({ msg: "Добавлено в \"Посмотреть позже\"", type: "default", fade:0, timeout:1500 }); } else if(data.status == 200 && data.code == 0){ self.find('.pt-plist-tgl_btn').html('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M7,10A2,2 0 0,1 9,12A2,2 0 0,1 7,14A2,2 0 0,1 5,12A2,2 0 0,1 7,10M17,7A5,5 0 0,1 22,12A5,5 0 0,1 17,17H7A5,5 0 0,1 2,12A5,5 0 0,1 7,7H17M7,9A3,3 0 0,0 4,12A3,3 0 0,0 7,15H17A3,3 0 0,0 20,12A3,3 0 0,0 17,9H7Z" /></svg>'); notif({ msg: "Удалено из \"Посмотреть позже\"", type: "default", fade:0, timeout:1500 }); } else{ swal( 'Error!', 'Something went wrong.Please try again later!', 'error' ); } }) .fail(function() { console.log("error"); }) } function PT_NewList(){ swal({ title: '', type: "", html:'<form class="form create-new-list"><div class="create-new-list-head"><p><i class="fa fa-plus"></i> Создать новый плейлист</p></div><div class="sa-create-list-alert"></div><div class="form-group"><input type="text" class="form-control" placeholder="Название плейлиста 0 / 30"></div><div class="form-group"><select class="form-control"><option value="1" selected="selected">Приватность</option><option value="1">Публичный</option><option value="0">Приватный</option></select></div><div class="form-group"><textarea name="" id="" rows="3" class="form-control optional-field" placeholder="Описание.."></textarea></div></form>', showCancelButton: true, allowOutsideClick:false, confirmButtonText:'<i class="fa fa-plus-circle"></i> создать', cancelButtonText:'отменить', preConfirm: function (email) { return new Promise(function (resolve, reject) { name = $(".create-new-list").find('input').val(); desc = $(".create-new-list").find('textarea').val(); privacy = $(".create-new-list").find('select').val(); setTimeout(function() { if (name == '') { reject('Введите имя плейлиста'); } else if(privacy < 0 || privacy > 1){ reject('Пожалуйста, проверьте детали'); } else { resolve(); } }, 100) }) } }).then(function(){ if (!name){ return;} $.ajax({ url: 'https://www.mgtow.tv/aj/lists?type=list&a=new', type: 'POST', dataType: 'json', data: {name:name,desc:desc,pr:privacy}, }) .done(function(data) { if (data.status == 200) { swal({ title:name, text:"Плейлист был успешно добавлен!", type:'success' }); PT_Delay(function(){ swal.close(); },2000); } else if(data.status == 200){ swal( 'Error!', 'Something went wrong.Please try again later!', 'error' ); } }) .fail(function() { swal.close(); console.log("error"); }) }, function(){ //Error }) } function PT_EditList(id){ if (!id) { return false; } $.ajax({ url: 'https://www.mgtow.tv/aj/lists', type: 'GET', dataType: 'json', data: {type: 'list',a:'edit',id:id}, }) .done(function(data) { if (data.status == 200) { swal({ title: '', type: "", html:data.html, showCancelButton: true, allowOutsideClick:false, confirmButtonText:'<i class="fa fa-floppy-o"></i> Сохранить', cancelButtonText:'отменить', preConfirm: function (email) { return new Promise(function (resolve, reject) { name = $(".edit-list-form").find('input').val(); desc = $(".edit-list-form").find('textarea').val(); privacy = $(".edit-list-form").find('select').val(); setTimeout(function() { if (name == '') { reject(''); } else if(privacy < 0 || privacy > 1){ reject('Пожалуйста, проверьте детали'); } else { resolve(); } }, 100) }) } }).then(function(){ if (!name){ return;} $.ajax({ url: 'https://www.mgtow.tv/aj/lists?type=list&a=update', type: 'POST', dataType: 'json', data: {name:name,desc:desc,pr:privacy,id:id}, }) .done(function(data) { if (data.status == 200) { swal({ title:name, text:"Плейлист был успешно сохранен!", type:'success' }); PT_Delay(function(){ swal.close(); },2000); } else if(data.status == 200){ swal( 'Error!', 'Something went wrong.Please try again later!', 'error' ); } }) .fail(function() { swal.close(); console.log("error"); }) }, function(){ //Error }) } }) .fail(function() { console.log("error"); }) } function PT_DeleteList(id){ if (!id) { return false;} swal({ title: 'Подтверждение!', text: "Вы действительно хотите удалить этот список воспроизведения?", type: 'warning', showCancelButton: true, confirmButtonColor: '#3085d6', cancelButtonColor: '#d33', confirmButtonText: 'Да, удалите его!' }).then(function(){ $.ajax({ url: 'https://www.mgtow.tv/aj/lists', type: 'GET', dataType: 'json', data: {type: 'list',a:'delist',id:id}, }) .done(function(data) { if (data.status == 200) { $("[data-playlist='"+id+"']").slideUp(function(){ $(this).remove(); }); swal({ title:"Удаляется!", text:data.name + " был удален!", type:"success" }); } else{ swal( 'Error!', 'Something went wrong.Please try again later!', 'error' ); } }) .fail(function() { console.log("error"); }) }) } function PT_DelFromList(list_id,video_id){ if (!list_id || !video_id) { return false; } $.ajax({ url: 'https://www.mgtow.tv/aj/lists', type: 'GET', dataType: 'json', data: {type: 'list',a:'delvid',video_id:video_id,list_id:list_id}, }) .done(function(data) { if (data.status == 200) { $("[data-video-id='"+video_id+"']").slideUp(function(){ $(this).remove(); }) } else{ swal( 'Error!', 'Something went wrong.Please try again later!', 'error' ); } }) .fail(function() { swal( 'Error!', 'Something went wrong.Please try again later!', 'error' ); }) } function PT_RemoveFromWL(video_id){ if (!video_id) { return false; } $.ajax({ url: 'https://www.mgtow.tv/aj/lists', type: 'GET', dataType: 'json', data: {type: 'list',a:'delwl',video_id:video_id}, }) .done(function(data) { if (data.status == 200) { $("[data-video-id='"+video_id+"']").slideUp(function(){ $(this).remove(); }) } else{ swal( 'Error!', 'Something went wrong.Please try again later!', 'error' ); } }) .fail(function() { swal( 'Error!', 'Something went wrong.Please try again later!', 'error' ); }) } function PT_RVReply(text,comm_id,event,video_id){ if (!text || !comm_id || !event || !video_id) { return false; } else if(event.keyCode == 13 && event.shiftKey == 0){ var reply_id = 0; if($("#comm-reply-"+comm_id).attr('data-reply-id')){ reply_id = $("#comm-reply-"+comm_id).attr('data-reply-id'); } $("#comm-reply-"+comm_id).blur(); // added by AMR $("body").addClass("ajax-loading"); // added by AMR temp until new update? $.ajax({ url: "https://www.mgtow.tv/aj/add-reply/video", type: 'POST', dataType: 'json', data: {text:text,id:comm_id,video_id:video_id,reply:reply_id}, }) .done(function(data) { if (data.status == 200) { $("#pt-comment-replies-cont-" + comm_id).append(data.html) $("#comm-reply-"+comm_id).find('input').val('').blur(); } else { // added by AMR $('#GenMsgModal').modal('show'); $('#GenMsgTxt').html('Sorry, something went wrong: '+data.message+'. If you were writing something, best to copy it and refresh the app and paste it.'); } $("body").removeClass("ajax-loading"); // added by AMR $("#comment-reply-loading-renderer-"+comm_id).addClass('hidden'); }) .fail(function() { // modified by AMR delray add screen blockers for reply comments taking too long to load... $('#GenMsgModal').modal('show'); $('#GenMsgTxt').html('Sorry, something went wrong: Please try again later...'); }) } } function PT_RPReply(text,comm_id,event,post_id){ if (!text || !comm_id || !event || !post_id) { return false; } else if(event.keyCode == 13 && event.shiftKey == 0){ var reply_id = 0; if($("#comm-reply-"+comm_id).attr('data-reply-id')){ reply_id = $("#comm-reply-"+comm_id).attr('data-reply-id'); } $.ajax({ url: "https://www.mgtow.tv/aj/add-reply/article", type: 'POST', dataType: 'json', data: {text:text,id:comm_id,post_id:post_id,reply:reply_id}, }) .done(function(data) { if (data.status == 200) { $("#pt-comment-replies-cont-" + comm_id).append(data.html) $("#comm-reply-"+comm_id).find('input').val('').blur(); } else { // added by AMR $('#GenMsgModal').modal('show'); $('#GenMsgTxt').html('Sorry, something went wrong: '+data.message+'. If you were writing something, best to copy it and refresh the app and paste it.'); } $("#comment-reply-loading-renderer-"+comm_id).addClass('hidden'); }) .fail(function() { $('#GenMsgModal').modal('show'); $('#GenMsgTxt').html('Sorry, something went wrong: Please try again later...'); }) } } function PT_RAReply(text,comm_id,event,post_id){ if (!text || !comm_id || !event || !post_id) { return false; } else if(event.keyCode == 13 && event.shiftKey == 0){ var reply_id = 0; if($("#comm-reply-"+comm_id).attr('data-reply-id')){ reply_id = $("#comm-reply-"+comm_id).attr('data-reply-id'); } $.ajax({ url: "https://www.mgtow.tv/aj/add-reply/activity", type: 'POST', dataType: 'json', data: {text:text,id:comm_id,post_id:post_id,reply:reply_id}, }) .done(function(data) { if (data.status == 200) { $("#pt-comment-replies-cont-" + comm_id).append(data.html) $("#comm-reply-"+comm_id).find('input').val('').blur(); } else { // added by AMR $('#GenMsgModal').modal('show'); $('#GenMsgTxt').html('Sorry, something went wrong: '+data.message+'. If were writing something, best to copy it and refresh the app and paste it.'); } $("#comment-reply-loading-renderer-"+comm_id).addClass('hidden'); }) .fail(function() { $('#GenMsgModal').modal('show'); // mod by AMR $('#GenMsgTxt').html('Sorry, something went wrong: Please try again later...'); }) } } function PT_DeleteReply(id) { if (!id) { return false; } if (!confirm('Вы уверены, что хотите удалить свой комментарий?')) { return false; } $('#reply-' + id).slideUp('fast'); $.post('https://www.mgtow.tv/aj/delete-reply', {id: id}); } function PT_LikeComments(self,type,comment_id){ if (!self || (type != 'up' && type != 'down') || !comment_id){ return false; } else if (!$('#main-container').attr('data-logged') && $('#main-url').val()) { if (typeof chat !== "undefined") { // added by AMR $('#GenMsgModal').modal('show'); $('#GenMsgTxt').html('You must have an account with us to reply'); return; } window.location.href = PT_Ajax_Requests_File() + 'login?to=' + $('#main-url').val(); return false; } $("body").addClass("ajax-loading"); // added by AMR temp until new update? var self = $(self); $.ajax({ url: 'https://www.mgtow.tv/aj/comment-like-system/' + type, type: 'POST', dataType: 'json', data: {id:comment_id} }) .done(function(data) { if (data.status == 200 && type == 'up' && data.type == 'added_like'){ self.find('span').text((data.up)); $('[data-comment-dislikes="'+comment_id+'"]').find('span').text((data.down)); self.find('svg.feather').addClass('active'); self.siblings().find('svg.feather').removeClass('active'); } else if (data.status == 200 && type == 'up' && data.type == 'deleted_like'){ self.find('span').text((data.up)); $('[data-comment-dislikes="'+comment_id+'"]').find('span').text((data.down)); self.find('svg.feather').removeClass('active'); self.siblings().find('svg.feather').removeClass('active'); } else if (data.status == 200 && type == 'down' && data.type == 'added_dislike'){ self.find('span').text((data.down)); self.find('svg.feather').addClass('active'); $('[data-comment-likes="'+comment_id+'"]').find('span').text((data.up)); self.siblings().find('svg.feather').removeClass('active'); } else if (data.status == 200 && type == 'down' && data.type == 'deleted_dislike'){ self.find('span').text((data.down)); self.find('svg.feather').removeClass('active'); $('[data-comment-likes="'+comment_id+'"]').find('span').text((data.up)); self.siblings().find('svg.feather').removeClass('active'); } else{ swal( 'Error!', 'Something went wrong.Please try again later!', 'error' ); } $("body").removeClass("ajax-loading"); // added by AMR }) .fail(function() { $("body").removeClass("ajax-loading"); // added by AMR $('#GenMsgModal').modal('show'); $('#GenMsgTxt').html('Some tech error happened. Please restart the app.'); }) } function PT_LikeReplies(self,type,reply_id){ if (!self || (type != 'up' && type != 'down') || !reply_id){ return false; } else if (!$('#main-container').attr('data-logged') && $('#main-url').val()) { window.location.href = PT_Ajax_Requests_File() + 'login?to=' + $('#main-url').val(); return false; } $("body").addClass("ajax-loading"); // added by AMR temp until new update? var self = $(self); $.ajax({ url: 'https://www.mgtow.tv/aj/reply-like-system/' + type, type: 'POST', dataType: 'json', data: {id:reply_id} }) .done(function(data) { if (data.status == 200 && type == 'up' && data.type == 'added_like'){ self.find('span').text((data.up)); $('[data-reply-dislikes="'+reply_id+'"]').find('span').text((data.down)); self.find('svg.feather').addClass('active'); self.siblings().find('svg.feather').removeClass('active'); } else if (data.status == 200 && type == 'up' && data.type == 'deleted_like'){ self.find('span').text((data.up)); $('[data-reply-dislikes="'+reply_id+'"]').find('span').text((data.down)); self.find('svg.feather').removeClass('active'); self.siblings().find('svg.feather').removeClass('active'); } else if (data.status == 200 && type == 'down' && data.type == 'added_dislike'){ self.find('span').text((data.down)); self.find('svg.feather').addClass('active'); $('[data-reply-likes="'+reply_id+'"]').find('span').text((data.up)); self.siblings().find('svg.feather').removeClass('active'); } else if (data.status == 200 && type == 'down' && data.type == 'deleted_dislike'){ self.find('span').text((data.down)); self.find('svg.feather').removeClass('active'); $('[data-reply-likes="'+reply_id+'"]').find('span').text((data.up)); self.siblings().find('svg.feather').removeClass('active'); } else{ swal( 'Error!', 'Something went wrong.Please try again later!', 'error' ); } $("body").removeClass("ajax-loading"); // added by AMR }) .fail(function() { $('#GenMsgModal').modal('show'); $('#GenMsgTxt').html('Some tech error happened. Please restart the app.'); }) } function pt_hide_announcement(id){ if (!id) { return false; } $("#announcement-"+id).slideUp('fast',function(){ $(this).remove(); $.post('https://www.mgtow.tv/aj/main/hide-announcement', {id: id}, function(data, textStatus, xhr) { /* pass */ }); }) } function pay_to_see(video_id,price,type = '') { $('.p_t_show_btn_').attr('disabled', 'true'); if (type == 'rent') { $('.p_t_show_btn_rent').text("Пожалуйста, подождите.."); $('.p_t_show_btn_rent').text("Арендная плата $"+price); PT_ShowMethods('rent',video_id,price); } else{ $('.p_t_show_btn_buy').text("Пожалуйста, подождите.."); $('.p_t_show_btn_buy').text("платить $"+price); PT_ShowMethods('pay',video_id,price); } $('.p_t_show_btn_').removeAttr('disabled'); } function PT_ShowMethods(type, video_id = 0, price = 0, user_id = 0) { $.post('https://www.mgtow.tv/aj/wallet/get_modal',{type:type,video_id:video_id,price:price,user_id:user_id}, function(data, textStatus, xhr) { if (data.status == 200) { $('.payment_method').html(data.html); $('#pay-go-pro').modal({ show: true }); } if (type == 'subscribe') { $('.subscribe-id-'+user_id).find('span').text("Подписывайся"); $('.subscribe-id-'+user_id).removeAttr('disabled'); } }); } function PT_PurchasePkg(pkg,self,video_id,price,user_id = 0){ if (!pkg || !self) { return false; } $(self).text("Пожалуйста, подождите..").attr('disabled', 'true'); if (pkg == 'pro') { $.ajax({ url: 'https://www.mgtow.tv/aj/go_pro/purchase', type: 'POST', dataType: 'json', data: {type: pkg}, }) .done(function(data) { if (data.status == 200) { $('#pay-go-pro').modal('hide'); document.location.href = data.url; } else{ swal({ title:"Ошибка!", text:"Что-то пошло не так. Пожалуйста, повторите попытку позже!", type:"error" }) } }) .fail(function() { console.log("error"); }); } else if (pkg == 'wallet') { amount = $("#wallet_amount").val(); dono = $("#wallet_dono").val(); // added by AMR $.ajax({ url: 'https://www.mgtow.tv/aj/wallet/replenish', type: 'POST', dataType: 'json', data: {amount:amount, dono:dono}, // dono added by AMR }) .done(function(data) { if (data.status == 200) { window.location.href = data.url; } else{ swal({ title:"Ошибка!", text:"Что-то пошло не так. Пожалуйста, повторите попытку позже!", type:"error" }); } }) .fail(function() { swal({ title:"Ошибка!", text:"Что-то пошло не так. Пожалуйста, повторите попытку позже!", type:"error" }); }); } else if (pkg == 'pay') { $.post('https://www.mgtow.tv/aj/go_pro/pay_to_see', {video_id: video_id}, function(data, textStatus, xhr) { if (data.status == 200) { document.location.href = data.url; } else{ swal({ title:"Ошибка!", text:"Что-то пошло не так. Пожалуйста, повторите попытку позже!", type:"error" }) } $('.p_t_show_btn_buy').text("платить $"+price); $('.p_t_show_btn_').removeAttr('disabled'); }); } else if (pkg == 'rent') { $.post('https://www.mgtow.tv/aj/go_pro/pay_to_see', {video_id: video_id,pay_type:'rent'}, function(data, textStatus, xhr) { if (data.status == 200) { document.location.href = data.url; } else{ swal({ title:"Ошибка!", text:"Что-то пошло не так. Пожалуйста, повторите попытку позже!", type:"error" }) } $('.p_t_show_btn_rent').text("Арендная плата $"+price); $('.p_t_show_btn_').removeAttr('disabled'); }); } else if (pkg == 'subscribe' && user_id > 0) { $.post('https://www.mgtow.tv/aj/go_pro/subscribe', {user_id: user_id,type:'paypal'}, function(data, textStatus, xhr) { if (data.status == 200) { document.location.href = data.url; } else{ swal({ title:"Ошибка!", text:"Что-то пошло не так. Пожалуйста, повторите попытку позже!", type:"error" }) } }); } } function pay_using_iyzipay(pkg,self,video_id,price,user_id = 0) { $('.btn-iyzipay').attr('disabled','true'); $('.btn-iyzipay').find('span').text("Пожалуйста, подождите.."); pay_type = ''; if (pkg == 'pro') { path = '/go_pro/iyzipay'; } else if (pkg == 'wallet') { path = '/wallet/iyzipay'; price = $("#wallet_amount").val(); } else if (pkg == 'pay') { path = '/go_pro/iyzipay_pay_to_see'; } else if (pkg == 'rent') { path = '/go_pro/iyzipay_pay_to_see'; pay_type = 'rent'; } else if (pkg == 'subscribe') { path = '/go_pro/subscribe'; } $.post('https://www.mgtow.tv/aj'+path, {video_id:video_id,amount:price,user_id:user_id,pay_type:pay_type,type:'iyzipay'}, function(data) { if (data.status == 200) { $('#iyzipay_content').html(''); $('#iyzipay_content').html(data.html); } else { $('.btn-iyzipay').attr('disabled', false).html("Iyzipay App not set yet."); } $('.btn-iyzipay').removeAttr('disabled'); $('.btn-iyzipay').find('span').text("Айзипай"); }); } function pay_using_payu(pkg,self,video_id,price,user_id = 0,show_modale = false) { if(show_modale == true){ $('#pay-go-pro').modal('hide'); $('#payu_modal').find('#payu_btn').attr('onclick', "pay_using_payu('"+pkg+"',self,'"+video_id+"','"+price+"','"+user_id+"')"); $('#payu_modal').modal('show'); return false; } card_number = $('#payu_card_number').val(); card_month = $('#payu_card_month').val(); card_year = $('#payu_card_year').val(); card_cvc = $('#payu_card_cvc').val(); $('#payu_btn').attr('disabled','true'); $('#payu_btn').text("Пожалуйста, подождите.."); pay_type = ''; if (pkg == 'pro') { path = '/go_pro/payu'; } else if (pkg == 'wallet') { path = '/wallet/payu'; price = $("#wallet_amount").val(); } else if (pkg == 'pay') { path = '/go_pro/payu_pay_to_see'; } else if (pkg == 'rent') { path = '/go_pro/payu_pay_to_see'; pay_type = 'rent'; } else if (pkg == 'subscribe') { path = '/go_pro/payu_subscribe'; } $.post('https://www.mgtow.tv/aj'+path, {video_id:video_id,amount:price,user_id:user_id,pay_type:pay_type,type:'payu',card_number:card_number,card_month:card_month,card_year:card_year,card_cvc:card_cvc}, function(data) { if (data.status == 200) { if(data.url){ location.href = data.url; } } else { $('#payu_alert').html("<div class='alert alert-danger'>"+data.message+"</div>"); } $('#payu_btn').removeAttr('disabled'); $('#payu_btn').text("платить"); }); } function pay_using_paysera(pkg,self,video_id,price,user_id = 0) { $('.btn-paysera').attr('disabled','true'); $('.btn-paysera').find('span').text("Пожалуйста, подождите.."); pay_type = ''; if (pkg == 'pro') { path = '/go_pro/paysera'; } else if (pkg == 'wallet') { path = '/wallet/paysera'; amount = $("#wallet_amount").val(); } else if (pkg == 'pay') { path = '/go_pro/paysera_pay_to_see'; } else if (pkg == 'rent') { path = '/go_pro/paysera_pay_to_see'; pay_type = 'rent'; } else if (pkg == 'subscribe') { path = '/go_pro/subscribe'; } $.post('https://www.mgtow.tv/aj'+path, {video_id:video_id,amount:price,user_id:user_id,pay_type:pay_type,type:'paysera'}, function(data) { if (data.status == 200) { window.location.href = data.url; } else { $('.btn-paysera').attr('disabled', false).html("Paysera App not set yet."); } $('.btn-paysera').removeAttr('disabled'); $('.btn-paysera').find('span').text("Paysera"); }); } function pay_using_razorpay(pkg,self,video_id,price,user_id = 0) { $('#razorpay_type').val(pkg); $('#razorpay_video_id').val(video_id); $('#razorpay_price').val(price); $('#razorpay_user_id').val(user_id); $("#razorpay_alert").html(''); $('#pay-go-pro').modal('hide'); $('#razorpay_modal_box').modal({ show: true }); } function SignatureRazorpay() { $('#razorpay_button').html("Пожалуйста, подождите.."); $('#razorpay_button').attr('disabled','true'); var merchant_order_id = "111111"; var card_holder_name_id = $('#razorpay_name').val(); var email = $('#razorpay_email').val(); var phone = $('#razorpay_phone').val(); var currency_code_id = "INR"; if (!email || !phone || !card_holder_name_id) { $('#razorpay_alert').html("<div class='alert alert-danger'>Пожалуйста, проверьте детали</div>"); $('#razorpay_button').html("платить"); $('#razorpay_button').removeAttr('disabled'); setTimeout(function () { $('#razorpay_alert').html(""); },3000); return false; } video_id = $('#razorpay_video_id').val(); amount = $('#razorpay_price').val(); user_id = $('#razorpay_user_id').val(); pay_type = ''; pkg = $('#razorpay_type').val(); if (pkg == 'pro') { path = '/go_pro/razorpay'; } else if (pkg == 'wallet') { path = '/wallet/razorpay'; amount = $("#wallet_amount").val(); } else if (pkg == 'pay') { path = '/go_pro/razorpay_pay_to_see'; } else if (pkg == 'rent') { path = '/go_pro/razorpay_pay_to_see'; pay_type = 'rent'; } else if (pkg == 'subscribe') { path = '/go_pro/subscribe_razorpay'; } var merchant_total = Number(amount) * 100; var razorpay_options = { key: "", amount: merchant_total, name: "MGTOW TV", description: "", image: 'https://www.mgtow.tv/themes/default/img/logo-light.png', netbanking: true, currency: currency_code_id, prefill: { name: card_holder_name_id, email: email, contact: phone }, notes: { soolegal_order_id: merchant_order_id, }, handler: function (transaction) { $.post('https://www.mgtow.tv/aj'+path, {payment_id: transaction.razorpay_payment_id, order_id: merchant_order_id, card_holder_name_id: card_holder_name_id, merchant_amount: merchant_total, currency: currency_code_id,video_id:video_id,user_id:user_id,pay_type:pay_type,type:'razorpay',name:name,phone:phone}, function(data) { if (data.status == 200) { window.location = data.url; } else { $('#razorpay_alert').html("<div class='alert alert-danger'>"+data.message+"</div>"); setTimeout(function () { $('#razorpay_alert').html(""); },3000); } $('#razorpay_button').html("платить"); $('#razorpay_button').removeAttr('disabled'); }); }, "modal": { "ondismiss": function () { // code here } } }; // obj var objrzpv1 = new Razorpay(razorpay_options); objrzpv1.open(); } function pay_using_cashfree(pkg,self,video_id,price,user_id = 0) { $('#cashfree_type').val(pkg); $('#cashfree_video_id').val(video_id); $('#cashfree_price').val(price); $('#cashfree_user_id').val(user_id); $("#cashfree_alert").html(''); $('#pay-go-pro').modal('hide'); $('#cashfree_modal_box').modal({ show: true }); } function InitializeCashfree() { $('#cashfree_button').html("Пожалуйста, подождите.."); $('#cashfree_button').attr('disabled','true'); name = $('#cashfree_name').val(); phone = $('#cashfree_phone').val(); email = $('#cashfree_email').val(); video_id = $('#cashfree_video_id').val(); amount = $('#cashfree_price').val(); user_id = $('#cashfree_user_id').val(); pay_type = ''; pkg = $('#cashfree_type').val(); if (pkg == 'pro') { path = '/go_pro/cashfree'; } else if (pkg == 'wallet') { path = '/wallet/cashfree'; amount = $("#wallet_amount").val(); } else if (pkg == 'pay') { path = '/go_pro/cashfree_pay_to_see'; } else if (pkg == 'rent') { path = '/go_pro/cashfree_pay_to_see'; pay_type = 'rent'; } else if (pkg == 'subscribe') { path = '/go_pro/subscribe'; } $.post('https://www.mgtow.tv/aj'+path, {email:email,video_id:video_id,amount:amount,user_id:user_id,pay_type:pay_type,type:'cashfree',name:name,phone:phone}, function(data) { if (data.status == 200) { $('body').append(data.html); document.getElementById("redirectForm").submit(); } else { $('#cashfree_alert').html("<div class='alert alert-danger'>"+data.message+"</div>"); setTimeout(function () { $('#cashfree_alert').html(""); },3000); } $('#cashfree_button').html("платить"); $('#cashfree_button').removeAttr('disabled'); }); } function pay_using_paystack(pkg,self,video_id,price,user_id = 0) { $('#paystack_type').val(pkg); $('#paystack_video_id').val(video_id); $('#paystack_price').val(price); $('#paystack_user_id').val(user_id); $("#paystack_wallet_alert").html(''); $('#pay-go-pro').modal('hide'); $('#paystack_wallet_modal').modal({ show: true }); } function InitializeWalletPaystack() { $('#paystack_btn').html("Пожалуйста, подождите.."); $('#paystack_btn').attr('disabled','true'); email = $('#paystack_wallet_email').val(); video_id = $('#paystack_video_id').val(); amount = $('#paystack_price').val(); user_id = $('#paystack_user_id').val(); pay_type = ''; pkg = $('#paystack_type').val(); if (pkg == 'pro') { path = '/go_pro/paystack'; } else if (pkg == 'wallet') { path = '/wallet/paystack'; amount = $("#wallet_amount").val(); } else if (pkg == 'pay') { path = '/go_pro/paystack_pay_to_see'; } else if (pkg == 'rent') { path = '/go_pro/paystack_pay_to_see'; pay_type = 'rent'; } else if (pkg == 'subscribe') { path = '/go_pro/subscribe'; } $.post('https://www.mgtow.tv/aj'+path, {email:email,video_id:video_id,amount:amount,user_id:user_id,pay_type:pay_type,type:'paystack'}, function(data) { if (data.status == 200) { window.location.href = data.url; } else { $('#paystack_wallet_alert').html("<div class='alert alert-danger'>"+data.message+"</div>"); setTimeout(function () { $('#paystack_wallet_alert').html(""); },3000); } $('#paystack_btn').html("платить"); $('#paystack_btn').removeAttr('disabled'); }); } function PT_OpenCheckOut(pkg,self,video_id = 0,price = 0,user_id = 0){ if (!pkg || !self) { return false; } if (video_id) { $('#checkout_video_'+video_id).val(video_id); } if (price) { $('#checkout_price_'+video_id).val(price); } $('#checkout_user_id').val(user_id); $(self).text("Пожалуйста, подождите..").attr('disabled', 'true'); $("#2checkout_alert").html(''); $('#pay-go-pro').modal('hide'); $('#2checkout_modal').modal({ show: true }); if (pkg == 'rent') { $('.checkout_pay_type').val('rent'); } else{ $('.checkout_pay_type').val(''); } } function pay_using_wallet(pkg,self,video_id,price,user_id = 0){ if (!pkg || !self) { return false; } $(self).text("Пожалуйста, подождите..").attr('disabled', 'true'); var arr = ['pro', 'lite', 'freemium', 'elite', 'pro_yearly', 'lite_yearly', 'elite_yearly', 'freemium_yearly', 'freemium_semiyearly', 'freemium_quarterly', 'lite_semiyearly', 'lite_quarterly', 'pro_semiyearly', 'pro_quarterly', 'elite_semiyearly', 'elite_quarterly']; // added by AMR if (jQuery.inArray(pkg, arr) !== -1) { // modified by AMR $.ajax({ url: 'https://www.mgtow.tv/aj/go_pro/pro_wallet', type: 'POST', dataType: 'json', data: {type: pkg}, }) .done(function(data) { if (data.status == 200) { $('#pay-go-pro').modal('hide'); document.location.href = data.url; } else if(data.status == 305){ // added by AMR to show custom errors! swal({ title:"Ошибка!", text:data.msg, type:"error" }) } else{ swal({ title:"Ошибка!", text:"Что-то пошло не так. Пожалуйста, повторите попытку позже!", type:"error" }) } }) .fail(function() { console.log("error"); }); } else if (pkg == 'pay') { $.post('https://www.mgtow.tv/aj/go_pro/pay_to_see_wallet', {video_id: video_id}, function(data, textStatus, xhr) { if (data.status == 200) { document.location.href = data.url; } else{ swal({ title:"Ошибка!", text:"Что-то пошло не так. Пожалуйста, повторите попытку позже!", type:"error" }) } $('.p_t_show_btn_').text("платить $"+price); $('.p_t_show_btn_').removeAttr('disabled'); }); } else if (pkg == 'rent') { $.post('https://www.mgtow.tv/aj/go_pro/pay_to_see_wallet', {video_id: video_id,pay_type:'rent'}, function(data, textStatus, xhr) { if (data.status == 200) { document.location.href = data.url; } else{ swal({ title:"Ошибка!", text:"Что-то пошло не так. Пожалуйста, повторите попытку позже!", type:"error" }) } $('.p_t_show_btn_rent').text("Арендная плата $"+price); $('.p_t_show_btn_').removeAttr('disabled'); }); } else if (pkg == 'subscribe' && user_id > 0) { $.post('https://www.mgtow.tv/aj/go_pro/subscribe', {user_id: user_id,type:'wallet'}, function(data, textStatus, xhr) { if (data.status == 200) { document.location.href = data.url; } else if(data.status == 305){ // added by AMR to show custom errors! swal({ title:"Ошибка!", text:data.msg, type:"error" }) } else{ swal({ title:"Ошибка!", text:"Что-то пошло не так. Пожалуйста, повторите попытку позже!", type:"error" }) } }); } else { // added by AMR swal({ title:"Ошибка!", text:"Что-то пошло не так. Пожалуйста, повторите попытку позже!", type:"error" }) } } function PT_PaySubscribe(user_id,self,type = '') { if (!user_id || !self) { return false; } if (type == 'subscribe') { $(self).find('span').text("Пожалуйста, подождите.."); $(self).attr('disabled', 'true'); PT_ShowMethods('subscribe',0,0,user_id); } else{ var html = "<small>Вы уверены, что хотите отказаться от подписки? Это действие не может быть отмена.</small>"; swal({ title: "", type: "", html:html, showCancelButton: true, cancelButtonText: "нет", customClass: 'sweetalert-lg pt_add_to_list_vid', confirmButtonText:'да' }).then(function(){ $(self).removeClass('btn-subscribed').addClass('btn-subscribe'); $(self).find('span').text("Подписывайся"); $(self).find('svg').remove(); $(self).prepend('<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-plus"><line x1="12" y1="5" x2="12" y2="19"></line><line x1="5" y1="12" x2="19" y2="12"></line></svg>'); $(self).attr('onclick', 'PT_PaySubscribe(' + user_id + ',this,"subscribe")'); $.post('https://www.mgtow.tv/aj/subscribe', {user_id: user_id}); },function(){ }); } $(self).removeAttr('disabled'); //$(self).find('span').text(text); // deemed useless by AMR } </script> <script type="text/javascript" src="https://www.mgtow.tv/themes/default/js/script.js"></script> <script type="text/javascript" src="https://www.mgtow.tv/themes/default/js/bootstrap.min.js"></script> <script src="https://gitcdn.github.io/bootstrap-toggle/2.2.2/js/bootstrap-toggle.min.js"></script> <script src="https://www.mgtow.tv/themes/default/js/footer.js?v=2"></script> <script src="https://www.mgtow.tv/themes/default/js/textarea-autosize.min.js"></script><!--added by AMR--> <script> var is_mobile_by_amr = $('#is_mobile_by_amr').val(); // added by AMR does not change, desktop, mobile, smartphone var member_status = $('#member_status').val(); //added by AMR document.getElementById("night_or_light_mode_main").value = night_or_light_mode; // added by AMR super fast load! $(window).on("popstate", function (e) { // added by AMR? location.reload(); }); function componentToHex(c) { // added by AMR var hex = c.toString(16); return hex.length == 1 ? "0" + hex : hex; } function rgbToHex(r, g, b) { // added by AMR return "#" + componentToHex(r) + componentToHex(g) + componentToHex(b); } //alert(rgbToHex(0, 51, 255)); // #0033ff not used /* added by AMR not needed because textarea auto resize above took care of it! $("div").delegate( "textarea", "input", function() { var id = $(this).attr('id');// can use it to target by id name or part of array var blass = $(this).attr('blass'); // added by AMR to not use or certain function if (typeof blass !== "undefined") { // use this no-auto-txt-by-amr if you speficially want to target this fn! return; } else { $(this).css('height','auto'); $(this).css('overflow','hidden'); $(this).css('height',this.scrollHeight+'px'); //$(this).height(0).height(this.scrollHeight); } }); */ $(window).resize(function(event) { // added by AMR Resize_By_Amr(); }); function portrait_or_landscape(onload=false) { // added by AMR var portrait = $('#orientation-portrait').css('visibility'); var landscape = $('#orientation-landscape').css('visibility'); if(portrait == 'visible'){ $('#orientation').val('portrait'); } if(landscape == 'visible'){ $('#orientation').val('landscape'); } console.log('container\n\nportrait: '+portrait+'\nlandscape: '+landscape+'\norientation: '+$('#orientation').val()) } function getDeviceTypeAmr(size=false) { // added by AMR if (size === true) { return $(window).width(); } return $('#device_type_amr').val(); } function Resize_By_Amr(onload=false) { // added by AMR /* https://www.geeksforgeeks.org/how-to-target-desktop-tablet-and-mobile-using-media-query/ Mobile (Smartphone) max-width: 480px Low Resolution Tablets and ipads max-width: 767px Tablets Ipads portrait mode max-width:1024px Desktops max-width:1280px Huge size (Larger screen) max-width: 1281px and greater */ portrait_or_landscape(onload); var old_device = $('#device_type_amr').val(); var b_width = $(window).width(); if (b_width > 1024) { if (old_device != 'desktop') { /*$("body").addClass("ajax-loading"); // added by AMR setTimeout(function(){window.location.reload();}); return;*/ } $('#device_type_amr').val('desktop'); } else if (b_width < 481) { if (old_device != 'smartphone') { /*$("body").addClass("ajax-loading"); // added by AMR setTimeout(function(){window.location.reload();}); return;*/ } $('#device_type_amr').val('smartphone'); } else { if (old_device != 'tablet') { /*$("body").addClass("ajax-loading"); // added by AMR setTimeout(function(){window.location.reload();}); return;*/ } $('#device_type_amr').val('tablet'); } if ($('#toggle-mode').prop( "checked" ) === true) { if (member_status != ''){ $('.logo-img').find('img').attr('src', 'https://www.mgtow.tv/themes/default/img/logo-light-'+member_status+'.png'); } else { $('.logo-img').find('img').attr('src', 'https://www.mgtow.tv/themes/default/img/logo-light.png'); } } else{ if (member_status != ''){ $('.logo-img').find('img').attr('src', 'https://www.mgtow.tv/themes/default/img/logo-'+member_status+'.png'); } else { $('.logo-img').find('img').attr('src', 'https://www.mgtow.tv/themes/default/img/logo.png'); } } } $(document).ready(function(){ // $('.share-video a').click(function (e) { // e.preventDefault(); // }); // You can also manually force this event to fire. added by AMR autoAdjustTextArea(); // added by AMR $('.dropdown-toggle').dropdown() $("#toggle-mode").change(function(event) { var is_live = $('#is_live_content').val(); // added by AMR from content watch page if (typeof is_live !== "undefined" && is_live != '') { // added by AMR $('#GenMsgModal').modal('show'); $('#GenMsgTxt').html("You cannot change the display mode during a live stream. Visit a non live stream or the home page and toggle the display mode there."); return false; } var mode = 'day'; if ($(this).prop( "checked" ) === true) { mode = 'night'; $('<link>',{ rel:'stylesheet', href:'https://www.mgtow.tv/themes/default/css/night-mode.css', class:'night-mode-css' }).insertAfter('link#style-css'); if (member_status != ''){ $('.logo-img').find('img').attr('src', 'https://www.mgtow.tv/themes/default/img/logo-light-'+member_status+'.png'); } else { $('.logo-img').find('img').attr('src', 'https://www.mgtow.tv/themes/default/img/logo-light.png'); } } else{ $(".night-mode-css").remove(); if (member_status != ''){ $('.logo-img').find('img').attr('src', 'https://www.mgtow.tv/themes/default/img/logo-'+member_status+'.png'); } else { $('.logo-img').find('img').attr('src', 'https://www.mgtow.tv/themes/default/img/logo.png'); } } $.post('https://www.mgtow.tv/', {mode: mode}, function(data, textStatus, xhr) { /* pass */ }); }); $("li.toggle-mobile-mode").click(function(event) { var mode = $(this).attr('data-mode'); $.post('https://www.mgtow.tv/', {mode: mode}, function(data, textStatus, xhr) { location.reload(); }); }); }); </script> <div id="live-chat-iframe-btn" class="fixed-action-btn collapse"><!-- added by AMR--> <span id="btn-chat-iframe" class="btn-fab-floating fa fa-info"></span> </div> <div id="live-chat-iframe-pause-btn" class="fixed-action-btn collapse"><!-- added by AMR--> <span id="btn-chat-iframe-pause" class="btn-fab-floating fa fa-angle-double-up"></span> </div> <link rel="stylesheet" type="text/css" href="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.0.3/cookieconsent.min.css" /> <script src="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.0.3/cookieconsent.min.js"></script> <script> window.addEventListener("load", function(){ window.cookieconsent.initialise({ "palette": { "popup": { "background": "#fff", "text": "#333" }, "button": { "background": "#04abf2", "text": "#fff" } }, "theme": "edgeless", "position": "right-bottom", "content": { "message": "На этом веб-сайте используются файлы cookie, чтобы вы могли получить лучший опыт на нашем веб-сайте.", "dismiss": "Понял!", "link": "Выучить больше", "href": "https://www.mgtow.tv/terms/privacy-policy" } })}); </script> <script type="text/javascript"> $('#btn-chat-iframe').on('touchstart click', function() { // added by AMR taken from above if ($(this).hasClass('active')) { $(this).removeClass('active'); $(this).removeClass('fa fa-commenting'); $(this).addClass('fa fa-info'); $('.chat-mobile-iframe').hide(); $('.grupoembed iframe').show(); } else { $(this).removeClass('fa fa-info'); $(this).addClass('fa fa-commenting'); $(this).addClass('active'); $('.chat-mobile-iframe').show(); $('.grupoembed iframe').hide(); } return false; }); $('#btn-chat-iframe-pause').on('touchstart click', function() { // added by AMR taken from above if ($(this).hasClass('active')) { $(this).removeClass('active'); $(this).removeClass('fa fa-commenting'); $(this).addClass('fa fa-info'); $('.chat-mobile-iframe').hide(); $('.grupoembed iframe').show(); } else { $(this).removeClass('fa fa-info'); $(this).addClass('fa fa-commenting'); $(this).addClass('active'); $('.chat-mobile-iframe').show(); $('.grupoembed iframe').hide(); } return false; }); $(document).on('click', '#pop_up_18_yes', function(event) { event.preventDefault(); $.post('https://www.mgtow.tv/aj/main/yes_18?hash=' + $('.main_session').val(), function(data, textStatus, xhr) { $('#pop_up_18').modal('hide'); }); }); $(document).on('click', '#pop_up_18_no', function(event) { event.preventDefault(); $.post('https://www.mgtow.tv/aj/main/no_18?hash=' + $('.main_session').val(), function(data, textStatus, xhr) { if (data.status == 200) { $('#pop_up_18').modal('hide'); window.location.href = data.url } }); }); function setCookie(cname, cvalue, exdays) { var d = new Date(); d.setTime(d.getTime() + (exdays * 24 * 60 * 60 * 1000)); var expires = "expires="+d.toUTCString(); document.cookie = cname + "=" + cvalue + ";" + expires + ";path=/"; } function getCookie(cname) { var name = cname + "="; var ca = document.cookie.split(';'); for(var i = 0; i < ca.length; i++) { var c = ca[i]; while (c.charAt(0) == ' ') { c = c.substring(1); } if (c.indexOf(name) == 0) { return c.substring(name.length, c.length); } } return ""; } $.ajax({ url: 'https://geolocapi.com/json/?key=fIE3uIzM7jZEaqVhE1wO', type: 'GET', dataType: 'json' }) .done(function(data) { if (data.status == 'success') { setCookie('r', window.btoa(data.country), 1); // continent changed to country by AMR $('#redirect_to_video_page').click(); } else{ setCookie('r', window.btoa('string'), 1); $('#redirect_to_video_page').click(); } }) .fail(function() { setCookie('r', window.btoa('string'), 1); $('#redirect_to_video_page').click(); }) .always(function() { }); // $.get('https://extreme-ip-lookup.com/json/', function(data) { // if (data.status == 'success') { // setCookie('r', window.btoa(data.continent), 1); // // $('#redirect_to_video_page').click(); // // } // else{ // setCookie('r', window.btoa('string'), 1); // // $('#redirect_to_video_page').click(); // // } // }); </script> <script src="/ads.js" type="text/javascript"></script> <script type="text/javascript"> var cbp = '0'; if(document.getElementById('ztgbjgi')){ setCookie('cbp', 0, 1); } else { setCookie('cbp', 1, 1); } if (cbp != getCookie('cbp')) { } if(typeof navigator.brave !== 'undefined') { setCookie('ams', 1, 354, 'None; Secure'); } else { setCookie('ams', 0, 354, 'None; Secure'); } </script> <script type="text/javascript"> function block_user(user_id,self,redirect = true) { $.post('https://www.mgtow.tv/aj/user/block?hash=' + $('.main_session').val(), {user_id: user_id}, function(data, textStatus, xhr) { if (redirect == true) { location.reload(); } else{ $(self).find('span').text(data.message); } }); } function notify_user(user_id, mode='') { // added by AMR allows user to get notitifed of creators uploads if (mode=='sms_question') { var add_on = ''; var add_on = '<br/><br/>You will need a paid membership to access this feature. Memberships start as low as $1 USD. <a href="/go_pro" target="_new">Click here for membership options</a>.'; $('#GenMsgModal').modal('show'); $('#GenMsgTxt').html('SMS texts, for now, are reserved only when a creator goes live. You must opt-in for SMS notifs and you can opt-out any time. Msg & data rates may apply.'+add_on); return; } $.post('https://www.mgtow.tv/aj/user/notify?hash=' + $('.main_session').val(), {user_id: user_id, mode: mode}, function(data, textStatus, xhr) { if (data.errors) { $('#GenMsgModal').modal('show'); $('#GenMsgTxt').html(data.errors); } else { $('#subber_dropdown_amr').html(data.message); if (mode=='new') { setTimeout(function() { $("#subber_dropdown_amr .dropdown-toggle").dropdown('toggle');// added by AMR }, 1000); } } }); return true; // important for calling it from elsewhere } function live_stream_opts(user_id, video_id, mode='') { // added by AMR allows user to end live streams... if (mode=='activate') { $('#GenMsgModal').modal('show'); $('#GenMsgTxt').html('To activate a live stream, simply go to your favorite broadcasting software and start the stream. Just make sure our settings are properly set over there. If you need to see your broadasting credentials, go to Settings.'); return; } if (mode=='terminate') { $('#GenMsgModal').modal('show'); $('#GenMsgTxt').html('Our server is still receiving a broadcast from you. To terminate broadcasting to our platform(s), simply go to your broadcasting software and terminate the stream coming to our server. You can find your server credentials in Settings.'); return; } if (mode=='meaning') { $('#GenMsgModal').modal('show'); $('#GenMsgTxt').html('In all likelihood, you are probably running a main live stream and this live stream while is viewable, it is secondary to other ongoing live streams. Please visit Video Studio to manage your live streams.'); return; } if (mode=='end_ffmpeg') { $('#GenMsgModal').modal('show'); $('#GenMsgTxt').html('To end recording of your live stream, simply terminate the stream from your streaming source.'); return; } if (mode=='end') { if (!confirm('Are you sure?')) { return; } } $.post('https://www.mgtow.tv/aj/user/live_stream_opts?hash=' + $('.main_session').val(), {user_id: user_id, mode: mode, video_id: video_id}, function(data, textStatus, xhr) { if (data.errors) { $('#GenMsgModal').modal('show'); $('#GenMsgTxt').html(data.errors); } else { if (data.message == 'url') { location.reload(); } else if (data.message == 'notifs_sent') { $('#GenMsgModal').modal('show'); $('#GenMsgTxt').html('Live stream notifications to your viewers have been initiated!'); $('#start_live_stream_btn_amr').html(''); $('#live_stream_how_to_btn_amr').html(''); $('#ls_msg_span_amr').text('This is an active live stream.'); } else { $('#live_opts_dropdown_amr').html(data.message); } if (mode=='new') { setTimeout(function() { $("#live_opts_dropdown_amr .dropdown-toggle").dropdown('toggle');// added by AMR }, 1000); } } }); return true; // important for calling it from elsewhere } function gen_msg_modal(msg) { // added by AMR $('#GenMsgModal').modal('show'); $('#GenMsgTxt').html(msg); } function OpenInNewTabWinBrowser(url) { var win = window.open(url, '_blank'); win.focus(); } </script> <script type="text/javascript"> function HideCard(ad_date) { setTimeout(function (argument) { $('.'+ad_date).remove(); },5000); } </script> <div class="modal fade" id="GenMsgModal" role="dialog"><!-- added by AMR--> <div class="modal-dialog modal-lg modal-dialog-centered"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> <h4 class="modal-title">Info</h4> <div class="modal-body"> <p id="GenMsgTxt"></p> <small>If you don't see a message other than this, it means you need to restart the app.</small> </div> <div class="modal-footer"> <button type="button" class="btn btn-info" data-dismiss="modal">Dismiss</button> </div> </div> </div> </div> </div> <!-- anything below from here until end added by AMR--> <div class="ajax-modal"></div> <script> $(function(){ // added by AMR Offline.options = {checks: {xhr: {url: '/connection-test'}}}; var $online = $('.online'), $offline = $('.offline'); Offline.on('confirmed-down', function () { $online.fadeOut(function () { $offline.fadeIn(); }); }); Offline.on('confirmed-up', function () { $offline.fadeOut(function () { $online.fadeIn(); }); }); }); </script> <!-- https://github.com/verlok/vanilla-lazyload --> <script src="https://cdn.jsdelivr.net/npm/vanilla-lazyload@17.8.3/dist/lazyload.min.js"></script> <script> // Instance using native lazy loading const myLazyLoad = new LazyLoad({ use_native: true, // <-- there you go callback_error: (img) => { img.setAttribute("src", "https://via.placeholder.com/300x600"); } }); </script> </body> </html>