mirror of
https://github.com/chibicitiberiu/ytsm.git
synced 2024-02-24 05:43:31 +00:00
Merge pull request #62 from RealOrangeOne/patch-1
Use the 'nocookie' version of YouTube embeds
This commit is contained in:
commit
caa83d0506
@ -18,7 +18,7 @@
|
|||||||
</video>
|
</video>
|
||||||
{% else %}
|
{% else %}
|
||||||
<iframe id="ytplayer" type="text/html" width="100%" height="400"
|
<iframe id="ytplayer" type="text/html" width="100%" height="400"
|
||||||
src="https://www.youtube.com/embed/{{ object.video_id }}?autoplay=1"
|
src="https://www.youtube-nocookie.com/embed/{{ object.video_id }}?autoplay=1"
|
||||||
frameborder="0"></iframe>
|
frameborder="0"></iframe>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user