remotes/1693045480750635534/spooky-22
parent
3b85825ee6
commit
6683455a20
|
@ -1,3 +1,3 @@
|
|||
<div class="embed-responsive embed-responsive-16by9 mb-3">
|
||||
<iframe src="{{p.embed_url}}" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
|
||||
<iframe loading="lazy" src="{{p.embed_url}}" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
|
||||
</div>
|
|
@ -7,7 +7,7 @@
|
|||
<div class="modal-body text-center p-0">
|
||||
<div class="d-inline-block position-relative">
|
||||
<a href="" rel="nofollow noopener noreferrer" target="_blank" id="desktop-expanded-video-wrap-link">
|
||||
<iframe src="" id="desktop-expanded-video" frameborder="0" width="600" height="337" allow="fullscreen"></iframe>
|
||||
<iframe loading="lazy" src="" id="desktop-expanded-video" frameborder="0" width="600" height="337" allow="fullscreen"></iframe>
|
||||
</a>
|
||||
<div class="position-absolute d-flex justify-content-between align-items-center w-100 mt-1">
|
||||
<a href="" rel="nofollow noopener noreferrer" target="_blank" class="text-gray-500 font-weight-bold text-left" id="desktop-expanded-video-link">View original</a>
|
||||
|
|
|
@ -298,7 +298,7 @@
|
|||
<div id="post-body" class="post-body mt-3">
|
||||
{% if p.realurl(v) %}
|
||||
{% if "streamable.com/" in p.realurl(v) %}
|
||||
<div style="width: 100%; height: 0px; position: relative; padding-bottom: 56.250%;"><iframe src="{{p.realurl(v)}}" frameborder="0" width="100%" height="100%" allowfullscreen="" style="width: 100%; height: 100%; position: absolute;"></iframe></div>
|
||||
<div style="width: 100%; height: 0px; position: relative; padding-bottom: 56.250%;"><iframe loading="lazy" src="{{p.realurl(v)}}" frameborder="0" width="100%" height="100%" allowfullscreen="" style="width: 100%; height: 100%; position: absolute;"></iframe></div>
|
||||
<pre></pre>
|
||||
|
||||
{% elif "spotify.com/" in p.realurl(v) %}
|
||||
|
@ -307,7 +307,7 @@
|
|||
{% else %}
|
||||
{% set streamurl=p.realurl(v).replace("spotify.com", "spotify.com/embed") %}
|
||||
{% endif %}
|
||||
<iframe src="{{streamurl}}" width="100%" height="80" frameBorder="0" allowtransparency="true" allow="encrypted-media"></iframe>
|
||||
<iframe loading="lazy" src="{{streamurl}}" width="100%" height="80" frameBorder="0" allowtransparency="true" allow="encrypted-media"></iframe>
|
||||
<pre></pre>
|
||||
|
||||
{% elif not p.embed_url and not p.is_image and not p.is_video %}
|
||||
|
@ -333,7 +333,7 @@
|
|||
{% elif p.is_video %}
|
||||
<div class="row no-gutters">
|
||||
<div class="col">
|
||||
<video controls preload="metadata" style="max-width: 100%">
|
||||
<video controls preload="none" style="max-width: 100%">
|
||||
<source src="{{ p.realurl(v) }}" type="video/mp4">
|
||||
</video>
|
||||
</div>
|
||||
|
|
|
@ -407,18 +407,18 @@
|
|||
{% elif p.is_video %}
|
||||
<a href="javascript:void(0)">
|
||||
<div style="text-align: center" class="mt-4">
|
||||
<video controls preload="metadata" style="max-width: 100%">
|
||||
<video controls preload="none" style="max-width: 100%">
|
||||
<source src="{{p.realurl(v)}}" type="video/mp4">
|
||||
</video>
|
||||
</div>
|
||||
</a>
|
||||
{% elif p.embed_url and "youtu" in p.domain %}
|
||||
<div style="text-align: center" class="mt-3 mb-4">
|
||||
<iframe src="{{p.embed_url}}" frameborder="0" width="600" height="337" allow="fullscreen"></iframe>
|
||||
<iframe loading="lazy" src="{{p.embed_url}}" frameborder="0" width="600" height="337" allow="fullscreen"></iframe>
|
||||
</div>
|
||||
{% elif p.url and "streamable.com/e/" in p.url %}
|
||||
<div style="text-align: center" class="mt-3 mb-4">
|
||||
<iframe src="{{p.url}}" frameborder="0" width="600" height="337" allow="fullscreen"></iframe>
|
||||
<iframe loading="lazy" src="{{p.url}}" frameborder="0" width="600" height="337" allow="fullscreen"></iframe>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in New Issue