Open Bug 1857801 Opened 2 years ago Updated 2 years ago

Play button in PIP window does not work if autoplay is disabled in about:config

Categories

(Toolkit :: Picture-in-Picture, defect)

Firefox 120
defect

Tracking

()

UNCONFIRMED

People

(Reporter: dreamer8, Unassigned)

Details

Attachments

(1 file)

Attached image firefoxpipplayissue.png

Steps to reproduce:

  • use these about:config options to turn off autoplay for all videos:
  • media.autoplay.default=5
  • media.autoplay.blocking_policy=2
  • play any youtube video in playlist
  • open PIP
  • seek video almost to end
  • wait until video ends

Actual results:

Next video from playlist is loaded in browser and in PIP window, but in PIP window the position is at the end of the video.

  • now click the PIP play button

It does not work.

  • rewind to video start in PIP window
  • press play button

Still not working.

  • press the play on multimedia keyboard

Still not working.

The only way to play the next song is clicking the play button in the main window.

Expected results:

I think that next video should be loaded at start position and it should be play it with the PIP play button and multimedia play button.

Perhaps autoplay could be working even if it's disabled in about:config, for playlists only, or at least I miss such an option.

Tested in 118.0.1 (64-bit) and in Nightly 120.0a1 (2023-10-07) (64-bit), default settings, no addons, Windows 10 22H2 64-bit.

Component: Untriaged → Video/Audio Controls
Product: Firefox → Toolkit

Additional information.

Multimedia keyboard keys Next and Previous work in PIP window, but after using Next to switch to next video, Play button does not work either.

Another related bug, even with completely default settings in the latest nightly version (about:config options above are changed back to default), try these steps:

  • play any youtube video in playlist
  • open video in PIP window
  • press Stop key on multimedia keyboard (you can simulate this key with AutoHotkey or HotkeyP to any keyboard shortcut, if you don't have a multimedia keyboard)
  • now press Play multimedia key

It does not work. PIP window Play button works good this time and after this also Play multimedia key works.

Severity: -- → S4
Priority: -- → P3

Steps are specific to the PiP feature. Moving it over to that module.

Component: Video/Audio Controls → Picture-in-Picture

The component has been changed since the backlog priority was decided, so we're resetting it.
For more information, please visit BugBot documentation.

Priority: P3 → --
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: