open vods in the same tab but add a return button
This commit is contained in:
parent
d0c569b922
commit
6a63358940
|
@ -245,7 +245,7 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||||
<div class="gallery">
|
<div class="gallery">
|
||||||
{% for thumbnail in thumbnails %}
|
{% for thumbnail in thumbnails %}
|
||||||
<div class="gallery-item">
|
<div class="gallery-item">
|
||||||
<a href="{{ url_for('video_watch_route', file_name_no_extension=thumbnail[:-4]) }}" class="image-link" target="_blank">
|
<a href="{{ url_for('video_watch_route', file_name_no_extension=thumbnail[:-4]) }}" class="image-link">
|
||||||
<img src="{{ url_for('thumb_route', file_name=thumbnail) }}" alt="{{ thumbnail }}">
|
<img src="{{ url_for('thumb_route', file_name=thumbnail) }}" alt="{{ thumbnail }}">
|
||||||
<div class="overlay">
|
<div class="overlay">
|
||||||
<div class="overlay-content">
|
<div class="overlay-content">
|
||||||
|
@ -348,3 +348,4 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
|
|
@ -40,6 +40,9 @@
|
||||||
<video id="player" controls crossorigin playsinline poster="{{ url_for('thumb_route', file_name=thumb_file) }}">
|
<video id="player" controls crossorigin playsinline poster="{{ url_for('thumb_route', file_name=thumb_file) }}">
|
||||||
<source src="{{ url_for('video_route', file_name=video_file) }}" type="video/mp4">
|
<source src="{{ url_for('video_route', file_name=video_file) }}" type="video/mp4">
|
||||||
</video>
|
</video>
|
||||||
|
<button type="button" class="btn btn-lg btn-primary" onclick="history.back()">
|
||||||
|
<i class="fa-solid fa-arrow-left"></i> Back
|
||||||
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-xs-12 col-md-1">
|
<div class="col-xs-12 col-md-1">
|
||||||
|
|
Loading…
Reference in a new issue