huggingtube / upload.html
vericudebuget's picture
Upload 11 files
4c11f5a verified
raw
history blame
2.65 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Upload Video - HuggingTube</title>
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Montserrat&display=swap" rel="stylesheet">
<style>
:root {
--bg-primary: #0a0f18;
--bg-secondary: #141e2f;
--text-primary: #ffffff;
--text-secondary: #adbac7;
--accent: #2188ff;
--border: #1c2739;
--error: #ff4444;
--success: #00c851;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html, body {
height: 100%;
}
body {
font-family: 'Montserrat', sans-serif;
background-color: var(--bg-primary);
color: var(--text-primary);
line-height: 1.6;
}
header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0.5rem 1rem;
background-color: var(--bg-secondary);
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 1000;
}
.logo {
color: var(--text-primary);
font-size: 1.2rem;
font-weight: bold;
display: flex;
align-items: center;
}
.logo i {
color: var(--accent);
margin-right: 0.5rem;
}
main {
height: 100%;
padding-top: 60px; /* Adjust this value based on your header height */
}
.upload-iframe {
width: 100%;
height: 100%;
position: fixed;
border: none;
}
</style>
</head>
<body>
<div> <iframe src="https://vericudebuget-server-data.hf.space" class="upload-iframe" width="100%" height="100%"></iframe></div>
<header>
<div class="logo" onclick="window.location.href='index.html'">
<i class="fab fa-youtube"></i>
<a href="index.html" style="color: white; text-decoration: none; ::after { text-decoration: underline; }">HuggingTube</a>
</div>
<div style="position: absolute; right: 20px; top: 10px;">
<a href="rules.html" target="_blank" style="color: white; text-decoration: none;">Rules</a>
</div>
</header>
<script>
document.querySelector('iframe').addEventListener('load', event => {
event.target.contentWindow.history.pushState(null, '', '/');
event.target.contentWindow.addEventListener('popstate', event => {
event.target.history.pushState(null, '', '/');
});
});
</script>
<main>
</main>
</body>
</html>