socialfeed-instagram-post-video.html.twig in Social Feed 8
{% if post.media_url %}
{% if post.post_url %}
<a href="{{ post.post_url }}">
<video controls="controls" src="{{ post.media_url }}"></video>
</a>
{% else %}
<video src="{{ post.media_url }}"></video>
{% endif %}
{% endif %}
File
templates/socialfeed-instagram-post-video.html.twig
View source
- {% if post.media_url %}
- {% if post.post_url %}
- <a href="{{ post.post_url }}">
- <video controls="controls" src="{{ post.media_url }}"></video>
- </a>
- {% else %}
- <video src="{{ post.media_url }}"></video>
- {% endif %}
- {% endif %}