Open Bug 1940396 Opened 1 month ago Updated 28 days ago

browser.tabs.captureVisibleTab doesn't capture video player content (video player have black screen)

Categories

(WebExtensions :: Android, defect)

Firefox 135
defect

Tracking

(firefox134 affected, firefox135 affected, firefox136 affected)

Tracking Status
firefox134 --- affected
firefox135 --- affected
firefox136 --- affected

People

(Reporter: mironnesvetaylov, Unassigned, NeedInfo)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36

Steps to reproduce:

  1. Install the attached extension on your Android device.
  2. Go to YouTube (or any website with a video player) and start watching any video.
  3. Open the extension popup and press the "Take Screenshot" button.

Actual results:

The tab page was successfully captured and inserted into the popup, but the video player appears black. I have attached a video for better understanding. (The extension and the screen recording are in one archive because I am unable to attach multiple files here.)

Note: You might think the black screen of the video player is due to opening the popup window, but it also occurs when I capture a screenshot through repl when debugging the extension without opening the popup.

Expected results:

The screenshot should contain the video player content.

Due to the 10MB limit, I was unable to attach the ZIP archive, so I uploaded it to Dropbox

https://www.dropbox.com/scl/fo/c6ug0mlnrqtiqfjjnq5pg/APTVHSBa0A9v-7r--fmvVmM?rlkey=wj0hwdzgtpygx93yspawspo68&st=2dago6vo&dl=0

Hello,

I reproduced the issue on the latest Nightly (136.0a1 Build #2016066663, hg-bf40d95ccc9b+,
GV: 136.0a1-20250108093633, AS: 136.20250107050243), Beta (135.0b1 Build #2016066343, hg-a1e5d1f58aca+, GV: 135.0-20250106170344, AS: 135.0) and Release (134.0 Build #2016064983, hg-b8005f63d9eb+, GV: 134.0-20241230151726, AS: 134.0) for Android on an Oppo Reno6 5G running Android 13.

The screenshot taken via the extension does not contain the video player content and appears black.

Status: UNCONFIRMED → NEW
Ever confirmed: true

The severity field is not set for this bug.
:willdurand, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(wdurand)
You need to log in before you can comment on or make changes to this bug.