(Urgent matter) Interactive video - Unwanted "more videos-menu" causing problems

 

"More videos menu" (see attachment) causes issues when embedding in ndla.no.

It pops up every time the video is paused, and is not possible to remove, not by klicking on x or selecting any of the video suggestions.

It is possible to remove in the h5p.org-demo, but the "more videos-button" then pops up in the lower left corner and remains in this posistion.

icc's picture

It seems YouTube has changed their behavior/policies on embedding and do not allow to hide these "widgets" anymore as they now considered to be part of the YouTube core experience.

You can read about it here: https://developers.google.com/youtube/player_parameters#showinfo

 

Hello,

It is weird that the "more videos" pops up in H5P anytime the interactive videos is paused, but this button/action doesn't occur in YouTube.  Is there anyway to disable it either in H5P or in YouTube?  It is really distracting to the learner and is suggesting them to leave the interactive video and go watch another video on YouTube. 

Any help is greatly appreciated!

-Kelly

icc's picture

I believe there are some settings when you upload the video where you can control these types of things. This is indeed a YouTube issue and not related to H5P.

I know adding &ytp-pause-overlay=0 to the end of your YouTube video URL stops the pause when embedding. The &tp-pause-overlay=0 is what removes the overlay with suggested videos when you pause an embedded YT video but how to add this in is beyond me

otacke's picture

Hi!

You can't. H5P has to use YouTube's Player API (which is not the same as using a URL) and it does not allow to remove the suggested videos.

Best,

Oliver 

any update on this can we hide more videos please 

BV52's picture

Hi alaasaeed,

As was mentioned before H5P does not control this behavior. The API that Youtube provide which H5P uses to play their videos includes the suggested videos.

-BV

otacke's picture

Hi!

I am not sure what update you are expecting: It is YouTube who enforce this "more videos" panel, not H5P.

Best,

Oliver 

papi Jo's picture

WordPress has a very useful YouTube embedding Wizard plugin with tons of options, including the following: Show or hide related and recommended videos at the end of playback. It would be nice if the H5P video content offered a similar option.

BV52's picture

Hi Papi Jo,

I'm in in no way an expert in legal stuff but hiding the recommended videos sounds like it violates the terms of use of YT's API.

-BV

papi Jo's picture

The WP plugin authors explain how they circumvent the problem whilst remaining "legal". See https://www.embedplus.com/how-to-hide-youtube-related-videos.aspx

otacke's picture

Hi!

Using that trick, the video element's "ended" event would never be called and wreck all other libraries or customizations that rely on it to determine when the video was ended.

Why not accept that YouTube is hosting a damn popular service for free but sets some rules? Why try to squeeze even more out of it? One can decide to pay for a service if one doesn't like what one gets for free.

Best,
Oliver