youtube-auto-bot / dashboard /tutorial.html
Nathan
Fix: Switched to Video.js for better 500MB video streaming and added direct fallback link
4a10c8f
Raw History Blame Contribute Delete
7.76 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ViralFlow — Help & Setup Guide</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Outfit:wght@400;800;900&family=Plus+Jakarta+Sans:wght@300;600;800&display=swap" rel="stylesheet">
<script src="https://unpkg.com/lucide@latest"></script>
<link href="https://vjs.zencdn.net/8.10.0/video-js.css" rel="stylesheet" />
<script src="https://vjs.zencdn.net/8.10.0/video.min.js"></script>
<style>
:root {
--bg: #030712;
--accent: #8b5cf6;
--surface: rgba(15, 23, 42, 0.6);
--glass-border: rgba(255, 255, 255, 0.08);
--text-dim: #94a3b8;
}
body {
background: radial-gradient(circle at top right, #1e1b4b, #030712);
color: #fff;
font-family: 'Plus Jakarta Sans', sans-serif;
margin: 0;
display: flex;
flex-direction: column;
align-items: center;
min-height: 100vh;
padding: 20px;
}
.container { width: 100%; max-width: 1000px; }
.header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px 0;
margin-bottom: 40px;
}
.back-btn {
background: rgba(255,255,255,0.05);
border: 1px solid var(--glass-border);
color: #fff;
padding: 12px 24px;
border-radius: 18px;
text-decoration: none;
font-weight: 800;
display: flex;
align-items: center;
gap: 10px;
transition: 0.3s;
font-size: 0.9rem;
}
.back-btn:hover { background: rgba(255,255,255,0.1); }
.video-container {
width: 100%;
background: #000;
border: 1px solid var(--glass-border);
border-radius: 40px;
overflow: hidden;
box-shadow: 0 40px 100px rgba(0,0,0,0.8);
aspect-ratio: 16/9;
margin-bottom: 50px;
cursor: pointer;
transition: 0.3s;
}
.video-container:hover { border-color: var(--accent); transform: scale(1.01); }
video { width: 100%; height: 100%; object-fit: contain; }
.guide-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
margin-top: 40px;
margin-bottom: 100px;
}
.guide-card {
background: var(--surface);
backdrop-filter: blur(20px);
border: 1px solid var(--glass-border);
padding: 30px;
border-radius: 32px;
}
.step-num {
background: var(--accent);
width: 32px; height: 32px;
border-radius: 10px;
display: flex; align-items: center; justify-content: center;
font-weight: 900; font-size: 0.8rem;
margin-bottom: 20px;
}
h1 { font-family: 'Outfit', sans-serif; font-size: 2.5rem; font-weight: 900; margin: 0; }
h3 { font-family: 'Outfit', sans-serif; font-size: 1.2rem; margin-top: 0; }
p { color: var(--text-dim); line-height: 1.6; font-size: 0.95rem; }
.mobile-nav {
position: fixed;
bottom: 25px;
left: 50%;
transform: translateX(-50%);
background: rgba(15, 23, 42, 0.8);
backdrop-filter: blur(20px);
padding: 10px 30px;
border-radius: 30px;
display: flex;
gap: 40px;
border: 1px solid rgba(255, 255, 255, 0.1);
z-index: 1000;
box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.nav-item {
color: var(--text-dim);
text-decoration: none;
display: flex;
flex-direction: column;
align-items: center;
gap: 4px;
font-size: 0.65rem;
font-weight: 700;
transition: 0.3s;
}
.nav-item i { width: 20px; height: 20px; }
.nav-item.active { color: var(--accent); }
@media (min-width: 768px) { .mobile-nav { display: none; } }
</style>
</head>
<body>
<div class="container">
<header class="header">
<a href="/" class="back-btn"><i data-lucide="arrow-left"></i> Dashboard</a>
<div style="font-family:'Outfit'; font-weight:900; font-size:1.8rem; letter-spacing: -1px;">Setup Portal</div>
</header>
<div style="margin-bottom: 30px;">
<h1>Getting Started</h1>
<p>Watch the masterclass below to unlock the full potential of ViralFlow AI.</p>
</div>
<div class="video-container">
<video
id="tutorial-video"
class="video-js vjs-big-play-centered vjs-theme-city"
controls
preload="auto"
width="1000"
height="562"
data-setup='{}'
style="width: 100%; height: 100%;"
>
<source src="https://huggingface.co/spaces/yogesh7705/youtube-auto-bot/resolve/main/video/tutorial.mp4" type="video/mp4">
<source src="https://yogesh7705-youtube-auto-bot.hf.space/video/tutorial.mp4" type="video/mp4">
<p class="vjs-no-js">
To view this video please enable JavaScript, and consider upgrading to a
web browser that <a href="https://videojs.com/html5-video-support/" target="_blank">supports HTML5 video</a>
</p>
</video>
</div>
<div style="text-align: center; margin-top: -30px; margin-bottom: 50px;">
<a href="https://huggingface.co/spaces/yogesh7705/youtube-auto-bot/resolve/main/video/tutorial.mp4?download=true" target="_blank" class="back-btn" style="display: inline-flex; background: rgba(139, 92, 246, 0.1); border-color: rgba(139, 92, 246, 0.3); color: #a78bfa;">
<i data-lucide="external-link"></i> Still not loading? Open Direct Link
</a>
</div>
<div class="guide-grid">
<div class="guide-card">
<div class="step-num">01</div>
<h3>Generate API Keys</h3>
<p>Go to Google Cloud Console, create a new project, and enable the YouTube Data API v3. Generate an OAuth 2.0 Client ID.</p>
</div>
<div class="guide-card">
<div class="step-num">02</div>
<h3>Update Your Vault</h3>
<p>Paste your Client ID and Secret into the "Vault" section on your Dashboard and click <b>Update Vault Keys</b>.</p>
</div>
<div class="guide-card">
<div class="step-num">03</div>
<h3>Connect YouTube</h3>
<p>Click the <b>Connect Channel</b> button. Log in with your YouTube account and grant the necessary permissions.</p>
</div>
</div>
</div>
<nav class="mobile-nav">
<a href="/" class="nav-item"><i data-lucide="layout-dashboard"></i> Home</a>
<a href="/plans.html" class="nav-item"><i data-lucide="zap"></i> Plans</a>
<a href="/tutorial.html" class="nav-item active"><i data-lucide="help-circle"></i> Help</a>
</nav>
<script>lucide.createIcons();</script>
</body>
</html>