- {% elif p.embed_url and "youtu" in p.domain %}
+ {% elif p.embed_url and p.domain in ['youtu.be','youtube.com'] %}
{% if 'lite' in p.embed_url %}
{{p.embed_url | safe}}
@@ -499,7 +499,7 @@
{% endif %}
- {% elif p.url and "streamable.com/e/" in p.url %}
+ {% elif p.url and p.url.startswith('https://streamable.com/e/') %}