forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2021-09-07 00:45:45 +02:00
parent cce3235568
commit b97ceb124f
2 changed files with 4 additions and 3 deletions

View File

@ -496,9 +496,9 @@
var inlineVideo = document.getElementById("desktop-expanded-video"); var inlineVideo = document.getElementById("desktop-expanded-video");
inlineVideo.src = video.replace("100w.gif", "giphy.gif"); inlineVideo.src = video;
linkText.href = video; linkText.href = video;
videoLink.href=video; videoLink.href = video;
linkText.textContent = 'View original'; linkText.textContent = 'View original';
}; };
@ -1179,6 +1179,7 @@
{% endif %} {% endif %}
{% include "expanded_image_modal.html" %} {% include "expanded_image_modal.html" %}
{% include "expanded_video_modal.html" %}
<script src="/assets/js/general13.js"></script> <script src="/assets/js/general13.js"></script>

View File

@ -73,7 +73,7 @@
<img loading="lazy" src="{{p.thumb_url}}" class="post-img"> <img loading="lazy" src="{{p.thumb_url}}" class="post-img">
</a> </a>
{% elif p.embed_url and "youtu" in p.domain %} {% elif p.embed_url and "youtu" in p.domain %}
<a href="javascript:void(0)" class="expandable-video" data-toggle="modal" data-target="#expandVideoModal" data-url="{{p.realurl(v)}}" onclick="expandDesktopVideo('{{ p.realurl(v) }}')"> <a href="javascript:void(0)" class="expandable-video" data-toggle="modal" data-target="#expandVideoModal" data-url="{{p.realurl(v)}}" onclick="expandDesktopVideo('{{ p.embed_url }}')">
<img loading="lazy" src="{{p.thumb_url}}" class="post-img"> <img loading="lazy" src="{{p.thumb_url}}" class="post-img">
</a> </a>
{% elif p.url and "streamable.com/e/" in p.url %} {% elif p.url and "streamable.com/e/" in p.url %}