extend theater mode to video id page template

This commit is contained in:
simon 2021-12-08 14:30:13 +07:00
parent 279c4538ca
commit 9bb68aac66
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4
2 changed files with 10 additions and 7 deletions

View File

@ -2,13 +2,15 @@
{% block content %}
{% load static %}
{% load humanize %}
<div class="boxed-content">
<div class="video-main">
<div class="video-main">
<video
src="/media/{{ video.media_url }}"
poster="/cache/{{ video.vid_thumb_url }}" controls preload="false"
type='video/mp4' width="100%" playsinline>
</video>
</div>
<div class="boxed-content">
<div class="title-bar">
<h1>{{ video.title }}</h1>
</div>
<div class="info-box info-box-3">

View File

@ -342,7 +342,8 @@ button:hover {
height: 100vh;
}
.video-player video {
.video-player video,
.video-main video {
max-height: 80vh;
width: 90%;
max-width: 1500px;