-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathtnt1.html
124 lines (111 loc) · 3.56 KB
/
tnt1.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>allinone_reborn</title>
<!-- Include the JW Player library -->
<script src="//content.jwplatform.com/libraries/SAHhwvZq.js"></script>
</head>
<script type='text/javascript' src='//eltontry.com/09/f1/e9/09f1e956c711aea6a898d5abbb78d092.js'></script>
<body>
<div id="player"></div>
<script>
// The provided URL with the DRM parameters
var input_url = "https://abfdm2saaaaaaaamljqrv7ybrrx7h.47348d5020154bfaac6dd4418cd23c5d.emt.cf.ww.aiv-cdn.net/pdx-nitro/live/clients/dash/enc/rdznpzcmct/out/v1/355324ed98a94cbebbaff4bad0cd28ce/cenc.mpd|drmScheme=clearkey&drmLicense=ae26845bd33038a9c0774a0981007294:63ac662dde310cfb4cc6f9b43b34196d";
// Extract the base URL and DRM license keys
var parts = input_url.split('|');
var url = parts[0]; // The DASH MPD URL
var query_string = parts[1];
var params = new URLSearchParams(query_string);
var drmScheme = params.get('drmScheme');
var drmLicense = params.get('drmLicense');
var k1, k2;
if (drmScheme === 'clearkey' && drmLicense) {
[k1, k2] = drmLicense.split(':');
}
// Setup JW Player if the URL and keys are present
if (url && k1 && k2) {
jwplayer("player").setup({
playlist: [{
sources: [{
file: url,
drm: {
clearkey: {
keyId: k1,
key: k2
}
}
}]
}],
autostart: true,
width: "100%",
height: "100%",
stretching: "exactfit",
aspectratio: "16:9",
cast: {} // Enabling Chromecast support
});
} else {
console.error("Failed to extract DRM keys or URL from the input.");
}
</script>
<!-- Anti-Adblock Popup -->
<div class="adb" id="adb">
<div class="adbs">
<h3>Adblock Detected</h3>
<p>Please disable adblock to proceed to the destination page</p>
</div>
</div>
<style>
.adb {
display: none;
position: fixed;
width: 100%;
height: 100%;
left: 0;
top: 0;
background: rgba(51, 51, 51, 0.9);
z-index: 10000;
text-align: center;
color: #111;
}
.adbs {
margin: 0 auto;
width: auto;
min-width: 400px;
position: fixed;
z-index: 99999;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
padding: 20px 30px 30px;
background: rgba(255, 255, 255, 0.9);
border-radius: 12px;
}
</style>
<script type="text/javascript">
async function detectAdBlock() {
let adBlockEnabled = false;
const googleAdUrl = 'https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js';
try {
await fetch(new Request(googleAdUrl)).catch(_ => adBlockEnabled = true);
} catch (e) {
adBlockEnabled = true;
} finally {
if (adBlockEnabled) document.getElementById("adb").style.display = "block";
}
}
detectAdBlock();
</script>
</body>
<script type="text/javascript">
atOptions = {
'key' : '701fef7de243c4e8e91e6e6b3a2fea1e',
'format' : 'iframe',
'height' : 90,
'width' : 728,
'params' : {}
};
</script>
<script type="text/javascript" src="//eltontry.com/701fef7de243c4e8e91e6e6b3a2fea1e/invoke.js"></script>
</html>