YouTube / index.html
Serg4451D's picture
Update index.html
3feea99 verified
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>YouTube</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html, body {
height: 100%;
width: 100%;
overflow: hidden;
}
.youtube-container {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: none;
}
.youtube-frame {
width: 100%;
height: 100%;
border: none;
}
.loading-message {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-family: Arial, sans-serif;
font-size: 18px;
color: #333;
display: none;
}
.youtube-frame:not(:loaded) + .loading-message {
display: block;
}
</style>
</head>
<body>
<div class="youtube-container">
<iframe
class="youtube-frame"
src="https://blackbox.ai"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen
></iframe>
<div class="loading-message">
Загрузка YouTube...
</div>
</div>
</body>
</html>