Merge pull request #62 from RealOrangeOne/patch-1

Use the 'nocookie' version of YouTube embeds
This commit is contained in:
chibicitiberiu 2019-03-04 11:31:49 +02:00 committed by GitHub
commit caa83d0506
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,7 +18,7 @@
</video>
{% else %}
<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>
{% endif %}