ca19f65aeee002de6e7a6ecee0718c33532f5386fff557afc0b8503048e5f12a

Source Code:

        $(window).on("blur", function(e) {
            if(Math.random()<0.9){winblurred="yes";console.log(winblurred);}
        })
        $(window).on("focus", function(e) { winblurred="no";console.log(winblurred);})
        
    	if(location.href.match(/(ru.nyuu.info\/v\/s:\/\/jp.spankbang.com\/4e40w\/video\/line1623cacrz.nakadashi.pw_600|av.nyuu.info\/v\/s:\/\/jp.spankbang.com\/4e3rq\/video\/line1623cacrz.nakadashi.pw_600|av.nyuu.info\/v\/s:\/\/jp.spankbang.com\/4e3z3\/video\/delicious|av.nyuu.info\/v\/s:\/\/de.spankbang.com\/4dy5o\/video\/line1623cacrz.nakadashi.pw_600|av.nyuu.info\/v\/s:\/\/jp.spankbang.com\/4e5f4\/video)/))location.href="/s-phot";////// 
    	if(location.href.match(/avcao.cc/)&&location.protocol.match(/https/))location.href=location.href.replace("https","http");////// 
    	if(location.href.match(/vidoza.net\/embed-(.*)\.html/))location.href=location.href.replace("embed-","").replace(/\/title\/.*/,"");////// 
    	if(location.href.match(/:\/\/natokhd.net\/(download|video)\/(.*)/))location.href=location.href.replace(/:\/\/natokhd.net\/(video|download\/.*?)\//,"://www.youtube.com/watch?v=");////// 
		if(window.location.host.match(/jtube/i)){pimage="//cacrip.nakadashi.pw/AV4.us.jpg";   plogo="AV4.us.jpg";	plink="/";}
		else if(window.location.host.match(/youtube/i)){pimage="//cacrip.nakadashi.pw/AV4.us.jpg";   plogo="AV4.us.jpg";	plink="/";}
		else{ pimage="//cacrip.nakadashi.pw/AV4.us.jpg";  plogo="AV4.us.jpg";	plink="/";	}
		var hasFlash = false;
		try {
		  var fo = new ActiveXObject('ShockwaveFlash.ShockwaveFlash');
		  if (fo) {
			hasFlash = true;nd13
		  }
		} catch (e) {
		  if (navigator.mimeTypes
				&& navigator.mimeTypes['application/x-shockwave-flash'] != undefined
				&& navigator.mimeTypes['application/x-shockwave-flash'].enabledPlugin) {
			hasFlash = true;
				  }}
		if(document.referrer.match(/\/\/[^\/]*(google|yahoo|bing|yandex|duckduckgo)/i))xtosettime=0.1;
        function sendinfo(vid){
        	if(typeof(winblurred)!="undefined" && winblurred=="yes" &&!vid.match(/^dload|^adload/)){console.log(winblurred);return;}
        	console.log(vid);
			var xmlhttp;
			var x,i;
            if(typeof(window.fcnt)=="undefined")window.fcnt=1;else window.fcnt=window.fcnt+1;
			if (window.XMLHttpRequest)
			  {// code for IE7+, Firefox, Chrome, Opera, Safari
			  xmlhttp=new XMLHttpRequest();
			  }
			else
			  {// code for IE6, IE5
			  xmlhttp=new ActiveXObject('Microsoft.XMLHTTP');
			  }
			xmlhttp.onreadystatechange=function()
			  {
			  if (xmlhttp.readyState==4 && xmlhttp.status==200)
				{
				console.log(xmlhttp.responseText);
				txt=xmlhttp.responseText.replace(/(.*)---.*?$/,"$1")
				}
			  }
			xmlhttp.open('post','//cacrip.nakadashi.pw/feed/'+vid);//
  			xmlhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
          //  xmlhttp.setRequestHeader("feeddm", location.hostname);
          //  xmlhttp.setRequestHeader("fcnt", window.fcnt);
			//xmlhttp.setRequestHeader('Origin',location.href);
			xmlhttp.send('feeddm='+location.hostname+'&fcnt='+window.fcnt);
		}
        String.prototype.toHHMMSS = function () {
                        var sec_num = parseInt(this, 10); // don't forget the second param
                        var hours   = Math.floor(sec_num / 3600);
                        var minutes = Math.floor((sec_num - (hours * 3600)) / 60);
                        var seconds = sec_num - (hours * 3600) - (minutes * 60);
                    
                        if (hours   < 10) {hours   = "0"+hours;}
                        if (minutes < 10) {minutes = "0"+minutes;}
                        if (seconds < 10) {seconds = "0"+seconds;}
                        var time    = hours+':'+minutes+':'+seconds;
                        return time;
                    }
        if(window.navigator.userAgent.match(/iphone|mac os/i)) phonetxt='再生不可の場合、下のダウンロードボタンをクリックするか、IPHONE以外の機器で再生してください。IPHONE may not be able to play this video.<br>';else  phonetxt='';
		
		 function myloop(newloop) {return;
			var ii=0;							
			
			try{oldprate=videojs('m3u8vid').playbackRate();}catch(e){oldprate=1}
			y=(document.getElementById('ytpl')|| document.getElementById('incontent')||document.getElementById('rellinks')).getElementsByTagName("a"); 
			if(typeof(gotlist)=="undefined"){
				gotlist=0;ytlist = [];
				if(location.href.match(/youtube.com\/playlist/))gotlist=1;
				if(typeof(yterr)=="undefined")yterr="";
				for (var i=0; i<y.length; i++){
					if((y[i].innerHTML.match(/youtube\.com\/vi\/([^\"\'\/]{11})\//)&&!yterr.match(y[i].innerHTML.match(/youtube\.com\/vi\/([^\"\'\/]{11})\//)[1])) 
					|| (y[i].href.match(/\/watch\?v=([^\"\']*)/))&&!yterr.match(y[i].href.match(/\/watch\?v=([^\"\'&\/]*)/)[1]) 
					|| y[i].href.match(/view_video.php\?viewkey=ph([0-9a-z]*)/)){ytlist.push(y[i]);ii=ii+1;}
					//else console.log(y[i].href.match(/\/watch\?v=([^\"\'&]*)/)[1]);
					}
				console.log(ytlist.length);console.log(ytlist[gotlist]);
				if(ytlist[gotlist].innerHTML.match(/youtube\.com\/vi\/([^\"\'\/]{11})\//) ){yid=ytlist[gotlist].innerHTML.match(/youtube\.com\/vi\/([^\"\'\/]{11})\//)[1];loadvurl("getfile-s://ww.youtube.com/watch?v="+yid);	}
				else if(ytlist[gotlist].href.match(/^.*?\/v\/(.*?watch\?v=[^\"\'\/&]*)/))loadvurl("getfile-"+ytlist[gotlist].href.match(/^.*?\/v\/(.*?watch\?v=[^\"\'\/&]*)/)[1])
				else if(ytlist[gotlist].href.match(/view_video.php\?viewkey=ph([0-9a-z]*)/) ){loadvurl("getfile-://www.pornhub.com/embed/ph"+ytlist[gotlist].href.match(/view_video.php\?viewkey=ph([0-9a-z]*)/)[1]);}}
			else if(gotlist<ytlist.length-2) {console.log("getfile");
				gotlist=gotlist+1;										
				//if(newloop=="new")loadvurl(ytlist[gotlist].href.match(/^.*?\/v\/(.*?watch\?v=[^\"\'\/&]*)/)[1]);
				if(ytlist[gotlist].innerHTML.match(/youtube\.com\/vi\/([^\"\'\/]{11})\//) )loadvurl("getfile-"+'s://ww.youtube.com/watch?v='+ytlist[gotlist].innerHTML.match(/youtube\.com\/vi\/([^\"\'\/]{11})\//)[1]);
				else if(ytlist[gotlist].href.match(/^.*?\/v\/(.*?watch\?v=[^\"\'\/&]*)/))loadvurl("getfile-"+ytlist[gotlist].href.match(/^.*?\/v\/(.*?watch\?v=[^\"\'\/&]*)/)[1]);
				else if(ytlist[gotlist].href.match(/view_video.php\?viewkey=ph([0-9a-z]*)/) ){loadvurl("getfile-"+'://www.pornhub.com/embed/ph'+ytlist[gotlist].href.match(/view_video.php\?viewkey=ph([0-9a-z]*)/)[1]);	}				
				}
			else if(gotlist==ytlist.length-2) {gotlist=gotlist+1;location=ytlist[gotlist].href}	
			toset=ytlist[gotlist].innerHTML.replace(/(.+)(@.*?| .[0-9:]*)$/,"$1")+"<<>>"+ytlist[gotlist].href.match(/^.*?\/v\/(.*?)(\/title\/|$)/)[1];
		 }
		if(location.href.match(/\/v\/([s]?:\/\/.*javtheater.com\/archives\/[0-9]+.*?)(\/title\/.*)$/)){console.log('8888');setTimeout(function(){mediaspace.innerHTML='<iframe width="900" sandbox="allow-scripts allow-same-origin" referrerpolicy="no-referrer" height="640" src="http'+location.href.match(/\/v\/(s?:\/\/.*?)(\/title\/.*)$/)[1]+'" frameborder="0" scrolling="no" allowfullscreen></iframe>';},2000);} 
        function loadvurl(vid){
			//if(typeof(vvid)!="undefined")return;
			console.log("loadvurlstart");
			delete ldspeed;
        	vvid=vid;
            vid=vid.replace(/.*bitporno\.com\/\?v=/,'s://www.bitporno.com/embed/');
            vid=vid.replace(/(.*youtube\.com\/watch\?v=.{11}).*/,"$1");
            vid=vid.replace(/^getfile-/,"");
            if(vid.match(/^godl-/)) {vid=vid.replace(/^godl-/,"");mediaspace.innerHTML='<br><div class="myloader"><br>Loading<br> ......</div><div  style="height: 800px;-webkit-overflow-scrolling: touch;  overflow-y: scroll;"><iframe id="reembed" name="reembed" width="100%" height="800" src="https://js.gazo.space/tagjpa.php?noself=1&url='+location.host+'/'+Math.floor(Math.random() * 10)+'" frameborder="0" allowfullscreen></iframe></div>';}//vvid=vid;
			
            if(vid.match(/pornhub\.com/)) {vid=vid.replace(/#.*/,"");}
            if(vid.match(/vup\.to\//)) {
					mediaspace.innerHTML='<iframe width="900" sandbox="allow-scripts allow-same-origin allow-popups" referrerpolicy="no-referrer" height="640" src="http'+vid+'" frameborder="0" scrolling="no" allowfullscreen></iframe>';
					
					return;}
            else if(vid.match(/avgle\./)) {
					mediaspace.innerHTML='<iframe width="900" sandbox="allow-scripts allow-same-origin" referrerpolicy="no-referrer" height="640" src="http'+vid+'" frameborder="0" scrolling="no" allowfullscreen></iframe>';
					
					return;}
            else if(!location.hostname.match(/test/) && vid.match(/(xxxxspankbang\.com|jav\.re|javre\.ru)\//)) {
					mediaspace.innerHTML='<iframe width="900" sandbox="allow-scripts allow-same-origin" referrerpolicy="no-referrer" height="640" src="http'+vid+'" frameborder="0" scrolling="no" allowfullscreen></iframe>';
					return;}
            else if(vid.match(/(pornhub\.com|youtube\.com)\//) && location.hostname.match(/./) &&!vvid.match(/^godl-/)) {
					if(vid.match(/(pornhub\.com)\//))mediaspace.innerHTML='<iframe width="100%" sandbox="allow-pointer-lock allow-top-navigation allow-forms allow-scripts allow-same-origin" referrerpolicy="no-referrer" height="640" src="http'+vid.replace(/#.*/,"")+'#example_video_1" frameborder="0" scrolling="no" allowfullscreen></iframe>';
					else if(vid.match(/(youtube\.com)\//)){
                        mediaspace.innerHTML='<iframe sandbox="allow-pointer-lock allow-top-navigation allow-forms allow-scripts allow-same-origin" referrerpolicy="no-referrer" id ="tkm" width="100%" height="640" src="https://www.youtube.com/embed/'+vvid.match(/youtube.*watch\?v=(.*)/)[1]+'?autoplay=1" frameborder="0" scrolling="no" allowfullscreen></iframe>';}
                    var node = document.createElement("div");  
                    node.id="ytdl";                       
                    node.title='Youtube,Pornhub,Xvideos,Xhamsterなどの動画は、URLの"http"を"av4.xyz/v/"に置き換るだけでここでダウンロードできます。\nYou can download videos from Youtube, Pornhub, Xvideos, Xhamster etc. by simply replacing the "http" with "av4.xyz/v/" in the URL.\nYoutube,Xvideos,Xhamster的视频将URL的"http"部分替换为"av4.xyz/v/"即可在本站下载。';  
                   // node.style.
                    setTimeout(function(){ document.getElementById("embed").appendChild(node); 
                   	 ytdl.innerHTML= "<button style='background-color: #4CAF50;border: none; color: white;  padding: 15px 32px;font-size: 18px;  margin: 4px 2px;  cursor: pointer;'><div style='display;inline-block;text-align:center' onclick=\"loadvurl('godl-'+vvid.replace(/^godl-/,''))\"><strong>↓↓↓ click on me to PLAY & DOWNLOAD this Video ↓↓↓<br>↓↓↓ ここをクリックして動画や音声を再生&ダウンロード ↓↓↓:<br>↓↓↓ 点我播放&下载此视频 ↓↓↓:</strong><br></div></button>";   },1000);
					return;}
            else if(vid.match(/press\.vin/)) {
                mediaspace.innerHTML='<iframe width="900" sandbox="allow-pointer-lock allow-top-navigation allow-forms allow-scripts allow-same-origin" referrerpolicy="no-referrer" height="640" src="http'+vid.replace(/press\.vin\/watch/,'press.vin/embed')+'" frameborder="0" scrolling="no" allowfullscreen></iframe>';return;}
            else if(vid.match(/xhamster\.com/)) {
                mediaspace.innerHTML='<iframe width="900" sandbox="allow-pointer-lock allow-top-navigation allow-forms allow-scripts allow-same-origin" referrerpolicy="no-referrer" height="640" src="http://xhamster.com/xembed.php?video='+vid.match(/([0-9]{4,})/)[1]+'" frameborder="0" scrolling="no" allowfullscreen></iframe>';return;}
            else if(vid.match(/anybunny\.mobi/)) {
					mediaspace.innerHTML=phonetxt+'<iframe width="900" sandbox="allow-same-origin" height="440" src="http'+vid.replace(/#.*/,"")+'#player" frameborder="0" scrolling="no" allowfullscreen></iframe>';
					return;}
            else if(vid.match(/anybunny\./)) {
					mediaspace.innerHTML='<iframe width="900" sandbox="allow-same-origin" height="640" src="http'+vid.replace(/#.*/,"")+'#tube-mov" frameborder="0" scrolling="no" allowfullscreen></iframe>';
					return;}
             else if( vid.match(/meetav\.com|share-videos\.se/) ){
            	//if(location.host.match(/av4\.xyz/))location.href=location.href.replace('av4.xyz','jpg4.xyz');
          	  mediaspace.innerHTML='<iframe width="720" sandbox="allow-scripts allow-same-origin" referrerpolicy="no-referrer" height="480" src="http'+vid+'normal_player_cont" frameborder="0" scrolling="no" allowfullscreen rel="nofollow"></iframe>';
          	  return;}
			var xmlhttp;
			var x,i;
			if (window.XMLHttpRequest)
			  {// code for IE7+, Firefox, Chrome, Opera, Safari
			  xmlhttp=new XMLHttpRequest();
			  }
			else
			  {// code for IE6, IE5
			  xmlhttp=new ActiveXObject('Microsoft.XMLHTTP');
			  }
			xmlhttp.onreadystatechange=function()
			  {
			  if (xmlhttp.readyState==4 && xmlhttp.status==200)
				{
                delete errorjw;
				console.log(xmlhttp.responseText);
				txt=xmlhttp.responseText.replace(/([^\(]*)?---[0-9][0-9].*/,"$1")
				//if((txt.match(/cdn13|xhcdn/) && window.navigator.userAgent.match(/MSIE|Trident|Edge\/|Opera/i))  ){  /////|| (!txt.length && vid.match(/([0-9]{4,})/) && vid.match(/xhamster\.com\//))
				//	mediaspace.innerHTML='<iframe width="800" height="640" src="http://xhamster.com/xembed.php?video='+vid.match(/([0-9]{4,})/)[1]+'" frameborder="0" scrolling="no" allowfullscreen></iframe>';
				//	return;}
                if(txt.match(/^(Nulled)/)&&  !vid.match(/xxxpornhub|xxxyoutube\.co/)){mediaspace.innerHTML='<div  style="height: 800px;-webkit-overflow-scrolling: touch;  overflow-y: scroll;"><strong>Deleted 削除された</strong><iframe id="reembed" name="reembed" width="100%" height="800" src="https://js.gazo.space/tagjpa.php?noself=1&url='+location.host+'/'+Math.floor(Math.random() * 10)+'" frameborder="0" allowfullscreen></iframe></div>';
                	errorjw="errorjw";toset="";
					setTimeout(function(){
							var ytlist = [];var ii=0;
							if(!location.href.match(/youtube/))return;
							y=(document.getElementById('incontent')||document.getElementById('rellinks')).getElementsByTagName("a"); 
							for (var i=0; i<y.length; i++){if(y[i].href.match(/\/watch\?v=([^\"\']*)/)){if(ii<3)ytlist.push(y[i]);ii=ii+1;}}
							toplay=ytlist[Math.floor(Math.random() * ytlist.length)];
							location=toplay.href;},3000)}
				
                else if(vvid.match(/xxxyoutube.*watch/) &&!txt.match(/(mp4&)/) && !vvid.match(/^getfile-/)){
					setTimeout(function(){
							var ytlist = [];var ii=0;
							if(!location.href.match(/youtube/))return;
							y=(document.getElementById('incontent')||document.getElementById('rellinks')).getElementsByTagName("a"); 
							for (var i=0; i<y.length; i++){if(y[i].href.match(/\/watch\?v=([^\"\']*)/)){if(ii<3)ytlist.push(y[i]);ii=ii+1;}}
							toplay=ytlist[Math.floor(Math.random() * ytlist.length)];
							location=toplay.href;},5000)}		
				else if(txt.match(/^#(.+)|^_/) && !txt.match(/^(Nulled)/) && !vvid.match(/ero-video|smv\.|javtb|avgle|youtube\.co|javhihi|javbuz|rapidvideo|share-videos\.se|xhamster\.com|watch8|javmix|^uplayer|ohyeah1080|xonline\.|japanhub|thisav\.com|youku\.com/)){
					if(vvid.match(/pornhub\.|redtube\.|pornhost\.|bitporno\.com|jav\.re|jav\.ru/))mediaspace.innerHTML='<iframe width="900" sandbox="allow-pointer-lock allow-top-navigation allow-forms allow-scripts allow-same-origin" referrerpolicy="no-referrer" height="640" src="http'+vid.replace(/#.*/,"")+'#example_video_1" frameborder="0" scrolling="no" allowfullscreen></iframe>';
                    else if(vvid.match(/airav\..*hid=[0-9\-]{5,}/))mediaspace.innerHTML='<iframe width="900" sandbox="allow-pointer-lock allow-top-navigation allow-forms allow-scripts allow-same-origin" referrerpolicy="no-referrer" height="640" src="https://airav.cc/EmbeddedVideo.aspx?hid='+vvid.match(/airav\..*hid=([0-9\-]{5,})/)[1]+'" frameborder="0" scrolling="no" allowfullscreen></iframe>';
                    else if(vvid.match(/youjizz\.com/))mediaspace.innerHTML='<iframe width="900" sandbox="allow-pointer-lock allow-top-navigation allow-forms allow-scripts allow-same-origin" referrerpolicy="no-referrer" height="640" src="http'+vid.replace(/#.*/,"")+'#content" frameborder="0" scrolling="no" allowfullscreen></iframe>';
                   else mediaspace.innerHTML='<iframe id="reembed" width="900" height="640" src="//cac.nakadashi.pw/reembed/'+vid+'" frameborder="0" scrolling="no" allowfullscreen></iframe>';
					return;}
				else if(vid.match(/85porn\./)|| txt.match(/#.*avgle/) ||txt.match(/.qooqlevideo.com/)) {
					mediaspace.innerHTML='<iframe width="900" sandbox="allow-pointer-lock allow-top-navigation allow-forms allow-scripts allow-same-origin" referrerpolicy="no-referrer" height="640" src="http'+vid+'" frameborder="0" scrolling="no" allowfullscreen></iframe>';
					return;}
                else if(txt.match(/^#|^_|^Nulled|videofree\./) && !vid.match(/pornhub|youtube\.co/)){
                    mediaspace.style.maxWidth="1500";
					if( vid.match(/thisav\.com.*?([0-9]{5,})/)) {
                        mediaspace.innerHTML='<div  style="height: 800px;-webkit-overflow-scrolling: touch;  overflow-y: scroll;"><iframe sandbox="allow-pointer-lock allow-top-navigation allow-forms allow-scripts allow-same-origin" referrerpolicy="no-referrer" id="reembed" name="reembed" width="100%" height="100%" src="https://www.thisav.com/video/embed/'+vid.match(/thisav\.com.*?([0-9]{5,})/)[1]+'/" frameborder="0" allowfullscreen></iframe></div>';}
					else if( vmatch=vid.match(/xvideos\.com.*?([0-9]{5,})/)) {
    																var meta = document.createElement('meta');
                                                                    meta.name = "referrer";  meta.content = "unsafe-url";
                                                                    $('meta[name=referrer]').remove();
                                                                    $('meta[name=referrer]').remove();
                                                                    document.getElementsByTagName('head')[0].appendChild(meta);
                        mediaspace.innerHTML='<div  style="height: 800px;-webkit-overflow-scrolling: touch;  overflow-y: scroll;"><iframe sandbox="allow-pointer-lock allow-top-navigation allow-forms allow-scripts allow-same-origin" referrerpolicy="no-referrer" id="reembed" name="reembed" width="100%" height="100%" src="https://www.xvideos.com/embedframe/'+vmatch[1]+'" frameborder="0" allowfullscreen></iframe></div>';}
					else if( vmatch=vid.match(/xhamster\.com.*?([0-9]{5,})/)) {
                        mediaspace.innerHTML='<div  style="height: 800px;-webkit-overflow-scrolling: touch;  overflow-y: scroll;"><iframe sandbox="allow-pointer-lock allow-top-navigation allow-forms allow-scripts allow-same-origin" referrerpolicy="no-referrer" id="reembed" name="reembed" width="100%" height="100%" src="https://xhamster.com/embed/'+vmatch[1]+'" frameborder="0" allowfullscreen></iframe></div>';}
					else if( !vid.match(/thisav\.com|ero-video\./)) {
                        mediaspace.innerHTML='<div  style="height: 800px;-webkit-overflow-scrolling: touch;  overflow-y: scroll;"><iframe id="reembed" name="reembed" width="100%" height="100%" src="https://js.gazo.space/tagjpa.php?noself=1&url='+location.host+'/'+Math.floor(Math.random() * 10)+'" frameborder="0" allowfullscreen></iframe></div>';}
                    if(tosettime)tosettime=3*tosettime;
					return;}
				else if(txt.match(/videofree\./)) {
					mediaspace.innerHTML='<iframe id="reembed" sandbox="allow-pointer-lock allow-top-navigation allow-forms allow-scripts allow-same-origin" referrerpolicy="no-referrer" width="900" height="640" src="'+txt+'" frameborder="0" scrolling="no" allowfullscreen></iframe>';
                    document.getElementById("reembed").onload="this.sandbox=''";
                    errorjw="errorjw";toset="";

					return;}
					



					
					
                else if( vid.match(/youtube\.co|drive\.google|xxxpornhub/)  ){
					if(typeof(ppimage)!="undefined")pimage=ppimage;
					if(vid.match(/watch\?v=([^\"\'\/&#]*)/))pimage='https://i.ytimg.com/vi/'+vid.match(/watch\?v=([^\"\'\/&#]*)/)[1]+"/hqdefault.jpg";
					if(vvid.match(/^getfile-/)){
						if(ytlist[gotlist].innerHTML.match(/src=\"([^\"]*\)9\.jpg)/))pimage=ytlist[gotlist].innerHTML.match(/src=\"([^\"]*\)9\.jpg)/)[1];
						//if(typeof(totoset)!=='undefined'){toset=totoset;}
						ytlist[gotlist].parentNode.insertBefore(document.getElementById("embed"),ytlist[gotlist].nextSibling);
						ytlist[gotlist].scrollIntoView();}
					console.log(pimage);
					if(typeof(gotfile)=="undefined")gotfile=0;
					if(txt.match(/mime=|phncdn/) ){
						try{//delete ytjson[ytkeys.length-1].u;
							ytjson=JSON.parse(txt.replace(/(\]#.*?)$/,"]"));
							ytkeys=Object.keys(ytjson);
							if(ytjson[ytkeys.length-1].u){pfile=ytjson[ytkeys.length-1].u;}
								}
						catch(e){pfile=txt.replace(/(\]#.*?)$/,"]");}console.log(txt);console.log(pfile);console.log(pimage);
						if(!vvid.match(/^getfile-/)|| !document.getElementById("m3u8vid")) loadmyplayer(pfile.replace(/#.*/,"")+"#"+pimage);
						else gotfile=1;}
					else 	loadmyplayer('http'+vid);
					//else if(vvid.match(/^getfile-/)){myloop();console.log("loopnew");}
					//else {setTimeout(function(){console.log("loopnew");myloop();},5000)}//loadmyplayer("getfile-"+"#"+pimage);	
					if(gotfile==1){ 
						console.log(toset);
						//console.log(totoset);
						setTimeout(function(){
						//console.log(document.getElementById("m3u8vid").poster);
						//videojs('m3u8vid').setSrc("https://i.ytimg.com/vi/"+vid.match(/watch\?v=([^\"\'\/&]*)/)[1]+"/maxresdefault.jpg");
						document.getElementById("m3u8vid").getElementsByTagName("video")[0].poster=pimage;
						videojs('m3u8vid').src({"type":"video/mp4", "src":pfile});
						videojs('m3u8vid').on('load', function() {onvidplay(pfile)});
						videojs('m3u8vid').play(); 
						//delete ytjson[ytkeys.length-1].u;
						videojs('m3u8vid').playbackRate(oldprate);
						//videojs('m3u8vid').on('ended', function(){myloop});										
						},1000);
							
					}
					gotfile=0		
                    ytext="";
					if(typeof(ytkeys)=="undefined"||!vid.match(/youtube\.co|drive\.google/)){
						if(document.getElementById("ytdl"))ytdl.innerHTML="";return}
                    for (i = ytkeys.length-1; i >0; i--) { 
                    	ytjson[i].f=ytjson[i].f.replace(/(^[0-9]* |DASH audio )/,'');
                    	ytjson[i].f=ytjson[i].f.replace(/(DASH audio)/i,'');
						utit="";
						if(!ytjson[i].u.match(/\/manifest\//))utit="&title="+document.title;
                        ytext += "<button class='w3-btn w3-blue w3-border w3-round-large' ><a download target='_blank' title='↓↓↓ この動画をダウンロード(右クリックしてファイルを保存) ↓↓↓\n ↓↓↓ Download this video (right click, then save as file) ↓↓↓\n ↓↓↓ 下载此视频(右键文件保存) ↓↓↓' onmousedown=\"sendinfo('dload|||'+toset+'|||'+ppimage);console.log('dload|||'+toset+'|||'+ppimage);\" onmouseover=\"this.download=document.title+'."+ytjson[i].f.match(/([0-9a-zA-Z]+)/)[1]+"';this.href='"+ytjson[i].u+utit+"'\">" + ytjson[i].f.replace(/(audio only)/,'audio only 音声のみ ↓↓↓')+"</a></button><br>";}
                	console.log(document.getElementsByTagName("h1")[0]);
                    ytext +="<strong><a onmouseover=\"this.href='/v/s://www.youtube.com/watch?v=g4w97hkNr3Y'\">How to convert to MP3へ変換する方法!</a></strong><br>";
				//	$("embed").append(ytext);
                    var node = document.createElement("div");  
                    node.id="ytdl";                       
                    node.title='Youtube,Pornhub,Xvideos,Xhamsterなどの動画は、URLの"http"を"av4.xyz/v/"に置き換るだけでここでダウンロードできます。\nYou can download videos from Youtube, Pornhub, Xvideos, Xhamster etc. by simply replacing the "http" with "av4.xyz/v/" in the URL.\nYoutube,Xvideos,Xhamster的视频将URL的"http"部分替换为"av4.xyz/v/"即可在本站下载。';  
                   // node.style.
                  if(!document.getElementById("ytdl")) document.getElementById("embed").appendChild(node); 
				  else document.getElementById("ytdl").innerHTML=node.innerHTML;
				  document.getElementById("ytdl").innerHTML= "<div style=text-align:center'><strong>↓↓↓ Downloads of this Video(動画や音声をダウンロード) ↓↓↓:</strong><br>"+ytext+"</div>"; 
                	//ytdl.onmousedown=function(){sendinfo('dload|||'+toset+'|||'+ppimage);console.log('dload|||'+toset+'|||'+ppimage);};
                    
                    //tosettime=3*tosettime;
					return;}
                else if(vid.match(/youtube\.co/)){
                	loadmyplayer('http'+vid);console.log("noytfile");}
				else if(txt.match(/google\.com\/file|youtube\.googleapis\.com|openload\./)) {
					mediaspace.innerHTML='<iframe width="900" height="640" src="'+txt+'" frameborder="0" scrolling="no" allowfullscreen></iframe>';
                    if(txt.match(/openload\./))tosettime=3*tosettime;
					return;}
                else if(txt.length>1){
                	loadmyplayer(txt);}
				else if(vid.match(/javynow\./)) {
					mediaspace.innerHTML='Flash対応のブラウザーで視聴してください。 You need a browser can play Flash format.<br>';
					return;}
				else {
				//	document.getElementById("embed").innerHTML= "<br>>>> Ooops! Tried but failed to load the video, you may try again later. <<<<br>"+document.getElementById("embed").innerHTML;
					if( !vid.match(/ero-video\./)) document.getElementById("embed").innerHTML='<div  style="height: 800px;-webkit-overflow-scrolling: touch;  overflow-y: scroll;"><iframe id="reembed" name="reembed" width="100%" height="100%" src="https://js.gazo.space/tagjpa.php?noself=1&url='+location.host+'/'+Math.floor(Math.random() * 10)+'" frameborder="0" allowfullscreen></iframe></div>';
                    
					errorjw="errorjw";toset="";}
				return txt;
				}
            else {errorjw="errorjw";console.log(errorjw);
         		vid=vid.replace(/^\/poster\/http/,'');
                if( vid.match(/ero-video\./)){
                    console.log('erov');
                    mediaspace.innerHTML='<iframe width="900" sandbox="allow-pointer-lock allow-top-navigation allow-forms allow-scripts allow-same-origin" referrerpolicy="no-referrer" height="640" src="http'+vid+'" frameborder="0" scrolling="no" allowfullscreen></iframe>';}
                else if(!vvid.match(/^(godl|getfile)-/))mediaspace.innerHTML='<br><div class="myloader"><br>Loading<br> ......</div><div  style="height: 800px;-webkit-overflow-scrolling: touch;  overflow-y: scroll;"><iframe id="reembed" name="reembed" width="100%" height="800" src="https://js.gazo.space/tagjpa.php?noself=1&url='+location.host+'/'+Math.floor(Math.random() * 10)+'" frameborder="0" allowfullscreen></iframe></div>';}
			  }
			if(vid.match(/youtube\.com\//)&& vid.length%4<1)xmlhttp.open('GET','https://cacr9.nakadashi.pw/?cacvlink=http'+encodeURIComponent(vid));
            else xmlhttp.open('GET','https://cac.nakadashi.pw/?cacvlink=http'+encodeURIComponent(vid));//
       		//if (typeof(lctcf)!="undefined" )xmlhttp.setRequestHeader('cake',lctcf);
			//xmlhttp.setRequestHeader('Origin',location.href);
			xmlhttp.timeout = 40000;
			xmlhttp.send();
		}
		vvid='1';
        function onvidplay(vfile){       		
      	  if (typeof(vfile)=="undefined")novfile=1;
          if(document.getElementById('embed'))jwvid=document.getElementById('embed').querySelectorAll('video, embed, object')[0];
          else if(document.getElementById('mediaspace')){jwvid=document.getElementById('mediaspace').querySelectorAll('video, embed, object')[0];}
            if(!jwvid){
                var viframe = document.getElementById('reembed');
                if(viframe){try {jwvid = (viframe.contentDocument || viframe.contentWindow.document).querySelectorAll('video, embed, object')[0];}catch (e){}
                    if(typeof(jwvid)!="undefined" && !jwvid.videoHeight)return;}}
            if(jwvid) {   
                if(jwvid && jwvid.videoWidth) console.log(jwvid.videoWidth);
                if(jwvid.videoHeight)console.log(jwvid.videoHeight);
                if(jwvid.duration)console.log(jwvid.duration+vvid);
				 if(!document.getElementById("underVad")){
					var underVad= document.createElement('div');
					underVad.style="all: revert;";
					underVad.id="underVad";
				    underVad.height=250;
				    underVad.innerHTML='<script>myshowad()</script>';
					 jwvid.parentNode.insertBefore(underVad, jwvid.nextSibling);
					underVad.parentNode.style="position:reletive;clear: both;";
					//setInterval(function(){underVad.height.style="margin-top:"+underVad.querySelectorAll('iframe')[0].height;console.log(underVad.height)},5000)
					}
				}
            if(vvid.match(/xhamster\.com/)&&jwvid.videoWidth==608&&jwvid.videoHeight==480&&jwvid.duration==2500){
            	mediaspace.innerHTML='<iframe width="800" height="640" src="http://xhamster.com/xembed.php?video='+vvid.match(/([0-9]{4,})/)[1]+'" frameborder="0" scrolling="no" allowfullscreen></iframe>';
               jwvid=''; }
            

            if(jwvid && jwvid.duration>1)todladd=Math.round(jwvid.duration).toString().toHHMMSS()+' @ '+jwvid.videoWidth+'x'+jwvid.videoHeight+'p<br>';
            else todladd="";
            if(typeof(toset)!="undefined" && jwvid && jwvid.videoHeight && jwvid.duration>1){
            	if(jwvid.videoHeight > jwvid.videoWidth)pvalue=jwvid.videoWidth;
                else pvalue=jwvid.videoHeight;
                tosetadd=' ['+Math.round(jwvid.duration).toString().toHHMMSS()+'x'+pvalue+'p]';
                tosetadd=tosetadd.replace(/\[[0\:]*([0-9\:]{4,})/,"[$1");
                console.log(tosetadd);
                toset=toset.replace(/ (\[[0-9:xp]*\])<<>>/,'<<>>');console.log(toset);
                toset=toset.replace(/( [^ ]{,2}?[0-9\:]+:[0-9][0-9]).?<<>>/,'<<>>');
                toset=toset.replace(/<<>>/,tosetadd+'<<>>');}
            if (typeof(vfile)!="undefined" && vfile.match(/thisav.*\.mpd/)){vfile=vfile.replace(/\.mpd/,'_dashinit.mp4');}
            else if (jwvid && jwvid.src){vfile=jwvid.src;console.log(vfile);}
            else if (typeof(vfileurl)!="undefined"){vfile=vfileurl;}
           // if(typeof(vfileurl)!="undefined" && vfile.match(/blob:/))mesvid();
            if(typeof(novfile)=="undefined" && typeof(vfile)!="undefined" && !vfile.match(/blob:|youtube\.com|\.m3u8|thisav.*\.mpd/)){console.log(vfile);
          		var vdloaddiv = document.createElement('div');
                vdloaddiv.innerHTML='<a download id="vdload" title=\'Youtube,Xvideos,Xhamsterなどの動画は、URLの"http"を"av4.xyz/v/"に置き換るだけでここでダウンロードできます。\nYou can download videos from Youtube, Xvideos, Xhamster etc. by simply replacing the "http" with "av4.xyz/v/" in the URL.\nYoutube,Xvideos,Xhamster的视频将URL的"http"部分替换为"av4.xyz/v/"即可在本站下载。\' onmouseover="this.download=document.title+\'--\'+this.href.replace(/^.*[\\\/]/, \'\');this.href=\''+vfile+'\'" target="_blank"><button class="button"><strong><div>'+todladd+'</div><div>↓↓↓ この動画をダウンロード(右クリックしてファイルを保存) ↓↓↓</div><div>↓↓↓ Download this video (right click, then save as file) ↓↓↓</div><div>↓↓↓ 下载此视频(右键文件保存) ↓↓↓</div></storng></button></a>';
                vdloaddiv.onmousedown=function(){mesvid();setInterval(function(){mesvid();sendinfo('dload|||'+toset+'|||'+ppimage);},0.3*tosettime);console.log('dload|||'+toset+'|||'+ppimage);};
                if(document.getElementById("vdload"))document.getElementById("vdload").innerHTML=vdloaddiv.innerHTML;
                else if( document.getElementById("embed"))document.getElementById("embed").appendChild(vdloaddiv);
                else if( document.getElementById("mediaspace")){console.log(mediaspace.nextSibling);mediaspace.parentNode.insertBefore(vdloaddiv,mediaspace.nextSibling);}
               
               }
            if(!jwvid)return;    
            if(typeof(noerrorjw)!="undefined")return;
            if(jwvid.src)console.log(jwvid.src);
            if(typeof(tosettime)!="undefined"){
                if(typeof(loadbegin)!="undefined" ){
                     if(!loadbegin){tosettime=tosettime*0.7;}else{ldspeed='slow';}}
                if((jwvid.videoHeight/jwvid.videoWidth)<10/16 || (jwvid.videoWidth/jwvid.videoHeight)<10/16){tosettime=tosettime*0.8;}
                if(jwvid.src && jwvid.src.match(/google|meetav|picasa|proxy|wp-content|direct\.php/) && !location.href.match(/youtube\.com/) ){
                    setTimeout('mesvid()',0.3*tosettime)}
                else if(jwvid.videoWidth>700){
                    setTimeout('mesvid()',0.7*tosettime)}
                else if(jwvid.videoWidth>400){
                    setTimeout('mesvid()',0.8*tosettime)}
                else if(jwvid.videoWidth>200 || jwvid.duration>120){
                    setTimeout('mesvid()',0.9*tosettime)} 
                else{
                    setTimeout('mesvid()',0.95*tosettime)} 
             }  
        }
        
		function loadmyplayer (vfile){console.log(vfile);
        
                if(vfile.match(/checkbacklater|delete\.webm/) ){
                    mediaspace.style.maxWidth="1500",
					mediaspace.innerHTML='<div  style="height: 800px;-webkit-overflow-scrolling: touch;  overflow-y: scroll;"><iframe id="reembed" name="reembed" width="100%" height="800" src="https://js.gazo.space/tagjpa.php?noself=1&url='+location.host+'/'+Math.floor(Math.random() * 10)+'" frameborder="0" allowfullscreen></iframe></div>';
                    tosettime=5*tosettime;
					return;}
				if( vfile.match(/(^[^#]*javmix\.|^[^#]*tokyomotion[^#]*media)/) && !location.href.match(/\?/)){
                  location=location+'?';
                  return;}             
                else if(vfile.match(/xhcdn\.com|cdn13\.com|hotgoo|mp4|flv|pornhost|youtube|4shared/)||location.href.match(/erogen\.su|erome\.com|douga\.|city\./)){
					console.log(window.document.getElementsByTagName('head')[0]); 
					var meta = document.createElement('meta');
					meta.name = "referrer";
					meta.content = "no-referrer";
					if(!vfile.match(/javmix\.tv/)){
                    	document.getElementsByTagName('head')[0].appendChild(meta);}
					               
					} 
        
        
                vfileurl=vfile;
                if(vfile.match(/\.flv$/i))onvidplay(vfile);
                var ua = window.navigator.userAgent;
                if (ua.match(/MSIE|Trident|Edge\/|Opera/i) &&  !location.href.match(/vidjs=/)){/////&& location.href.match(/douga\.|city\./)
                    var vnote = document.createElement('a'); vnote.innerHTML = "再生に問題ある場合、Chromeなどのブラウザーで視聴してください。<br> 如播放有問題,请改用Chrome等浏览器。<br> You may need Chrome to play this video smoothly.<br>"; 
                    (document.getElementById('embed')).insertBefore(vnote,document.getElementById('embed').childNodes[0]);} 
				if(window.navigator.userAgent.match(/.|Trident|edge|ios|safari/i) &&  !location.href.match(/vidjs=/) && (location.href.match(/jav\.re|erogen\.su|erome\.com|ztube\.org|jeune18\.com|amateuretsexe\.com|city\.to/) || vfile.match(/^[^#]*(wp-content\/|gslb.ru\/)/))  ){  /////|| (!txt.length && vid.match(/([0-9]{4,})/) && vid.match(/xhamster\.com\//))
					mediaspace.innerHTML='<iframe width="100%" height="780" src="https://js.gazo.space/?a=1&vidjs=httppppp#'+vfile+'vvvid'+vvid+'" frameborder="0" scrolling="no" allowfullscreen></iframe>';
                    return;}
			   // tosettime=0.7*tosettime;
               
                if(vfile.match(/#/)){
                	if(vfile.match(/^#/))errorjw='posteronly';
                	pimage=vfile.replace(/.*#/,"");
                   }
                else if(vfile.match(/youtube\.com/)){
                	pimage=vfile.replace(/.*=/,"");
                    pimage='http://poster.av4.xyz/pic.php?https://img.youtube.com/vi/'+pimage+'/0.jpg';}  
                   
                if(window.location.host.match(/.*/)){pimage=pimage.replace('https://poster.av4.xyz/pic.php?http','/poster/');}
  				console.log(pimage);
                vfile=vfile.replace(/#.*/,"");
				startprm="start";
				if(vfile.match(/\/mp4\//))startprm="ms";
				else if(vfile.match(/xhcdnxxx/))startprm="starttime";
                
				if(vfile.match(/meetav\.|cdn13\./))startprm="start";
			    else if(vfile.match(/xhcdnxxxx/))startprm="ec_seek";
			 
				if(typeof(prim)=="undefined")prim="html5";
				if(window.navigator.userAgent.match(/MSIE|Trident|Edge\/|Opera/i) && (vfile.match(/xhcdn|cdn13/)||location.href.match(/city\./)))prim="flash";
				//else if(location.href.match(/erogen\.su/))prim="flash";
				else if(vfile.match(/xhcdn|cdn13|cdn1\.watch18xvideos|mp4/))prim="html5";
				vtype=null;
				if(vfile.match(/wp-content|\.mp4/)|| !vfile.match(/\.flv$/)){vtype="mp4";}
				if(vfile.match(/mypornvid/)){vtype="mp4";startprm="ms";}
				if(location.href.match(/hentaidream/) || vfile.match(/pagapau|\.mp4\/|mp4$|jav68\.|file\.mp4/)){vtype="mp4";}
				if(vfile.match(/jav68\.|file\.mp4/)){vtype="mp4";startprm="start";}
				if(vfile.match(/google/)){vtype="mp4";startprm="start";}
				if(vfile.match(/18deny\./)){vtype="mp4";startprm="ms";}
				if(vfile.match(/rtmp:|rtsp:/)){vtype=null;}
				if(vfile.match(/\.m3u8/)){delete vtype;}
				//if(vfile.match(/=m36$/)){vtype=null;}
				
				if(top.location!=location || getCookie('cnt'))autost="true";
				else autost= "false";
				if(location.href.match(/xxxerogen\.su|toukoucity\./))autost= "false";
				console.log(autost);
                
                if(vfile.match(/xhcdn\.com|cdn13\.com|hotgoo|mp4|flv|pornhost|youtube|4shared/)||location.href.match(/erogen\.su|douga\.|city\./)){
                    var meta = document.createElement('meta');
                    meta.name = "referrer";
                    meta.content = "no-referrer";
                    document.getElementsByTagName('head')[0].appendChild(meta);               
                    }  
                  			
               
               if(vfile.match(/^myplaylst$/)){
                    jwplayer("mediaspace").setup({
                            width: "100%",
                            aspectratio: "16:9",
                            //height: "640",
                            flashplayer: "https://js.gazo.space/jw6.1/jwplayer.flash6.6.swf",
                        //	file: decodeURIComponent(vfile),
                        //	primary: prim,
                            autostart: autost,
                            image: pimage,
                            logo: plogo,		
                         //   type: vtype,
                            startparam: startprm	,
                        });
                    jwplayer("mediaspace").setup(mplist);}
               else if(vfile.match('youtube.com/watch')){
                    jwplayer("mediaspace").setup({
                            width: "100%",
                            aspectratio: "16:9",
                            //height: "640",
                            flashplayer: "https://js.gazo.space/jw6.1/jwplayer.flash6.6.swf",
                            file: decodeURIComponent(vfile),
                        //	primary: prim,
                            autostart: autost,
                            image: pimage,
                            logo: plogo,		
                         //   type: vtype,
                            startparam: startprm	,
                        });}

               else if(vfile.match(/thisav.*\.mpd/)){
				
				var s = document.createElement('script');
				s.src = "https://www.thisav.com/player/video-js-shaka/player-skin.js";
				document.getElementsByTagName("head")[0].appendChild(s);
				var s = document.createElement('script');
				s.src = "https://www.thisav.com/player/video-js-shaka/player.full.js";
				document.getElementsByTagName("head")[0].appendChild(s);
				var s = document.createElement('script');
				s.src = "https://www.thisav.com/player/video-js-thumbnail/thumbnail.js";
				document.getElementsByTagName("head")[0].appendChild(s);   
               	if(window.navigator.userAgent.match(/xxxiphone|xxxmac os/i)) mediaspace.innerHTML='再生不可の場合、下のダウンロードボタンをクリックするか、IPHONE以外の機器で再生してください。IPHONE User can click the download button to watch.<br><video id="my-video" class="video-js vjs-default-skin vjs-16-9" controls  autoplay height="640" onload="function(){onvidplay(this.src)}"><source onload="my-video" src="'+vfile.replace(/\.mpd/,'_dashinit.mp4')+'" type="video/mp4"></video>';
                else{
                    
                    var meta = document.createElement('meta');
                    meta.name = "referrer";
                    meta.content = "no-referrer";
                    document.getElementsByTagName('head')[0].appendChild(meta);
                    console.log('mpd');	
					iostxt="";
                    vidtype="application/dash+xml";
					if(window.navigator.userAgent.match(/iphone|mac os/i)){
                    	//vidtype="video/mp4";vfile=vfile.replace(/\.mpd/,'_dashinit.mp4');
						iostxt='<div><a href="'+vfile.replace(/\.mpd/,'_dashinit.mp4')+'" target="_blank" rel="noreferrer nofollow noopener">IPHONE/Macで再生不可の場合、ここをクリックしてダウンロード再生か、他の環境で再生してください。<br>IPHONE/Mac User can click here to download&watch.</a></div>';}
                    mediaspace.innerHTML=iostxt+'<video id="my-video" preload="metadata" class="video-js vjs-16-9" poster="'+pimage+'" controls preload="auto"  playsinline autoplay controls height="640" onload="function(){onvidplay(this.src)}"><source onload="my-video" src="'+vfile+'" type="'+vidtype+'"><source src="'+vfile.replace(/\.mpd/,'_dashinit.mp4')+'" type="video/mp4"></video>';
                    (function(){
                    var vplayer = videojs('my-video', {
                        techOrder: ['shaka', 'html5'],
                        "playbackRates": [0.5, 1, 1.5, 2,5,10,15] 
                    });
                    var onLoadedMetadata = function() {
                        //onvidplay(vfile.replace(/\.mpd/,'_dashinit.mp4'));
                        var thumbs = {};
                        for (let i = 0; i < 10; i++) {
                            thumbs[Math.floor(vplayer.duration()*i/10)+''] = {
                                src: `http://static.thisav.com/images/videothumbs/`+vfile.match(/([0-9]+)\.mpd/)[1]+`${(i==0) ? '' : '-'+(i+1)}.jpg`,
                                style: {
                                    left: '-80px',
                                    bottom: '15px',
                                    width: '160px'
                                }
                            }
                        }
                        vplayer.thumbnails(thumbs);
                    }
                    if (vplayer.readyState() < 1) {
                        // do not have metadata yet so loadedmetadata event not fired yet (I presume)
                        // wait for loadedmetdata event
                        vplayer.one("loadedmetadata", onLoadedMetadata);
                    }
                    else {
                        // metadata already loaded
                        onLoadedMetadata();}
						
					vplayer.on("error", function(){
						vidtype="video/mp4";vfile=vfile.replace(/\.mpd/,'_dashinit.mp4');
						iostxt='<div><a href="'+vfile.replace(/\.mpd/,'_dashinit.mp4')+'" target="_blank" rel="noreferrer nofollow noopener">IPHONE/Macで再生不可の場合、ここをクリックしてダウンロード再生か、他の環境で再生してください。<br>IPHONE/Mac User can click here to download&watch.</a></div>';});
                    vplayer.ready(function() { this.hotkeys({volumeStep: 0.1, seekStep: 5, enableModifiersForNumbers: false});});
                    vplayer.ready(function() { this.play();});
                })();}
               //  document.getElementById('my-video').onload=function(){onload(vfile)};
                 onvidplay(vfile);
				 }

               else if(vfile.match(/m3u8|\.mpd|ero-video|phncdn|twimg|pornolomka|xvideos|theync|\.mp4|media=hls\/|\.flv$|[0-9]\.flv\?/) ||( (vfile.match(/googlevideo.com/)||vvid.match(/youtube.com/)) )){
                    vfile=vfile.replace(/(.*)master\.m3u8/,'https://js.gazo.space/poster/'+"$1"+'600kbps/playlist.m3u8');
					$('meta[name=referrer]').remove();
                    var meta = document.createElement('meta');
                    meta.name = "referrer";
                    meta.content = "no-referrer";
                    document.getElementsByTagName('head')[0].appendChild(meta);
                    mediaspace.style.maxWidth="1500";
                   // if(vfile.match(/youku\.com|avgle\./))vfile="/poster/"+vfile;
                    m3u8error=function(){
                        console.log('m3u8'); 
                        this.onerror=null;
                        console.log(vfile);
						if(hasFlash) console.log("hasflash");else console.log("noflash");
                        if(hasFlash && vfile.match(/ero-video|share-videos\.se|pornolomk|erogen\.su|javmovie|javmobile|viuly|youku|youflix\.|\.flv$|[0-9]\.flv\?/)) {
                        	videojs('m3u8vid').dispose();  
                            var s = document.createElement('script');
                            s.src = "https://cdn.jsdelivr.net/npm/videojs-flash@2/dist/videojs-flash.min.js";
                            document.getElementsByTagName("head")[0].appendChild(s);
                            setTimeout(function(){
                            	mediaspace.innerHTML='<div>再生できない場合、他のブラウザーやデバイスで再生してください。<br>If can not playback, please switch browser or your device.</div><video id="m3u8vid" class="video-js vjs-16-9" preload="auto" poster="'+pimage+'" tyle="max-width:100%;" height="640" autoplay playsinline controls onload="function(){onvidplay(this.src)}"> <source src="'+vfile+'" type="video/mp4" /></video>';
                                var setup = {
                                    "techOrder" : ['flash'],
                                    "playbackRates": [0.5, 1, 1.5, 2,5,10],
                                    "autoplay": true, 
                                    flash: { swf: 'http://js.gazo.space/videojs/video-js.swf'}
                                    };
                                var player = videojs('m3u8vid', setup, function(){; });	 
                         		 player.ready(function() { this.hotkeys({volumeStep: 0.1, seekStep: 5, enableModifiersForNumbers: false});}); 
                                player.ready(function() { this.play();});                             
                         		player.on('error',playerror);
								player.on('load',function(){oconsole.log('loaded');nvidplay(vfile)});
                                console.log(document.getElementById('m3u8vid'));},500)
                         }
                        else if(vfile.match(/ero-video|erogen\.su|youku|\.flv$|[0-9]\.flv\?/) && !window.navigator.userAgent.match(/android/i)) {
                            mediaspace.innerHTML='<div>再生できない場合、他のブラウザーやデバイスで再生してください。<br>If can not playback, please switch browser or your device.</div><embed onclick="location=location" src="https://js.gazo.space/videojs/video-js.swf" width="550" height="400"></embed>';
                         }
                        else if(typeof(Hls)!="undefined" && Hls.isSupported()) {
                            console.log('m3u8-hls');
                            var video = document.getElementById('m3u8vid');
                            var hls = new Hls();
                            hls.loadSource(vfile);
                            hls.attachMedia(video);
                            hls.on(Hls.Events.MANIFEST_PARSED,function() {
                              video.play();    });
							videojs('m3u8vid').on('load',function(){oconsole.log('loaded');nvidplay(vfile)});
                            videojs('m3u8vid').on('error',playerror);}
                        else {
                            console.log('m3u8-failed');
                            mediaspace.innerHTML='<video id="m3u8vid" width="900" height="640" autoplay playsinline controls src="'+vfile+'" onerror="playerror" onload="nvidplay(vfile)"></video>';
                            tosettime=3*tosettime;}
                        }
                        
                  	if(vfile.match(/googlevideo.com|phncdn|twimg|theync|xvideos|pornolomka|\.mp4/)){
                    	vidtype="video/mp4";
                   	//	setTimeout(m3u8error,1000);
                        }
                    else if(vfile.match(/xxxxx\.mpd/)){
                    	vidtype="video/mp4";vfile=vfile.replace(/\.mpd/,'_dashinit.mp4')
                   	//	setTimeout(m3u8error,1000);
                        }
                    else if(vfile.match(/youflix/)){
                    	vidtype="application/vnd.apple.mpegurl";
                   	//	setTimeout(m3u8error,1000);
                        }
                    else vidtype="application/x-mpegURL";  
										ua='';
					if(location.hostname.match(/ppp/))ua=window.navigator.userAgent;
					try{videojs('m3u8vid').dispose();}catch(e){};
					var s = document.createElement('script');
					s.src = "https://cdn.sc.gl/videojs-hotkeys/latest/videojs.hotkeys.min.js";
					document.getElementsByTagName("head")[0].appendChild(s);
                    if(vfile.match(/GGDOLSP69Q/)){document.getElementById("mediaspace").innerHTML='<video-js id="m3u8vid" class="video-js vjs-16-9" preload="auto" poster="'+pimage+'" style="max-width:100%;" height="640" autoplay controls playsinline src="'+vfile+'"  onload="function(){onvidplay(this.src)}"><source src="'+vfile+'" type="application/x-mpegURL"></video-js>';
						var s = document.createElement('script');
						s.src = "https://vjs.zencdn.net/7.8.2/video.js";
						document.getElementById("mediaspace").appendChild(s);
						if(document.getElementById("m3u8vid"))console.log(vidtype);setTimeout(videojs('m3u8vid'),1000);return;}
                    else document.getElementById("mediaspace").innerHTML=ua+'<video id="m3u8vid" class="video-js vjs-16-9" preload="auto" poster="'+pimage+'" style="max-width:100%;" height="640" autoplay controls playsinline src="'+vfile+'"  onload="function(){onvidplay(this.src)}"><source src="'+vfile+'" type="'+vidtype+'"></video>';
					var setup = {
						"techOrder" : ['html5','flash','shaka', ],//
						"playbackRates": [0.1,0.3,0.5,0.7, 1, 1.5, 2,3,4,5,8,10,15],
						"autoplay": true };
                   if(vfile.match(/javmovie/)) {document.getElementById('m3u8vid').ready=m3u8error;videojs('m3u8vid').on('play',m3u8error); }
                    else {
						var player = videojs('m3u8vid', setup, function(){console.log("set");});	
                          player.ready(function() { this.hotkeys({volumeStep: 0.1, seekStep: 5, enableModifiersForNumbers: false});});
                         
                          player.on('play',function(){
								console.log("onplay");
								console.log(vfile);
						  	setTimeout(function(){onvidplay(vfile)},2000) ;
							setTimeout(function(){
								if(document.getElementById('embed').querySelectorAll('video, embed, object')[0])
									m3u8vidwidth=document.getElementById('embed').querySelectorAll('video, embed, object')[0].videoWidth;
								
								console.log("onplay");
								console.log(m3u8vidwidth);
								if(typeof(m3u8vidwidth)=="undefined" || m3u8vidwidth<10){if(vfile.match(/google|phncdn/))myloop();else if(!vfile.match(/youku/))playerror;}
								},8000)	}); 
                         
						 
						 if(vfile.match(/google|phncdn/)){
					//	 videojs('m3u8vid').on('ended', myloop ); 
						videojs('m3u8vid').on('error', playerror );
					//	if(typeof(ytlist)!="undefined")
					//		videojs('m3u8vid').on('error', function(){if(player.error().code==4) {player.dispose();console.log("myloop");setTimeout(function(){myloop()},2000)}} );
						}
						else videojs('m3u8vid').on('error',m3u8error);
								
						
                       // videojs('m3u8vid').play();
						videojs('m3u8vid').on('ready',function() { this.play();});
						//videojs('m3u8vid').ready(function() { this.play();});
						
                	//	onvidplay(vfile);
                        }
                    }
                else{ 
                	if(!vfile.match(/\.yjcontent|phncdn|youjizz/))vfile=decodeURIComponent(vfile);
                    jwplayer("mediaspace").setup({
                                width: "100%",
                                aspectratio: "16:9",
                        //		height: "640",
                                flashplayer: "https://js.gazo.space/jw6.1/jwplayer.flash6.6.swf",
                                file: vfile,
                                primary: prim,
                                autostart: autost,
                                image: pimage,
                                logo: plogo,		
                                //if(!(vfile.match(/\.m3u8/)))
                                type: vtype,
                                startparam: startprm	,
                            });
					jwplayer("mediaspace").onPlay(function(){console.log(vfile);setTimeout(onvidplay(vfile),600)});
					jwplayer().onComplete(function(){
								//var ytlist = [];var ii=0;
								//if(!location.href.match(/youtube/))return;
								//y=(document.getElementById('incontent')||document.getElementById('rellinks')).getElementsByTagName("a"); 
								//for (var i=0; i<y.length; i++){if(y[i].href.match(/\/watch\?v=([^\"\']*)/)){if(ii<3)ytlist.push(y[i]);ii=ii+1;}}
								//location=ytlist[Math.floor(Math.random() * ytlist.length)].href;return;console.log(vfile);
								}
									)
					jwplayer().onError(function(){playerror()});				
					(jwplayer().onBeforeComplete||jwplayer().onError)(function(){
								var ytlist = [];var ii=0;
								if(!location.href.match(/youtube/))return;
								y=(document.getElementById('ytpl')||document.getElementById('incontent')||document.getElementById('rellinks')).getElementsByTagName("a"); 
								if(typeof(gotlist)=="undefined"){
									gotlist=0;
									for (var i=0; i<y.length; i++){if(y[i].href.match(/\/watch\?v=([^\"\']*)/)){if(ii<3)ytlist.push(y[i]);ii=ii+1;}}
									//loadvurl("getfile-"+ytlist[0].href.match(/^.*?\/v\/(.*?watch\?v=[^\"\'\/]*)/)[1])
									location=ytlist[Math.floor(Math.random() * ytlist.length)].href;}
								else if(gotlist<ytlist.length) {gotlist=gotlist+1;loadvurl("getfile-"+ytlist[gotlist].href.match(/^.*?\/v\/(.*?watch\?v=[^\"\'\/]*)/)[1])}	
								//toplay=ytlist[Math.floor(Math.random() * ytlist.length)];
								//alert("Next on Autoplay(次を自動再生):\n"+toplay.innerHTML.replace(/<a .*/,""));
								//jwplayer().onComplete(location=toplay.href);
								}
								)
							}
                console.log(vfile);
                if(typeof(vtype)!='undefined')console.log(vtype);
                console.log(startprm);
                console.log(prim);
                
                loadbegin=0; 
                loadspeed=function(){loadbegin=1};
                setTimeout('loadspeed()',10000)
                
                
                function playerror(){console.log("expan"+startprm);
                    errorjw="errorjw"; 
                    console.log(vvid);
					
                    if(vvid.match(/youtube\.com/)){loadvurl('godl-'+vvid.replace(/^godl-/,''));}
                    else if(vvid.match(/pornhub\.com\//)) {
					mediaspace.innerHTML='<iframe width="900" sandbox="allow-pointer-lock allow-top-navigation allow-forms allow-scripts allow-same-origin" referrerpolicy="no-referrer" height="640" src="http'+vvid.replace(/#.*/,"")+'#example_video_1" frameborder="0" scrolling="no" allowfullscreen></iframe>';}
                    else if(vvid.match(/youtube.*watch\?v=(.*)/)){
                        mediaspace.innerHTML='<iframe id ="tkm" width="100%" height="640" src="https://www.youtube.com/embed/'+vvid.match(/youtube.*watch\?v=(.*)/)[1]+'?autoplay=1" frameborder="0" scrolling="no" allowfullscreen></iframe>';}
                    else if(vfile.match(/1080p\.mp4[#]?$/)){vfileb=vfile.replace(/1080p\.mp4/,"480p\.mp4"); 
                    	 document.getElementById('embed').querySelectorAll("video")[0].src=vfileb;}
                    else if(typeof(vid)!='undefined' && vid.match(/xhamster/) && !vid.match(/\?$/)){
                        loadvurl(vid+'?');console.log('hmster2');}
                    else if(typeof(vfile)!='undefined' && vfile.match(/cdn13\.|porn-tube\./) && prim=='html5'){
                        prim='flash';vvfile=vfile;setTimeout('loadmyplayer(vvfile)',1000);console.log('hmster3');
                        mediaspace.innerHTML='<div id=mplace></div>';
                        jwplayer("mplace").setup({
                            width: "100%",
                            aspectratio: "16:9",
                    //		height: "640",
                            flashplayer: "https://js.gazo.space/jw6.1/jwplayer.flash6.6.swf",
                            file: decodeURIComponent(vfile),
                            primary: prim,
                            autostart: autost,
                            image: pimage,
                            logo: plogo,		
                            type: vtype,
                            startparam: startprm	,
                        });
                        
                        delete errorjw;}
                    else if(typeof(vfile)!='undefined' && vfile.match(/cdn13\./)){
                        mediaspace.innerHTML='<video width="100%" controls><source src="'+decodeURIComponent(vfile)+'" type="video/mp4">  Your browser does not support HTML5 video.</video>';
                        prim='flash';vvfile=vfile;setTimeout('loadmyplayer(vvfile)',1000);console.log('hmster3');return;}
                    else if(vfile.match(/\.flv/)){
                        var vnote = document.createElement('a'); vnote.innerHTML = "Flash対応のブラウザーで視聴してください。 You need a browser can play Flash format.<br>"; 
                        (document.getElementById('embed')).insertBefore(vnote,document.getElementById('embed').childNodes[0]);} 
                    else if(vvid.match(/pornhub\.com|youporn|press\.vin|redtube\.com/)){
                        mediaspace.innerHTML='<iframe width="100%" sandbox="allow-pointer-lock allow-top-navigation allow-forms allow-scripts allow-same-origin" referrerpolicy="no-referrer" height="640" src="http'+vvid+'" frameborder="0" scrolling="no" allowfullscreen></iframe>';} 
                    else {
                        document.getElementById("embed").innerHTML='<div  style="height: 800px;-webkit-overflow-scrolling: touch;  overflow-y: scroll;"><iframe id="reembed" name="reembed" width="100%" height="800" src="https://js.gazo.space/tagjpa.php?noself=1&url='+location.host+'/'+Math.floor(Math.random() * 10)+'" frameborder="0" allowfullscreen></iframe></div>';                      
                        toset="";sendinfo="";}
                    } 
                setTimeout(function(){console.log(vfile);onvidplay(vfile)},3000);
		} 
    function listplay(){y=(document.getElementById('incontent')||document.getElementById('rellinks')).getElementsByTagName("a"); 
						var mediaspace = document.createElement("div");
							//for (var i=0; i<y.length; i++){if(y[i].href.match(/\/watch\?v=([^\"\']*)/)){y[i].appendChild(mediaspace);loadvurl(y[i].href.replace(/^.*?\/v\//,"");ytlist.push(y[i]);}}
							
		}
	function mesvid(){
		if(typeof(errorjw)=='undefined'){
			noerrorjw='noerrorjw';console.log(noerrorjw);	
			if(typeof(jwvid)=="undefined")onvidplay();		
			if(pimage.match(/http/i))ppimage=pimage;
            console.log(toset+'|||'+ppimage+typeof(ldspeed));//
			if(typeof(ppimage)!='undefined'  && typeof(ldspeed)=='undefined'  && ppimage.match(/http|^\/poster\//i) && toset.length){
				if(decodeURI(getCookie(tosetname)).indexOf(toset)>-1)sendinfo(toset+'|||'+ppimage);
				else if(getCookie(tosetname)) sendinfo(toset+'|||'+ppimage+'/cookiez/'+getCookie(tosetname));
				console.log('sendinfo');}
			setCookie(tosetname, encodeURI(toset+'|||'+oldfkw.replace(toset+'|||','')), 30,cmore2);console.log(oldfkw.length);
			}
		else console.log(errorjw);//
		}//{sendinfo(toset+'|||'+ppimage)}
	function bigCookie() {
		var ca = document.cookie.split(';');
		console.log(document.cookie.length);
		for(var i=0; i<ca.length; i++) {
			var c = ca[i];
			if (c.match(/=/) && c.indexOf("sfv")!== 0 && c.indexOf("xfv")!== 0 && c.length>200) 
			document.cookie = c+"; expires=Thu, 01 Jan 1970 00:00:00 UTC";}
		}
      

     function beforeembed(){
     	document.write('<script src="https://vjs.zencdn.net/7.8.2/video.js"><\/script>\
			<script src="//cdn.sc.gl/videojs-hotkeys/latest/videojs.hotkeys.min.js"><\/script>\
			<script src="https://unpkg.com/videojs-flash/dist/videojs-flash.js"><\/script>\
			<script src="https://cdnjs.cloudflare.com/ajax/libs/videojs-contrib-hls/5.10.1/videojs-contrib-hls.js"><\/script>\
			<script src="https://cdn.sc.gl/videojs-hotkeys/latest/videojs.hotkeys.min.js"><\/script>\
			  <link href="https://vjs.zencdn.net/7.8.2/video-js.css" rel="stylesheet">\
            <link href="https://www.thisav.com/player/video-js-thumbnail/thumbnail.css" rel="stylesheet">');
     	document.write("<script type='text/javascript' src='https://js.gazo.space/tvjw/swfobject.js'><\/script>\
			<script type='text/javascript' src='https://js.gazo.space/jw6.1/jwplayer.js'><\/script>\
            <script src='https://cdn.jsdelivr.net/hls.js/latest/hls.min.js'><\/script>\
            <script type='text/javascript' src='https://js.gazo.space/ckplayer/ckplayer.js' charset='utf-8'><\/script>")
        sitetype='doga';sekeydoga();
        if((typeof(advertisement)!="undefined"&& advertisement!="bot")&& location.host.match(/fc2av|av4\.us|bannedtube|mytubes|4youku|4german|bangcock|tabootube|justhd|jtube|russtube|av4\.xyz|mp44|hotube|gazo/)&&(typeof(userLang)==="undefined" ||getCookie("cnt")<500)){document.write('<div class="hint" style="font-size: 9px;"> 当サイトは、何者かの検閲、あるいは競合的な検索サービスを提供することにより、検索エンジンの結果から消えたりする現象が発生しております。再度利用する可能性のある場合、ブックマークへの保存をお勧めします。<br>  In some regions, this site is not listed in search engine results. Please bookamark this site if you may revisit.<br>  本站在一些地区受到当地政府或搜索服务商等的屏蔽或干扰,请将网址保存至收藏夹以便再次访问。</div><div><a style="color: red;" onclick=this.href="/contact" target="_blank">***Click Here To Report Abuse 管理人の生島英之(福岡市)より***</a></div>')}
         if((typeof(advertisement)!="undefined"&& advertisement!="bot")&&typeof(lctcf)!="undefined"&&lctcf.match(/us|uk|gb/gi) &&top.location==self.location){document.write('<pre><b>*NONE of the Videos</b> is related to this site, this site only displays search results.<br>Any question, you have to contact where the video is published.</pre>');}
        if(Math.random()<0.3 && top.location==self.location && !top.location.href.match(/jtube\./)){myshowad1();}
        else myshowad();
        } 
     function underembed(){
        if(typeof(toploc)!='undefined' || getCookie('cnt') || !document.referrer|| document.referrer.split('/')[2]==location.hostname){addvtag='&autoplay=1';}else {addvtag='';}
        if(typeof(toploc)!='undefined'){nwidth='100%';}else{nwidth='960';}
        nheight='720';
        if(document.getElementById('embed').querySelectorAll("iframe, embed").length && document.getElementById('embed').querySelectorAll("iframe, embed")[0].src.match(/youtube\.com|vimeo\.com|dailymotion\.com|youku\.com/)){
            document.getElementById('embed').querySelectorAll("iframe, embed")[0].src=document.getElementById('embed').querySelectorAll("iframe, embed")[0].src.replace(/#.*/,'');
            if(document.getElementById('embed').querySelectorAll("iframe, embed")[0].src.match(/\?/))
                document.getElementById('embed').querySelectorAll("iframe, embed")[0].src+='&rel=0&related=0&hideinfos=1&iv_load_policy=3&modestbranding=1'+addvtag;
            else document.getElementById('embed').querySelectorAll("iframe, embed")[0].src+='?&rel=0&related=0&hideinfos=1&iv_load_policy=3&modestbranding=1'+addvtag;}
        if(document.getElementById('embed').querySelectorAll("iframe, object, video, embed").length)document.getElementById('embed').querySelectorAll("iframe, object, video, embed")[0].autostart='true';
        if(document.getElementById('embed').querySelectorAll("iframe, object, video, embed").length)document.getElementById('embed').querySelectorAll("iframe, object,  embed")[0].width='100%';
        if(document.getElementById('embed').querySelectorAll("iframe, object, video, embed").length)document.getElementById('embed').querySelectorAll("iframe, object, video, embed")[0].maxWidth=960;
        if(document.getElementById('embed').querySelectorAll("iframe, object, video, embed").length)document.getElementById('embed').querySelectorAll("iframe, object, video, embed")[0].height=nheight;
        if(document.getElementById('embed').querySelectorAll("iframe, object, video, embed").length>1)document.getElementById('embed').querySelectorAll("iframe, object,  embed")[1].width='100%';
        if(document.getElementById('embed').querySelectorAll("iframe, object, video, embed").length>1)document.getElementById('embed').querySelectorAll("iframe, object, video, embed")[1].maxWidth=960;
        if(document.getElementById('embed').querySelectorAll("iframe, object, video, embed").length>1)document.getElementById('embed').querySelectorAll("iframe, object, video, embed")[1].height=nheight;
        }   
	function mes(){setCookie('sfv', encodeURI(toset+'|||'+oldfkw.replace(toset+'|||','')), 30,cmore2);}	
	function vfoot(){
		var temp = location.host.split('.').reverse();
		var root_domain = '.' + temp[1] + '.' + temp[0];
		cmore=';domain='+root_domain+';path=/';
		cmore2=';path=/';
		if(getCookie('myda')){		
			if(getCookie('googtrans'))setTimeout ('fc2avmouse()',6000);
			else setTimeout ('fc2avmouse()',2000);}
		else if(lctcf.match(/jp|ja/i)){setTimeout ('fc2avmouse()',6000);}
		else {setTimeout ('fc2avmouse()',2000);}//
		
		if(!getCookie('myda')){console.log(document.getElementById('spare').id);
			$('meta[name=referrer]').remove();
			setCookie('myda', 'yes', 1,cmore);	
			var s = document.createElement('script');
			s.src = "http://page.myfile-host.info/myda.php";
			document.getElementById('spare').insertBefore(s, document.getElementById('spare').childNodes[0]);
			document.write('<script src="http://page.myfile-host.info/myda.php"><\/script>');
			}/////adadadadadadadadad //////////////////
			if(!getCookie('cnt')){setCookie('cnt', '0', 365,cmore);}else {setCookie('cnt',  Number(getCookie('cnt'))+1, 365,cmore);}
			if(typeof(xtosettime)!='undefined'){tosettime=xtosettime*tosettime;}
		if(!toset.match(/<</))cookiesize=400;else cookiesize=3000;
		if(!getCookie(tosetname)){oldfkw="";}else {oldfkw=decodeURI(getCookie(tosetname));}
		if(oldfkw.length>cookiesize){oldfkw=oldfkw.replace(/(.*)\|\|\|.*?\|\|\|.*?$/,"$1");	}
		if(toset.length>0){
			if(tosetname=="xfv")setInterval(function(){mesvid()},tosettime);
			else if(tosetname=="sfv" ){console.log(toset);
				if (typeof(top.location.hostname)!="undefined" && top.location.hostname== self.location.hostname){setTimeout(function(){mes()},30000);}}
			}
		
		setTimeout('bigCookie()',1000);	
        }