remove now unused shit

master
Aevann 2024-04-08 09:00:35 +02:00
parent ab15e06843
commit f28e923cc6
1 changed files with 1 additions and 6 deletions

View File

@ -24,12 +24,7 @@
<iframe src="https://player.twitch.tv/?channel={{orgy.data}}&parent={{SITE}}" frameborder="0" allowfullscreen></iframe>
{% elif orgy.type == 'file' %}
<meta name="referrer" content="strict-origin-when-cross-origin">
<video id="orgy-file" data-created_utc="{{orgy.real_start_utc}}" controls preload="none" src="{{orgy.data}}?x={{x}}">
{% set subtitles_url = '/assets/' ~ orgy.data.split('/')[-1].split('.')[0] ~ '.vtt' %}
{% if os_path.exists('files' ~ subtitles_url) %}
<track label="English" kind="subtitles" srclang="en" src="{{subtitles_url}}?x={{x}}" default>
{% endif %}
</video>
<video id="orgy-file" data-created_utc="{{orgy.real_start_utc}}" controls preload="none" src="{{orgy.data}}"></video>
<video id="break-file" class="d-none" controls preload="none" src="/assets/break.mp4" data-run="{{orgy.start_utc != orgy.real_start_utc}}"></video>
<script defer src="{{'js/orgy_file.js' | asset}}"></script>
{% endif %}