Bug 1940052 Comment 18 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

Hey Alastor, Can you take a look at this bug, why in fullscreen landscape, pip mode video is not showing properly? I also noticed that when you scroll down in fullscreen before entering pip, the video shows part of the video. It seems like it's not detecting the video element to be shown correctly. I already investigated to see if there's anything that can be done on the Android side with the PictureInPictureFeature.
Hey Alastor, Can you take a look at this bug, why in desktop mode, pip mode video is not showing properly? 

Android PictureInPicture (https://developer.android.com/develop/ui/compose/system/picture-in-picture) puts the top of the screen into a pip screen. Unlike most video sites, Youtube desktop mode fullscreen doesn't just include the video, it also allows users to scroll down to see the video description. It's basically just the Youtube page in full width. So sometimes pip mode shows a black screen. Or when you scroll down, it'll put the Youtube toolbar into the pip screen. 

On the Android side, there's no way we can tell PictureInPicture Builder to put a specific part of the layout into pip. One solution would be to scroll the website to the top of the video so just the video is displayed in pip, but that would be susceptible to any changes Youtube makes to the site.

Is there something that can be done on the media side?
Hey Alastor, Can you take a look at this bug, why in desktop mode, pip mode video is not showing properly? 

Android PictureInPicture (https://developer.android.com/develop/ui/compose/system/picture-in-picture) puts the top of the screen into a pip screen. Unlike most video sites, Youtube desktop mode fullscreen doesn't just include the video, it also allows users to scroll down to see the video description. It's basically just the Youtube page in full width. So sometimes pip mode shows a black screen or it'll put the Youtube toolbar into the pip screen. It happens because when you move from fullscreen to pip, youtube shows the toolbar very quickly. You can reproduce this more consistently when you scroll down in the page.

On the Android side, there's no way we can tell PictureInPicture Builder to put a specific part of the layout into pip. One solution would be to scroll the website to the top of the video so just the video is displayed in pip, but that would be susceptible to any changes Youtube makes to the site.

Is there something that can be done on the media side?
Hey Alastor, Can you take a look at this bug, why in desktop mode, pip mode video is not showing properly? 

Android PictureInPicture (https://developer.android.com/develop/ui/compose/system/picture-in-picture) puts the top of the screen into a pip screen. Unlike most video sites, Youtube desktop mode fullscreen doesn't just include the video, it also allows users to scroll down to see the video description. It's basically just the Youtube page in full width. So sometimes pip mode shows a black screen or it'll put the Youtube toolbar into the pip screen. It happens because when you move from fullscreen to pip, youtube shows the toolbar very quickly. You can reproduce this more consistently when you scroll down in the page.

On the Android side, there's no way we can tell PictureInPicture Builder to put a specific part of the layout into pip. One solution would be to scroll the website to the top of the video so just the video is displayed in pip, but that would be susceptible to any changes Youtube makes to the site.

Since we've enabled desktop mode by default for all large screen/tablet devices, this bug will impact many more users.

Is there something that can be done on the media side?
Hey Alastor, Can you take a look at this bug, why in desktop mode, pip mode video is not showing properly? 

Android PictureInPicture (https://developer.android.com/develop/ui/compose/system/picture-in-picture) puts the top of the screen into a pip screen. Unlike most video sites, Youtube desktop mode fullscreen doesn't just include the video, it also allows users to scroll down to see the video description. It's basically just the Youtube page in full width. So sometimes pip mode shows a black screen or it'll put the Youtube toolbar into the pip screen. It happens because when you move from fullscreen to pip, youtube shows the toolbar very quickly. You can reproduce this more consistently when you scroll down in the page.

On the Android side, there's no way we can tell PictureInPicture Builder to put a specific part of the layout into pip. One solution would be to scroll the website to the top of the video so just the video is displayed in pip, but that would be susceptible to any changes Youtube makes to the site.

Since we've enabled desktop mode by default for all large screen/tablet devices, this bug will impact many more users. All tablet users will have issue with youtube in pip mode.

Is there something that can be done on the media side?

Back to Bug 1940052 Comment 18