Fixed youtube embedding

This commit is contained in:
Maxim Stewart 2020-08-01 23:50:43 -05:00
parent cfb4f9f7d0
commit 7f9466f4f9
1 changed files with 1 additions and 1 deletions

View File

@ -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 %}