Use the 'nocookie' version of YouTube embeds

This commit is contained in:
Jake Howard 2019-02-28 21:02:48 +00:00 committed by GitHub
parent 9432a8c10c
commit 1c413f483c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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