Fixed youtube embedding

master
Maxim Stewart 4 years ago
parent cfb4f9f7d0
commit 7f9466f4f9

@ -68,7 +68,7 @@
<iframe
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
autoplay="" allowfullscreen="true" width="650px" height="400px" frameborder="0"
src="{{note | replace('www.youtube.com/', 'www.youtube.com/embed/')}}">
src="{{note | replace('www.youtube.com/watch?v=', 'www.youtube.com/embed/')}}">
</iframe>
</span>
{% endif %}

Loading…
Cancel
Save