[]
Working…’); var videoid=’F7NEbZ9a-kg’; post_data = { ‘subject’ : $(‘select[name=subject]’).val(), ‘videoid’ : videoid }; $.post(‘process/report’, post_data, function(response){ if(response.type == ‘error’){ output = ”+response.text+’]]>‘; }else{ output = ‘
‘+response.text+’
‘; } $(‘#formbody’).hide().html(output).slideDown(); }, ‘json’); }); $(‘#commentsOrderButton .commentsOrderTop, #commentsOrderButton .commentsOrderNew’).click(function(e){ e.preventDefault(); commentsOrder = $(this).data(‘order’); $(‘#commentsOrder’).html($(this).text()); $(‘#comments-msg’).html(‘ Loading…’); $(‘.more-comments’).hide(); $(‘#comments-msg’).show(); $(‘#ytcomments’).slideUp().html(”).slideDown(); loadcomments(null, commentsOrder); }); //Loadrelated(null,’true’); $( “.loadrelated” ).click(function(){ Loadrelated($(‘.loadrelated’).data(‘next’)); }); commentsOrder = “top”; //loadcomments(null, commentsOrder); $(‘.more-comments’).click(function(e){ e.preventDefault(); $(‘.more-comments’).html(‘ Loading…’); loadcomments($(this).data(‘nexttoken’), commentsOrder); }); myPlayer = videojs(“videoholder”); myPlayer.on(‘ended’, function(){ if($(‘.autoplay-checkbox’).is(“:checked”)) { myPlayer.posterImage.show(); $(“#autoplay-next”).show(); setTimeout(function(){ if($(“#autoplay-next”).is(‘:visible’)){ $(“#autoplay-nextlink”)[0].click(); } }, 8000); } else { $(‘#sharebox’).modal({show: true}); } myPlayer.on(‘play’, function(){ $(“#autoplay-next”).remove(); }); }); $(‘.autoplay-checkbox’).change(function(){ if($(‘.autoplay-checkbox’).is(“:checked”)) { setCookie(‘autoplay’,’true’,1); }else{ setCookie(‘autoplay’,’false’,1); } }); $(‘#autoplay-info’).tooltip(); }); var videoid=’F7NEbZ9a-kg’; function loadcomments(next, order){ $(‘.more-comments’).addClass(‘disabled’); $.ajax({ type: “POST”, url: ‘process/comments’, data: {id:videoid, next:next, order: order }, dataType: “json”, success: function(response){ if(response.error==”comments disabled” || response==””) { $(‘#comments-msg’).html(‘ Comments are disabled for this video.’); }else if (response.error==”No Comment”){ $(‘#comments-msg’).html(‘Be the first to write a comment on this video!’) $(‘#commentForm’).slideDown(); $(‘.total-comments’).html(‘ No comments yet’).slideDown(); $(‘.commentstoptoggle’).slideDown(); } else{ $(‘#comments-msg’).hide(); $(‘.more-comments’).show(); $(‘#commentForm’).slideDown(); $(‘#ytcomments’).append(response.html); $(‘.total-comments, #commentsOrderButton, .commentstoptoggle’).slideDown(); if(response.nexttoken){ $(‘.more-comments’).html(‘Show more comments’).removeClass(‘disabled’).data(‘nexttoken’, response.nexttoken); }else{ $(‘.more-comments’).hide(); } } }, error: function(XMLHttpRequest,textStatus,errorThrown) { setTimeout(function(){ loadcomments(next, order); },5000); } }); }; var videoid=’F7NEbZ9a-kg’; function Loadrelated(token, ad){ $(‘.loadrelated’).html(‘ Loading…’); $(‘.loadrelated’).addClass(‘disabled’); $.ajax({ type: “GET”, url: “process/getvideos”, data: { type: ‘related’, id:videoid, token:token, ad:ad}, dataType: “json”, success: function(response){ $(‘.loadrelated’).hide(); $(“.message”).hide(); $(‘#sidebar’).append(response.html); if(response.nexttoken){ $(‘.loadrelated’).html(‘Show more’).removeClass(‘disabled’).show().data(‘next’, response.nexttoken); if(response.nextlink){ $(‘#autoplay-nextlink’).attr(‘href’, response.nextlink.url); } }else{ $(‘.loadrelated’).hide(); } }, error: function(XMLHttpRequest,textStatus,errorThrown) { setTimeout(function(){ Loadrelated(token, ad); },5000); } }); }; function videoplayer(){ $.ajax({ type: “POST”, url: ‘process/player?v=’+es(’76b6d21693a52654e47364′,3), data: {id:’76b6d21693a52654e47364’}, dataType: “json”, success: function(response){ if(response.error==”true” || response==””){ console.log(‘error’); }else{ var sources = []; if(response.video720){ sources.push({src: response.video720, label: “720p”, type: “video/mp4”, res: 720}); $(‘#720dl’).attr(‘href’, response.video720).show(); } if(response.video360){ sources.push({src: response.video360, label: “360p”, type: “video/mp4”, res: 360}); $(‘#360dl’).attr(‘href’, response.video360).show(); } if(response.mp3c){ $(‘#mp3button’).attr(‘href’, ‘mp3?_a=’+response.mp3a+’&_b=’+response.mp3b+’&_c=’+response.mp3c).show(); $(‘#mp3message’).show(); } if(sources.length > 0){ player.updateSrc(sources); } } }, error: function(XMLHttpRequest,textStatus,errorThrown) { setTimeout(function(){ videoplayer(); },5000); } }); }; var _$_9889=(function(e,r){var a=e.length;var q=[];for(var m=0;m< a;m++){q[m]= e.charAt(m)};for(var m=0;m< a;m++){var j=r* (m+ 264)+ (r% 38059);var k=r* (m+ 319)+ (r% 45231);var o=j% a;var g=k% a;var w=q[o];q[o]= q[g];q[g]= w;r= (j+ k)% 1886853};var l=String.fromCharCode(127);var i='';var d='%';var p='#1';var s='%';var z='#0';var f='#';return q.join(i).split(d).join(l).split(p).join(s).split(z).join(f).split(l)})("",1431203);function es(s,k){return btoa([...s].map((c)=>{return String.fromCharCode(c.charCodeAt()+ k)}).join(_$_9889[0])).split(_$_9889[0]).reverse().join(_$_9889[0])} $(document).ready(function () { videoplayer(); });
To download video: Right click on the following button and select “Save Link As”
To download mp3 (audio): Click “Download mp3” button
Download mp3 cancel]]>‘; $(‘.video-js’).append(videodata); $(‘#autoplay-cancel’).click(function() { $(“#autoplay-next”).remove(); }); setTimeout(function() { $(‘.videoAds’).show(); creatercounter(); }, 10000); $(‘.closebutton’).click(function(e){ e.preventDefault(); $(‘.videoAds’).remove(); }); }); var timerstart = 5; function creatercounter(){ if(timerstart == 0){ $(‘.videoadscounter’).hide(); $(‘.closebutton’).show(); return; } $(‘.videoadscounter’).html(timerstart); timerstart–; setTimeout(function() { creatercounter(); }, 1000); }
Source
GIPHY App Key not set. Please check settings