Closed Bug 1545750 Opened 5 years ago Closed 5 years ago

The video is paused when the Picture-in-Picture window opens on JW Player

Categories

(Toolkit :: Video/Audio Controls, defect, P2)

68 Branch
defect

Tracking

()

VERIFIED FIXED
mozilla68
Tracking Status
firefox68 --- verified
firefox69 --- verified

People

(Reporter: george.craciun, Assigned: mconley)

References

Details

STR:

  1. Ensure media.videocontrols.picture-in-picture.enabled and media.videocontrols.picture-in-picture.video-toggle.enabled are set to true
  2. Visit https://developer.jwplayer.com/tools/stream-tester/ and start a video
  3. Click on the toggle button to open the Picture in Picture window

ER:

The Picture-in-Picture window opens and the video keeps running

AR:

The Picture-in-Picture window opens and the video is paused.

Notes:
If the video is paused, when the PiP window is launched, the video will start.
The issue also occurs on https://vimeo.com/

This will likely be fixed when bug 1545296 is fixed.

Depends on: 1545296
Priority: -- → P2

This appears to be fixed now that bug 1545296 is fixed.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
Assignee: nobody → mconley

Could you please take a look over this player https://developer.jwplayer.com/tools/stream-tester/ ? Now the toggle button is not displayed anymore.

On https://vimeo.com/ the button is displayed and it works without any issue.

Flags: needinfo?(mconley)

Hi Cristian,

This is because of bug 1547795, where we added the following heuristics when determining whether or not the toggle should be displayed:

We hide the toggle if a video meets any of the following criteria:

  1. Either the width or height dimensions are less than 160px
  2. There is no audio track for the video
  3. The video is less than 45 seconds long
Flags: needinfo?(mconley)
Flags: qe-verify+

Build ID 20190627214735
User Agent Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:69.0) Gecko/20100101 Firefox/69.0

Verified as fixed based on Comment 4.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.