Android-youtube-player: How to hide "more videos" row when video paused?

Created on 19 Oct 2018  路  8Comments  路  Source: PierfrancescoSoffritti/android-youtube-player

Hi it's me again. First of all, thank you very much for creating this library it is really helpful for my current project!

However, I got some question, as mentioned above. I'm using your library to develop a TV app and currently as I pause the video, this "more videos" row will appear (as shown in picture below). Is it possible to make it hidden?

As far as I remembered, this row is not visible at some points of my development progress. I didn't exactly know what triggers it and how to make it hidden back.

IMG-20181019-151003.jpg

enhancement question

Most helpful comment

Yep, rel = 0 behaves differently now.

All 8 comments

Hi, I have noticed the same problem.
This library is built on top of the web version of the YouTube player. It seems that the team at YouTube is making some changes to the player.

My current assumption is that you haven't done anything to trigger the bar, it is there because a different version of the player gets delivered.

There are two possible cases:

  1. my assumption is correct: there is not much we can do about it. Unfortunately this changes are not reported in the player's documentation.
  2. my assumption is not correct: it would be worth investigating why the web player is not behaving in a deterministic way. Maybe there is a problem with the hide ui flag.

I see. No wonder I think I only started to see this change lately. Actually I got a hunch similar as your assumption, and just to make sure I ask about it here.

Anyway, thanks a lot for the fast feedback! Really appreciate it. :+1:

I have looked at the update notes of the IFrame API, as expected they made changes to the player :/
can't say I'm happy about this.
https://developers.google.com/youtube/player_parameters#release_notes_08_23_2018

Yep, rel = 0 behaves differently now.

Thanks for your hard work on this.

Yep, rel = 0 behaves differently now.

can you help me
how to use rel parameter ?

You can use IFramePlayerOptions to change its value.

The change to the IFrame API seems permanent and there is no way around it, without using hacks. Therefore I'm closing this issue.

Buy using IFramePlayerOptions is possible to set the recommended videos to come from a single channel instead of from all of YouTube.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rajeefmk picture rajeefmk  路  5Comments

zeropol2 picture zeropol2  路  3Comments

kenmobi picture kenmobi  路  7Comments

cnbcyln picture cnbcyln  路  8Comments

shekhar-gloify picture shekhar-gloify  路  7Comments