Open Bug 1611859 Opened 6 years ago Updated 2 years ago

PictureInPictureChild.jsm, line 114: InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable

Categories

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

68 Branch
Desktop
All
defect

Tracking

()

Tracking Status
firefox72 --- affected
firefox73 --- affected
firefox74 --- affected
firefox80 --- affected
firefox81 --- affected
firefox82 --- affected

People

(Reporter: wtds.trabalho, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

Steps to reproduce:

Actual results:

From console:

JavaScript error: resource://gre/actors/PictureInPictureChild.jsm, line 114: InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable

Expected results:

No errors...

Thanks!

And I can't use PiP in that site. :-(

Thanks!

And I can't right click because there is a 'div' over the video element.
Only if I inspect the page and delete the 'div' I cant right click and enable PiP.

Make PiP button available over 'protection div's'.

Thanks!

Hi,

Thank you for the report. I was able to reproduce the "InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable (PictureInPictureChild.jsm:114)" error on Windows 10 x64, Mac 10.14 Ubuntu 18.04.3 LTS with Firefox versions Beta 73.0b11 and Nightly 74.0a1 (2020-01-31) following the bellow steps:

  1. Open https://www.pscp.tv/w/1djGXQewoBeJZ.
  2. Click on the "Play" grey round button.
  3. Reload the page from step 1.

Notes:
on Windows 10 x64, Mac 10.14 and Ubuntu 18.04.3 LTS with Firefox version Release 72.0.2 the "InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable (PictureInPictureChild.jsm:92)" error was displayed in the Browser Console when following the steps described above.

I am not sure about the component, if the selected one is not right, please feel free to change it.

Status: UNCONFIRMED → NEW
Component: Untriaged → Audio/Video
Ever confirmed: true
Product: Firefox → Core
OS: Unspecified → All
Hardware: Unspecified → Desktop
Component: Audio/Video → Video/Audio Controls
Product: Core → Toolkit
Priority: -- → P5

I can also reproduce this by accessing games from y8.com sites and other random browsing on Windows 7.

Severity: normal → S3
Component: Video/Audio Controls → Picture-in-Picture
You need to log in before you can comment on or make changes to this bug.