youtube-nocookie.com-links in interactive videos

Hello everybody,

I really like the interactive videos und the opportunity to use links to youtube-videos for that feature. However, in my (educational) organisation there ist a technical regulation that says: if we use youtube-Links in moodle we have to use the "enhanced privacy mode" (When you turn on privacy-enhanced mode, YouTube won’t store information about visitors on your website unless they play the video). To use the enhanced privacy mode, the embed-link starts with "youtube-nocookie.com" instead of youtube.com

Unfortunately, if we try to use "youtube-nocookie.com" for a h5p interactive video, the plugin says "unknown" and it is not possible to use that video.

E.g. it would be necessary to replace "https://www.youtube.com/embed/1W7NlAfTZU4" by "https://www.youtube-nocookie.com/embed/1W7NlAfTZU4". But in the current version the nocookie-Link does not work.

Is it possible to implement youtube-nocookie-links, too?

Thanks,
sascha

 

2
0
Supporter votes Members of the Supporter Network can vote for feature requests. When the supporter network has generated sufficient funding for the top voted feature request it will normally be implemented and released. More about the H5P Supporter Network
tomaj's picture

I think this is a good suggestion, and I have created a ticket on it, so it can be implemented.

- Tom

otacke's picture

You could extract the video ID from "no-cookie URLs" easily, but AFAIK there's no way to use the YouTube Iframe-API to create a player that doesn't use cookies.

 

BV52's picture

Hi Uwe,

Thank you for the information. They may help the developer create a solution for this issue.

-BV

Hi everyone,

I was wondering if anything happened on the subject yet or rather if someone found a work-around.

Thank you for your help,
Wolf

otacke's picture

Hi Wolf!

There's a pull request to change the behavior (https://github.com/h5p/h5p-video/pull/35). It uses an undocumented setting of YouTube's API. The pull request is waiting for review since December 2019 however. I hope that the H5P core team will find some time to have a look at it soon.

Best,

Oliver 

Hi, is there any news about this feature for the interactive video?

Many thanks!

BV52's picture

Hi ludovico,

I'm sorry this has not been impletmented yet.

-BV