File size: 8,412 Bytes
e0351da 251b8bc | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 | <!DOCTYPE html>
<html style="background:#000000;">
<head>
<meta name="googlebot" content="noindex, nofollow">
<meta name="referrer" content="no-referrer">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<title>02827</title>
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
<script src="https://stream.congan.net/jwplayer.js" type="text/javascript"></script>
<script type="text/javascript">jwplayer.key = "ITWMv7t88JGzI0xPwW8I0+LveiXX9SWbfdmt0ArUSyc=";</script>
<style type="text/css">
#box,.loader{position: fixed !important}.loader,.loader::after,.loader::before{box-sizing: border-box;box-sizing: border-box}
#box{top: 0 !important;left: 0 !important;width: 100% !important;height: 100% !important;z-index: 9999 !important;display: none}
.jw-flag-small-player .jw-nextup-container,.jw-flag-small-player .jw-nextup-container .jw-nextup,.jw-icon-cc,.jw-icon.jw-icon-inline.jw-button-color.jw-reset.jw-icon-pip,.jw-icon.jw-icon-inline.jw-button-color.jw-reset.jw-icon-rewind,.jw-icon.jw-icon-inline.jw-button-color.jw-reset.jw-icon-rewind.jw-icon-next,.jw-rightclick{display: none !important}.jw-toggle.jw-off{color: #d8d8d8}.jw-controlbar.jw-background-color.jw-reset{background: linear-gradient(180deg,transparent,rgba(0, 0, 0, 0.25) 30%,rgba(0, 0, 0, 0.4) 70%,rgba(0, 0, 0, 0.5))}.jw-icon.jw-icon-rewind.jw-button-color.jw-reset{visibility: hidden}.jw-logo.jw-logo-top-right.jw-reset{width: 100px !important;height: 24px !important;top: -15px !important;right: -15px !important}.loader{width: 57px;height: 57px;border: 4px solid #FFF;border-bottom-color: transparent;border-radius: 50%;display: inline-block;box-sizing: border-box;animation: rotation 1s linear infinite;animation: 1s linear infinite rotation;top: calc(50% - 28px) !important;left: calc(50% - 28px) !important;z-index: 99999 !important}@keyframes rotation{0%{transform: rotate(0deg)}100%{transform: rotate(360deg)}}
</style>
</head>
<body>
<div class="loader"></div ><div id="box"></div>
<script type="text/javascript">
function Storage(){
var storage ={
type: "localStorage",
setItem: function setItem(key, value){
if (!window.localStorage || !window.sessionStorage){
throw new Error("really old browser");
}
try{
window[storage.type].setItem(key, value);
} catch (err){
if(storage.type == 'sessionStorage') throw err;
try{
storage.type = "sessionStorage";
sessionStorage.setItem(key, value);
} catch (sessErr){
throw sessErr;
}
}
},
getItem: function getItem(key){
return window[storage.type].getItem(key);
}
};
return storage;
}
var datalocal = Storage();
window.$$countVast = 3;
var jwplayer_mute = datalocal.getItem('jwplayer.mute')=='true'||datalocal.getItem('jwplayer.mute')==undefined
window.$$ops ={
sources: [{"message":"OK","title":"02827","label":"Auto","type":"hls","file":"https://stream.congan.net/tiktoktest.m3u8"}],
width: "100%",
controls: true,
autostart: false,
mute: jwplayer_mute,// true,
volume: datalocal.getItem('jwplayer.volume')?datalocal.getItem('jwplayer.volume')-0:100,
allowfullscreen: true,
stretching: "uniform",
primary: "html5",
preload: "auto",
aspectratio: "16:9",
base: "."
}
window.$$playingAds = false
!(function(){
var c = datalocal.getItem("_l1"), d = !1, e = new Date().getTime()
if(c){
c = c.split('~')
var c0 = c[0]
d = c[1] < window.$$countVast
c = c[0] + '~' + (d?c[1] - 0 + 1:c[1])
if(c0-0>=e-86400*1000)
datalocal.setItem("_l1",c)
else c = null;
}
if(!c){
c = e + "~1"
d = !0
datalocal.setItem("_l1",c)
}
d && (window.$$ops["advertising"]={
"client": "vast",
})
})();
document.addEventListener("DOMContentLoaded", function(){
var box = jwplayer("box");
box.setup(window.$$ops);
box.on('ready',function(){
var playBox = document.querySelector('#box');
playBox.style.display = 'block';
var loadSpinner = document.querySelector('.loader');
loadSpinner.style.display = 'none';
box.addButton(
'<svg xmlns="http://www.w3.org/2000/svg" class="jw-svg-icon jw-svg-icon-rewind2" viewBox="0 0 240 240" focusable="false"><path d="m 25.993957,57.778 v 125.3 c 0.03604,2.63589 2.164107,4.76396 4.8,4.8 h 62.7 v -19.3 h -48.2 v -96.4 H 160.99396 v 19.3 c 0,5.3 3.6,7.2 8,4.3 l 41.8,-27.9 c 2.93574,-1.480087 4.13843,-5.04363 2.7,-8 -0.57502,-1.174985 -1.52502,-2.124979 -2.7,-2.7 l -41.8,-27.9 c -4.4,-2.9 -8,-1 -8,4.3 v 19.3 H 30.893957 c -2.689569,0.03972 -4.860275,2.210431 -4.9,4.9 z m 163.422413,73.04577 c -3.72072,-6.30626 -10.38421,-10.29683 -17.7,-10.6 -7.31579,0.30317 -13.97928,4.29374 -17.7,10.6 -8.60009,14.23525 -8.60009,32.06475 0,46.3 3.72072,6.30626 10.38421,10.29683 17.7,10.6 7.31579,-0.30317 13.97928,-4.29374 17.7,-10.6 8.60009,-14.23525 8.60009,-32.06475 0,-46.3 z m -17.7,47.2 c -7.8,0 -14.4,-11 -14.4,-24.1 0,-13.1 6.6,-24.1 14.4,-24.1 7.8,0 14.4,11 14.4,24.1 0,13.1 -6.5,24.1 -14.4,24.1 z m -47.77056,9.72863 v -51 l -4.8,4.8 -6.8,-6.8 13,-12.99999 c 3.02543,-3.03598 8.21053,-0.88605 8.2,3.4 v 62.69999 z" stroke="white" fill="white"></path></svg>',
"Forward 10 Seconds",
function(){
box.seek(box.getPosition() + 10);
},
"Forward 10 Seconds"
);
box.addButton(
'<svg xmlns="http://www.w3.org/2000/svg" class="jw-svg-icon jw-svg-icon-rewind" viewBox="0 0 240 240" focusable="false"><path d="M113.2,131.078a21.589,21.589,0,0,0-17.7-10.6,21.589,21.589,0,0,0-17.7,10.6,44.769,44.769,0,0,0,0,46.3,21.589,21.589,0,0,0,17.7,10.6,21.589,21.589,0,0,0,17.7-10.6,44.769,44.769,0,0,0,0-46.3Zm-17.7,47.2c-7.8,0-14.4-11-14.4-24.1s6.6-24.1,14.4-24.1,14.4,11,14.4,24.1S103.4,178.278,95.5,178.278Zm-43.4,9.7v-51l-4.8,4.8-6.8-6.8,13-13a4.8,4.8,0,0,1,8.2,3.4v62.7l-9.6-.1Zm162-130.2v125.3a4.867,4.867,0,0,1-4.8,4.8H146.6v-19.3h48.2v-96.4H79.1v19.3c0,5.3-3.6,7.2-8,4.3l-41.8-27.9a6.013,6.013,0,0,1-2.7-8,5.887,5.887,0,0,1,2.7-2.7l41.8-27.9c4.4-2.9,8-1,8,4.3v19.3H209.2A4.974,4.974,0,0,1,214.1,57.778Z" stroke="white" fill="white"></path></svg>',
"Rewind 10 Seconds",
function(){
box.seek(box.getPosition() - 10);
},
"Rewind 10 Seconds"
);
})
box.on('error',function(e){
console.log(e)
//document.body.innerHTML = e.toString()
})
/*
box.on('mute',function(e){
datalocal.setItem('mute' , e.mute ? '1':'0')
})
box.on('volume',function(e){
datalocal.setItem('volume', e.volume)
})
if(datalocal.getItem('mute')=='1'||datalocal.getItem('mute')==undefined) box.setMute(true)
else box.setMute(false)
if(datalocal.getItem('volume')) box.setVolume(datalocal.getItem('volume')-0)*/
box.on('mute',function(e){
if(jwplayer_mute && !window.$$playingAds){
//if(!e.mute) jwplayer_mute = false
jwplayer_mute = e.mute
}
})
box.on('adSkipped',function(e){
window.$$playingAds = false
jwplayer_mute && box.setMute(true)
})
box.on('adPlay',function(e){
window.$$playingAds = true
jwplayer_mute && box.setMute(false)
})
box.on('adComplete',function(e){
window.$$playingAds = false
jwplayer_mute && box.setMute(true)
})
box.on('adError',function(e){
window.$$playingAds = false
jwplayer_mute && box.setMute(true)
})
box.on('adClick', function(event){ //alert('x')
setTimeout(() =>{
box.pauseAd(false)
//jwplayer().skipAd()
console.log(1)
}, 1000);
setTimeout(() =>{
//box.pauseAd(false)
jwplayer().skipAd()
console.log(2)
}, 2000);
setTimeout(() =>{
//box.pauseAd(false)
jwplayer().skipAd()
console.log(3)
}, 3000);
setTimeout(() =>{
//box.pauseAd(false)
jwplayer().skipAd()
console.log(4)
}, 4000);
//box.play();
setTimeout(() =>{
//box.pauseAd(false)
jwplayer().skipAd()
console.log(5)
}, 5000);
setTimeout(() =>{
//box.pauseAd(false)
jwplayer().skipAd()
console.log(6)
}, 6000);
});
});
</script>
</body>
</html> |