This commit is contained in:
31
web/video.go.html
Normal file
31
web/video.go.html
Normal file
@@ -0,0 +1,31 @@
|
||||
{{- /*gotype: vivaplusdl.VideoPlayerVM*/}}
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
{{template "frag-header" .}}
|
||||
<body>
|
||||
<h1>Viva++</h1>
|
||||
<div class="back-button-container">
|
||||
<a href="/" class="back-button">← Back to Home</a>
|
||||
</div>
|
||||
<div class="video-player-container">
|
||||
<div class="video-player-box">
|
||||
<h2 class="video-title">{{.Title}}</h2>
|
||||
<div class="video-player">
|
||||
<video controls autoplay src="/stream/{{.ID}}">
|
||||
Your browser does not support the video tag.
|
||||
</video>
|
||||
</div>
|
||||
<div class="video-player-info">
|
||||
<p class="video-description">{{.Description}}</p>
|
||||
<!--
|
||||
<div class="video-actions">
|
||||
<form method="post" action="/video/{{.ID}}/mark-watched">
|
||||
<button type="submit" class="mark-watched">Mark as Watched</button>
|
||||
</form>
|
||||
</div>
|
||||
-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user