Fixed youtube embedding
This commit is contained in:
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…
Reference in New Issue