-
Improvement
-
Resolution: Fixed
-
Minor
-
3.4.2, 3.5, 4.2.1
-
MOODLE_34_STABLE, MOODLE_35_STABLE, MOODLE_402_STABLE
-
MOODLE_403_STABLE
-
master_
MDL-62401 -
Youtube loads a lot of cookies if videos are embedded. Youtube allows a reduction of cookie loading with a different embed code that is privacy compliant by using the youtube-nocookie.com domain
Example:
<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/glwSTFuqmWo" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe> |
Normally this is a feature you can select when fetching embed code from youtube page manually.
This issue adds a configuration option to the YouTube media player that when set the Moodle LMS generated embed code uses the youtube-nocookie.com domain. This means that when this admin option is enabled:
- NO .youtube.com cookies are added to the users browser
- No calls to *.doubleclick.net and googleads. are made
- Calls ARE made to www.youtube-nocookie.com
It will work for both single embedded videos and embedded playlists.
NOTE: Cookies from www.youtube-nocookie.com are still added once a user has clicked play button. No calls to *.doubleclick.net and googleads. are made even when the play button is clicked.
- blocks
-
MOBILE-4392 Support embedding Youtube Videos with nocookie extension (new in LMS 4.3)
- Closed
- has been marked as being related by
-
MDL-62549 GDPR compliant embedding of YouTube-videos or other external media
- Closed
-
MDL-78571 Media: Allow Vimeo do not track option
- Closed
- will help resolve
-
MDLSITE-7729 YouTube videos not embedded due to cookie settings
- Resolved