forked from rDrama/rDrama
master
parent
cce3235568
commit
b97ceb124f
|
@ -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>
|
||||||
|
|
||||||
|
|
|
@ -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 %}
|
||||||
|
|
Loading…
Reference in New Issue