revivetube/site_storage/watch_wii_template.html
TheErrorExe 3bb0e695a8 -
2025-02-26 14:20:21 +01:00

177 lines
5.2 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>{{ title }}</title>
<style>
a {
color: #3ea6ff;
text-decoration: none;
}
a:hover {
color: #46bbff;
}
body {
font-family: Arial, sans-serif;
color: #fff;
background-color: #0f0f0f;
margin: 0;
padding: 0;
}
.header {
background-color: #202020;
border-bottom: 2px solid #2c2c2c;
padding: 10px 20px;
display: flex;
align-items: center;
justify-content: center;
}
.logo {
font-size: 24px;
color: #fe0000;
font-weight: bold;
display: flex;
align-items: center;
}
.logo img {
width: 24px;
height: 24px;
margin-right: 8px;
}
.search-container {
flex: 1;
text-align: center;
}
.search-bar {
width: 400px;
padding: 8px;
font-size: 16px;
border: 1px solid #313131;
background-color: #121212;
color: #fff;
}
.search-bar:hover {
border: 1px solid #268ee9;
}
.search-button {
padding: 8px 15px;
font-size: 16px;
background-color: #222222;
border: 1px solid #3d3d3d;
color: white;
cursor: pointer;
}
.search-button:hover {
border: 1px solid #268ee9;
}
.content {
padding: 20px;
text-align: center;
}
.channel-info {
display: flex;
align-items: center;
gap: 10px;
justify-content: center;
}
.channel-logo {
width: 36px;
height: 36px;
border-radius: 50%;
}
.like-image {
width: 20px;
height: auto;
}
#videooutline {
width: fit-content;
margin: auto;
border-bottom: 6px solid #181818;
border-right: 6px solid #181818;
}
#videooutline:hover {
border-bottom: 6px solid #111111;
border-right: 6px solid #111111;
}
.video-container {
background-color: #131313;
border: 1px solid #525252;
text-align: center;
padding: 10px;
width: fit-content;
}
.video-container:hover {
border: 1px solid #0f0f0f;
}
.comments-section {
margin-top: 20px;
}
.comment {
background-color: #222;
padding: 10px;
margin: 10px 0;
border-radius: 5px;
}
.comment-author {
font-weight: bold;
color: #3ea6ff;
}
.comment-text {
margin-top: 5px;
}
.comment-likes {
font-size: 12px;
color: #aaa;
}
</style>
<script src="https://unpkg.com/@ruffle-rs/ruffle"></script>
</head>
<body>
<div class="header">
<a href="/" class="logo">
<img src="../favicon.ico" alt="Logo">
<span>ReviveTube</span>
</a>
</div>
<div class="content">
<div id="videooutline">
<div class="video-container">
<object data="/player.swf" height="256" type="application/x-shockwave-flash" width="384">
<param name="wmode" value="transparent">
<param name="allowFullScreen" value="false">
<param name="flashvars" value="filename={{ video_flv }}">
</object>
</div>
</div>
<div class="container">
<h1 class="video-title">{{ title }}</h1>
<div class="video-meta">{{ viewCount }} Views • {{ publishedAt }}</div>
<div class="channel-info">
<img src="{{ channel_logo_url }}" alt="Channel Logo" class="channel-logo">
<div>
<a href="/channel?channel_id={{ channelId }}">{{ uploader }}</a>
<div class="subscriber-count">{{ subscriberCount }} Subscribers</div>
</div>
</div>
<div class="like-container">
<p style="display: inline;">👍</p>
<span>{{ likeCount }}</span>
</div>
<div class="comments-section">
<h2>Comments ({{ commentCount }})</h2>
{% if comments %}
{% for comment in comments %}
<div class="comment">
<div class="comment-author">{{ comment.author }}</div>
<div class="comment-text">{{ comment.text }}</div>
<div class="comment-likes">👍 {{ comment.likeCount }} | {{ comment.publishedAt }}</div>
</div>
{% endfor %}
{% else %}
<p>No Comments ):</p>
{% endif %}
</div>
</div>
</div>
</body>
</html>