Open
Bug 1890774
Opened 11 months ago
Updated 1 month ago
PiP/Miniplayer button is missing from the media player on spotify.com
Categories
(Web Compatibility :: Site Reports, defect, P2)
Tracking
(Webcompat Priority:P2, firefox124 affected, firefox126 affected)
NEW
Webcompat Priority | P2 |
People
(Reporter: ctanase, Unassigned)
References
(Depends on 1 open bug, )
Details
(Keywords: webcompat:have-login, webcompat:platform-bug, webcompat:site-report, Whiteboard: [webcompat:sightline])
User Story
platform:windows,mac,linux impact:feature-broken affects:all configuration:general branch:release
Attachments
(1 file)
1.12 MB,
image/png
|
Details |
Environment:
Operating system: Windows 10
Firefox version: Nightly 126.0a1 (2024-04-09)
Preconditions:
• must be logged in
Steps to reproduce:
- Go to https://open.spotify.com
- Go to any song.
- Observe the media player.
Expected Behaviour:
The PiP/Miniplayer button is displayed on the media player.
Actual Behaviour:
The PiP/Miniplayer button is missing from the media player.
Notes:
- Screenshot attached
- Reproducible regardless of the ETP status
- Reproducible on Firefox Release as well
- Not reproducible on Chrome
- Issue found during WebCompat team [Top100] websites testing
Comment 1•11 months ago
|
||
Probably bug 1882314, but let's confirm.
Comment 2•6 months ago
|
||
This is indeed because of the picture-in-picture API:
async open(e) {
const t = this.getOrCreateGraphics();
await this.updateGraphicsFromPlayerState(t, e);
const n = this.getPictureInPictureElement();
return n === t.video ||
(
await this.requestPictureInPicture(t, (() => {
this.close()
})),
this._events.emitSync('visibility_change', !0)
),
n ?? null
}
async requestPictureInPicture(e, t) {
let {
video: n
}
= e;
try {
await n.requestPictureInPicture(),
n.addEventListener('leavepictureinpicture', t, {
once: !0
})
} catch (zO) {
(0, _s.vV) (zO)
}
}
Keywords: webcompat:needs-diagnosis
Updated•6 months ago
|
User Story: (updated)
Updated•3 months ago
|
Whiteboard: [webcompat:sightline]
Updated•1 month ago
|
Webcompat Priority: --- → P2
You need to log in
before you can comment on or make changes to this bug.
Description
•