Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Cannot disable YouTube Related Videos on mobile


My company is using JW Player to embed YouTube videos on our mobile site. I asked our IT team to embed a few new videos and I gave them the instructions to use ?rel=0 so the related videos would be disabled. They say it is not working and here is the response as to why. Is there anyway around this?

Unfortunately, we won’t be able to disable the related videos for youtube links.

Please find the technical explanation below,

We are using JWplayer to load all video content for the mobile site. JWplayer uses one of the two modes to play the video, ‘flash’ or ‘html5’.
For all mobile devices it loads html5 to play the videos, and when played through html5, html5 api loads a youtube iframe and youtube player takes control.
Even after passing the parameters to disable the related videos while loading the frame, Jwplayer truncates the URLs and loads the youtube frame.
As such we cannot disable the related videos when we are using HTML5 option, but HTML5 is the only option that would work across all mobile devices.

1 Community Answers

Randy

JW Player Support Agent  
1 rated :

Interesting. We are aware YouTube has made some changes to their product, particularly RSS feeds. Do you happen to have a link to the embed you are working on?

Randy

This question has received the maximum number of answers.