spmoisa548 commited on
Commit
e0351da
·
verified ·
1 Parent(s): 251b8bc

Rename index.html to tiktoktest.html

Browse files
Files changed (1) hide show
  1. index.html → tiktoktest.html +199 -222
index.html → tiktoktest.html RENAMED
@@ -1,223 +1,200 @@
1
-
2
-
3
- <!DOCTYPE html>
4
- <html style="background:#000000;">
5
- <head>
6
- <meta name="googlebot" content="noindex, nofollow">
7
- <meta name="referrer" content="no-referrer">
8
- <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
9
- <title>02827</title>
10
- <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
11
- <script src="https://play.stream4.me/jwplayer/jwplayer.js" type="text/javascript"></script>
12
- <script type="text/javascript">jwplayer.key = "ITWMv7t88JGzI0xPwW8I0+LveiXX9SWbfdmt0ArUSyc=";</script>
13
- <style type="text/css">
14
- #box,.loader{position: fixed !important}.loader,.loader::after,.loader::before{box-sizing: border-box;box-sizing: border-box}
15
- #box{top: 0 !important;left: 0 !important;width: 100% !important;height: 100% !important;z-index: 9999 !important;display: none}
16
- .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)}}
17
- </style>
18
- </head>
19
- <body>
20
- <div class="loader"></div ><div id="box"></div>
21
- <script type="text/javascript">
22
- function Storage(){
23
- var storage ={
24
- type: "localStorage",
25
- setItem: function setItem(key, value){
26
- if (!window.localStorage || !window.sessionStorage){
27
- throw new Error("really old browser");
28
- }
29
- try{
30
- window[storage.type].setItem(key, value);
31
- } catch (err){
32
- if(storage.type == 'sessionStorage') throw err;
33
- try{
34
- storage.type = "sessionStorage";
35
- sessionStorage.setItem(key, value);
36
- } catch (sessErr){
37
- throw sessErr;
38
- }
39
- }
40
- },
41
- getItem: function getItem(key){
42
- return window[storage.type].getItem(key);
43
- }
44
- };
45
- return storage;
46
- }
47
-
48
- var datalocal = Storage();
49
-
50
- window.$$countVast = 3;
51
- window.$$schedule = [
52
- {
53
- "tag": "https://cdn.adxcontent.com/vlxx/xibet.xml",
54
- "offset": 3,
55
- "skipoffset": 5
56
- },
57
- {
58
- "tag": "https://cdn.adxcontent.com/vlxx/lu88.xml",
59
- "offset": 3,
60
- "skipoffset": 5
61
- }
62
- ];
63
- var jwplayer_mute = datalocal.getItem('jwplayer.mute')=='true'||datalocal.getItem('jwplayer.mute')==undefined
64
- window.$$ops ={
65
- sources: [{"message":"OK","title":"02827","label":"Auto","type":"hls","file":"https://stream.congan.net/tiktoktest.m3u8"}],
66
- width: "100%",
67
- controls: true,
68
- autostart: false,
69
- mute: jwplayer_mute,// true,
70
- volume: datalocal.getItem('jwplayer.volume')?datalocal.getItem('jwplayer.volume')-0:100,
71
- allowfullscreen: true,
72
- stretching: "uniform",
73
- primary: "html5",
74
- preload: "auto",
75
- aspectratio: "16:9",
76
- base: "."
77
- }
78
- window.$$playingAds = false
79
- !(function(){
80
- var c = datalocal.getItem("_l1"), d = !1, e = new Date().getTime()
81
- if(c){
82
- c = c.split('~')
83
- var c0 = c[0]
84
- d = c[1] < window.$$countVast
85
- c = c[0] + '~' + (d?c[1] - 0 + 1:c[1])
86
- if(c0-0>=e-86400*1000)
87
- datalocal.setItem("_l1",c)
88
- else c = null;
89
- }
90
-
91
- if(!c){
92
- c = e + "~1"
93
- d = !0
94
- datalocal.setItem("_l1",c)
95
- }
96
- d && (window.$$ops["advertising"]={
97
- "client": "vast",
98
- })
99
- })();
100
-
101
- document.addEventListener("DOMContentLoaded", function(){
102
-
103
- var box = jwplayer("box");
104
-
105
- box.setup(window.$$ops);
106
- box.on('ready',function(){
107
- var playBox = document.querySelector('#box');
108
- playBox.style.display = 'block';
109
-
110
- var loadSpinner = document.querySelector('.loader');
111
- loadSpinner.style.display = 'none';
112
-
113
- box.addButton(
114
- '<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>',
115
- "Forward 10 Seconds",
116
- function(){
117
- box.seek(box.getPosition() + 10);
118
- },
119
- "Forward 10 Seconds"
120
- );
121
- box.addButton(
122
- '<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>',
123
- "Rewind 10 Seconds",
124
- function(){
125
- box.seek(box.getPosition() - 10);
126
- },
127
- "Rewind 10 Seconds"
128
- );
129
-
130
- })
131
- box.on('error',function(e){
132
- console.log(e)
133
- //document.body.innerHTML = e.toString()
134
- })
135
- /*
136
- box.on('mute',function(e){
137
- datalocal.setItem('mute' , e.mute ? '1':'0')
138
- })
139
- box.on('volume',function(e){
140
- datalocal.setItem('volume', e.volume)
141
- })
142
-
143
- if(datalocal.getItem('mute')=='1'||datalocal.getItem('mute')==undefined) box.setMute(true)
144
- else box.setMute(false)
145
-
146
- if(datalocal.getItem('volume')) box.setVolume(datalocal.getItem('volume')-0)*/
147
-
148
- box.on('mute',function(e){
149
- if(jwplayer_mute && !window.$$playingAds){
150
- //if(!e.mute) jwplayer_mute = false
151
- jwplayer_mute = e.mute
152
- }
153
- })
154
-
155
- box.on('adSkipped',function(e){
156
- window.$$playingAds = false
157
- jwplayer_mute && box.setMute(true)
158
- })
159
- box.on('adPlay',function(e){
160
- window.$$playingAds = true
161
- jwplayer_mute && box.setMute(false)
162
- })
163
-
164
- box.on('adComplete',function(e){
165
- window.$$playingAds = false
166
- jwplayer_mute && box.setMute(true)
167
- })
168
-
169
- box.on('adError',function(e){
170
- window.$$playingAds = false
171
- jwplayer_mute && box.setMute(true)
172
- })
173
-
174
- box.on('adClick', function(event){ //alert('x')
175
-
176
- setTimeout(() =>{
177
- box.pauseAd(false)
178
- //jwplayer().skipAd()
179
- console.log(1)
180
- }, 1000);
181
-
182
- setTimeout(() =>{
183
- //box.pauseAd(false)
184
- jwplayer().skipAd()
185
- console.log(2)
186
- }, 2000);
187
- setTimeout(() =>{
188
- //box.pauseAd(false)
189
- jwplayer().skipAd()
190
- console.log(3)
191
- }, 3000);
192
- setTimeout(() =>{
193
- //box.pauseAd(false)
194
- jwplayer().skipAd()
195
- console.log(4)
196
- }, 4000);
197
- //box.play();
198
- setTimeout(() =>{
199
- //box.pauseAd(false)
200
- jwplayer().skipAd()
201
- console.log(5)
202
- }, 5000);
203
- setTimeout(() =>{
204
- //box.pauseAd(false)
205
- jwplayer().skipAd()
206
- console.log(6)
207
- }, 6000);
208
- });
209
-
210
- });
211
-
212
- </script>
213
- </body>
214
- <!-- Google tag(gtag.js) -->
215
- <script async src="https://www.googletagmanager.com/gtag/js?id=G-Y135JBN9QP"></script>
216
- <script>
217
- window.dataLayer = window.dataLayer || [];
218
- function gtag(){dataLayer.push(arguments);}
219
- gtag('js', new Date());
220
-
221
- gtag('config', 'G-Y135JBN9QP');
222
- </script>
223
  </html>
 
1
+ <!DOCTYPE html>
2
+ <html style="background:#000000;">
3
+ <head>
4
+ <meta name="googlebot" content="noindex, nofollow">
5
+ <meta name="referrer" content="no-referrer">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
7
+ <title>02827</title>
8
+ <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
9
+ <script src="https://stream.congan.net/jwplayer.js" type="text/javascript"></script>
10
+ <script type="text/javascript">jwplayer.key = "ITWMv7t88JGzI0xPwW8I0+LveiXX9SWbfdmt0ArUSyc=";</script>
11
+ <style type="text/css">
12
+ #box,.loader{position: fixed !important}.loader,.loader::after,.loader::before{box-sizing: border-box;box-sizing: border-box}
13
+ #box{top: 0 !important;left: 0 !important;width: 100% !important;height: 100% !important;z-index: 9999 !important;display: none}
14
+ .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)}}
15
+ </style>
16
+ </head>
17
+ <body>
18
+ <div class="loader"></div ><div id="box"></div>
19
+ <script type="text/javascript">
20
+ function Storage(){
21
+ var storage ={
22
+ type: "localStorage",
23
+ setItem: function setItem(key, value){
24
+ if (!window.localStorage || !window.sessionStorage){
25
+ throw new Error("really old browser");
26
+ }
27
+ try{
28
+ window[storage.type].setItem(key, value);
29
+ } catch (err){
30
+ if(storage.type == 'sessionStorage') throw err;
31
+ try{
32
+ storage.type = "sessionStorage";
33
+ sessionStorage.setItem(key, value);
34
+ } catch (sessErr){
35
+ throw sessErr;
36
+ }
37
+ }
38
+ },
39
+ getItem: function getItem(key){
40
+ return window[storage.type].getItem(key);
41
+ }
42
+ };
43
+ return storage;
44
+ }
45
+
46
+ var datalocal = Storage();
47
+
48
+ window.$$countVast = 3;
49
+ var jwplayer_mute = datalocal.getItem('jwplayer.mute')=='true'||datalocal.getItem('jwplayer.mute')==undefined
50
+ window.$$ops ={
51
+ sources: [{"message":"OK","title":"02827","label":"Auto","type":"hls","file":"https://stream.congan.net/tiktoktest.m3u8"}],
52
+ width: "100%",
53
+ controls: true,
54
+ autostart: false,
55
+ mute: jwplayer_mute,// true,
56
+ volume: datalocal.getItem('jwplayer.volume')?datalocal.getItem('jwplayer.volume')-0:100,
57
+ allowfullscreen: true,
58
+ stretching: "uniform",
59
+ primary: "html5",
60
+ preload: "auto",
61
+ aspectratio: "16:9",
62
+ base: "."
63
+ }
64
+ window.$$playingAds = false
65
+ !(function(){
66
+ var c = datalocal.getItem("_l1"), d = !1, e = new Date().getTime()
67
+ if(c){
68
+ c = c.split('~')
69
+ var c0 = c[0]
70
+ d = c[1] < window.$$countVast
71
+ c = c[0] + '~' + (d?c[1] - 0 + 1:c[1])
72
+ if(c0-0>=e-86400*1000)
73
+ datalocal.setItem("_l1",c)
74
+ else c = null;
75
+ }
76
+
77
+ if(!c){
78
+ c = e + "~1"
79
+ d = !0
80
+ datalocal.setItem("_l1",c)
81
+ }
82
+ d && (window.$$ops["advertising"]={
83
+ "client": "vast",
84
+ })
85
+ })();
86
+
87
+ document.addEventListener("DOMContentLoaded", function(){
88
+
89
+ var box = jwplayer("box");
90
+
91
+ box.setup(window.$$ops);
92
+ box.on('ready',function(){
93
+ var playBox = document.querySelector('#box');
94
+ playBox.style.display = 'block';
95
+
96
+ var loadSpinner = document.querySelector('.loader');
97
+ loadSpinner.style.display = 'none';
98
+
99
+ box.addButton(
100
+ '<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>',
101
+ "Forward 10 Seconds",
102
+ function(){
103
+ box.seek(box.getPosition() + 10);
104
+ },
105
+ "Forward 10 Seconds"
106
+ );
107
+ box.addButton(
108
+ '<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>',
109
+ "Rewind 10 Seconds",
110
+ function(){
111
+ box.seek(box.getPosition() - 10);
112
+ },
113
+ "Rewind 10 Seconds"
114
+ );
115
+
116
+ })
117
+ box.on('error',function(e){
118
+ console.log(e)
119
+ //document.body.innerHTML = e.toString()
120
+ })
121
+ /*
122
+ box.on('mute',function(e){
123
+ datalocal.setItem('mute' , e.mute ? '1':'0')
124
+ })
125
+ box.on('volume',function(e){
126
+ datalocal.setItem('volume', e.volume)
127
+ })
128
+
129
+ if(datalocal.getItem('mute')=='1'||datalocal.getItem('mute')==undefined) box.setMute(true)
130
+ else box.setMute(false)
131
+
132
+ if(datalocal.getItem('volume')) box.setVolume(datalocal.getItem('volume')-0)*/
133
+
134
+ box.on('mute',function(e){
135
+ if(jwplayer_mute && !window.$$playingAds){
136
+ //if(!e.mute) jwplayer_mute = false
137
+ jwplayer_mute = e.mute
138
+ }
139
+ })
140
+
141
+ box.on('adSkipped',function(e){
142
+ window.$$playingAds = false
143
+ jwplayer_mute && box.setMute(true)
144
+ })
145
+ box.on('adPlay',function(e){
146
+ window.$$playingAds = true
147
+ jwplayer_mute && box.setMute(false)
148
+ })
149
+
150
+ box.on('adComplete',function(e){
151
+ window.$$playingAds = false
152
+ jwplayer_mute && box.setMute(true)
153
+ })
154
+
155
+ box.on('adError',function(e){
156
+ window.$$playingAds = false
157
+ jwplayer_mute && box.setMute(true)
158
+ })
159
+
160
+ box.on('adClick', function(event){ //alert('x')
161
+
162
+ setTimeout(() =>{
163
+ box.pauseAd(false)
164
+ //jwplayer().skipAd()
165
+ console.log(1)
166
+ }, 1000);
167
+
168
+ setTimeout(() =>{
169
+ //box.pauseAd(false)
170
+ jwplayer().skipAd()
171
+ console.log(2)
172
+ }, 2000);
173
+ setTimeout(() =>{
174
+ //box.pauseAd(false)
175
+ jwplayer().skipAd()
176
+ console.log(3)
177
+ }, 3000);
178
+ setTimeout(() =>{
179
+ //box.pauseAd(false)
180
+ jwplayer().skipAd()
181
+ console.log(4)
182
+ }, 4000);
183
+ //box.play();
184
+ setTimeout(() =>{
185
+ //box.pauseAd(false)
186
+ jwplayer().skipAd()
187
+ console.log(5)
188
+ }, 5000);
189
+ setTimeout(() =>{
190
+ //box.pauseAd(false)
191
+ jwplayer().skipAd()
192
+ console.log(6)
193
+ }, 6000);
194
+ });
195
+
196
+ });
197
+
198
+ </script>
199
+ </body>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
200
  </html>