-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathytMultiScreen.html
More file actions
194 lines (172 loc) · 6.83 KB
/
ytMultiScreen.html
File metadata and controls
194 lines (172 loc) · 6.83 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>YouTube Multi-Screen Viewer</title>
<link rel="icon" type="image/x-icon" href="https://www.freeiconspng.com/uploads/television-png-tv-27.png">
<style>
/* Hacker Theme Styles */
body {
font-family: 'Courier New', monospace;
background-color: #000;
color: #0f0;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
flex-direction: column;
overflow: hidden;
cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%2300ff00" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M5 4 L19 4 L19 20 L5 20 Z"></path><path d="M8 10 L12 14 L8 18"></path></svg>'), auto;
}
.container {
text-align: center;
background-color: #111;
padding: 20px;
border-radius: 8px;
box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
border: 1px solid #0f0;
max-width: 90%;
width: 100%;
}
h1 {
font-size: 2.5rem;
text-shadow: 0 0 10px #0f0;
animation: glitch 1s infinite;
}
input[type="text"] {
width: 300px;
padding: 10px;
margin-top: 10px;
border: 1px solid #0f0;
border-radius: 4px;
background-color: #000;
color: #0f0;
font-family: 'Courier New', monospace;
outline: none;
cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 24 24" fill="none" stroke="%2300ff00" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><circle cx="10" cy="10" r="6"></circle><line x1="15" y1="15" x2="22" y2="22"></line></svg>'), auto;
}
input[type="text"]::placeholder {
color: #0f0;
opacity: 0.7;
}
button {
padding: 10px 20px;
margin-top: 10px;
border: 1px solid #0f0;
background-color: #000;
color: #0f0;
border-radius: 4px;
cursor: pointer;
font-family: 'Courier New', monospace;
font-weight: bold;
transition: background-color 0.3s, color 0.3s;
cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%2300ff00" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="2" y="4" width="20" height="16" rx="2"></rect><path d="M7 8 L11 12 L7 16"></path><line x1="13" y1="16" x2="17" y2="16"></line></svg>'), auto;
}
button:hover {
background-color: #0f0;
color: #000;
box-shadow: 0 0 10px #0f0;
}
.grid-container {
display: grid;
grid-template-columns: repeat(5, 1fr);
gap: 10px;
margin-top: 20px;
max-height: 400px; /* Adjust height as needed */
overflow-y: auto; /* Add vertical scrollbar */
padding: 10px;
border: 1px solid #0f0;
border-radius: 4px;
}
iframe {
width: 100%;
height: 150px;
border: 1px solid #0f0;
border-radius: 4px;
background-color: #000;
}
/* Footer Styles */
.footer {
margin-top: 20px;
text-align: center;
font-size: 0.9rem;
color: #0f0;
}
.developer-text {
margin: 0;
}
.github-link {
color: #0f0;
text-decoration: none;
text-shadow: 0 0 5px #0f0;
transition: color 0.3s;
cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%2300ff00" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="7" r="4"></circle><path d="M4 21 V19 C4 16 8 14 12 14 C16 14 20 16 20 19 V21"></path></svg>'), auto;
}
.github-link:hover {
color: #00ff00;
text-shadow: 0 0 10px #0f0;
}
/* Glitch Animation */
@keyframes glitch {
0% {
transform: translate(0);
}
20% {
transform: translate(-2px, 2px);
}
40% {
transform: translate(2px, -2px);
}
60% {
transform: translate(-2px, 2px);
}
80% {
transform: translate(2px, -2px);
}
100% {
transform: translate(0);
}
}
</style>
</head>
<body>
<div class="container">
<h1>YouTube Multi-Screen Viewer</h1>
<input type="text" id="videoLink" placeholder="Enter YouTube Video Link">
<button onclick="loadVideo()">Load Video</button>
<div class="grid-container" id="videoGrid"></div>
</div>
<!-- Footer -->
<footer class="footer">
<p class="developer-text">Developed by <a href="https://github.com/ExploitInject" class="github-link"
target="_blank">ExploitInject</a></p>
</footer>
<script>
function loadVideo() {
const videoLink = document.getElementById('videoLink').value;
const videoId = extractVideoId(videoLink);
const videoGrid = document.getElementById('videoGrid');
if (!videoId) {
alert('Please enter a valid YouTube video link.');
return;
}
videoGrid.innerHTML = ''; // Clear previous videos
for (let i = 0; i < 50; i++) {
const iframe = document.createElement('iframe');
iframe.src = `https://www.youtube.com/embed/${videoId}`;
iframe.allow = "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture";
iframe.allowFullscreen = true;
videoGrid.appendChild(iframe);
}
}
function extractVideoId(url) {
const regExp = /^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|&v=)([^#&?]*).*/;
const match = url.match(regExp);
return (match && match[2].length === 11) ? match[2] : null;
}
</script>
</body>
</html>