Incorrect MediaSession metadata in YouTube videos with ads
Categories
(GeckoView :: Media, enhancement)
Tracking
(Not tracked)
People
(Reporter: svillar, Unassigned)
Details
Steps to reproduce:
(this bug requires that an ad is played before the video, so if you have a subscription to YT better log out in order to get ads)
- Open a YouTube video with vertical format like https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=&cad=rja&uact=8&ved=2ahUKEwjZ3qDf5vODAxUYTqQEHd8EDlwQyCl6BAgqEAQ&url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DAh0Ys50CqO8&usg=AOvVaw3o-Z1mG4sm5ABfVpC7bSjm&opi=89978449
- While the ad is played click on fullscreen
Actual results:
When fullscreen is selected the onFullscreen method of MediaSession.Delegate is called. That method carries metadata with information about the media that is being played. As we've clicked on fullscreen while the ad is played, the metadata information corresponds to the ad that is played.
Then later when the ad finishes and the video starts to play, no more metadata information is sent to the client.
Expected results:
There should be a way to get the metadata information about the media that is being played. In the case of the vertical video I mentioned the height is larger than the width, but as onFullscreen is emitted while the ad is played, the width and height that we get correspond to the sizes of the ad.
We get the correct values if we click on fullscreen after the ad is played.
Reporter | ||
Comment 1•1 year ago
|
||
The actual URL of the video is this one BTW
Reporter | ||
Updated•1 year ago
|
Reporter | ||
Updated•1 year ago
|
Updated•1 year ago
|
Description
•