forked from rDrama/rDrama
1
0
Fork 0
master
kek7198 2021-12-28 19:31:18 -06:00
parent 71297698b0
commit 771024d5ff
1 changed files with 4 additions and 4 deletions

View File

@ -294,16 +294,16 @@
</div>
{% endif %}
{% if not p.club or v and (v.paid_dues or v.id == p.author_id) %}
<div class="relative z-10">
{% if not p.club or v and (v.paid_dues or v.id == p.author_id) and (p.is_video or p.is_youtube) %}
<div class="relative z-10 md:ml-[4.5rem] mt-3">
{% if p.is_video %}
<div id="video-{{p.id}}" class="text-center {% if p.over_18 or not ((v and v.cardview) or (not v and environ.get('CARD_VIEW') == '1')) %}hidden{% endif %} md:ml-[4.5rem] mt-3">
<div id="video-{{p.id}}" class="text-center {% if p.over_18 or not ((v and v.cardview) or (not v and environ.get('CARD_VIEW') == '1')) %}hidden{% endif %}">
<video controls loop preload="metadata" class="w-full max-h-[20rem]">
<source src="{{p.realurl(v)}}" type="video/mp4">
</video>
</div>
{% elif p.is_youtube %}
<div id="video-{{p.id}}" class="{% if p.over_18 or not ((v and v.cardview) or (not v and environ.get('CARD_VIEW') == '1')) %}hidden{% endif %} md:ml-[4.5rem] mt-3">
<div id="video-{{p.id}}" class="{% if p.over_18 or not ((v and v.cardview) or (not v and environ.get('CARD_VIEW') == '1')) %}hidden{% endif %}">
{{p.embed_url | safe}}
</div>
{% endif %}