Closed Bug 1630248 Opened 4 years ago Closed 4 years ago

The “Open Frame in New Tab/Window” doesn’t work properly on drive.google.com embedding youtube players for videos

Categories

(Toolkit :: Video/Audio Controls, defect)

defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: mberlinger, Unassigned)

Details

Affected versions

  • 75.0
  • 76.0b4
  • 77.0a1 (2020-04-15)

Affected platforms

  • Windows 10x64
  • macOS 10.15
  • Ubuntu 18.04x64

Steps to reproduce

  1. Launch Firefox.
  2. Go to https://drive.google.com/file/d/0BwxFVkl63-lEY3l3ODJReDg3RzQ/view
  3. Play the video.
  4. Right click on the video.
  5. From the context menu go to “This frame” and choose “Open Frame in New Tab” or “Open Frame in New Window”

Expected result

    1. The video is loaded in the new tab/window and can be played back properly.

Actual result

    1. The video can’t be played and a message error is displayed.

Regression range

  • This issue is not a regression since I was able to reproduce in on build from 2016-01-11 when the 4k videos were supported in Firefox.

Additional notes

  • see the attached screenrecording
  • the following error is thrown in the Browser console “[Exception... "Favicon at "https://youtube.googleapis.com/favicon.ico" failed to load: Not Found." nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: resource:///modules/FaviconLoader.jsm :: onStopRequest :: line 227" data: no]”

From the log, I didn't see any play invocation for media element so it seems to me that maybe the toolkit doesn't set the media element source correctly? Or they miss to setup somthing when they open this frame in the new tab?

Component: Audio/Video: Playback → Video/Audio Controls
Product: Core → Toolkit

This looks like a youtube issue to me. The embed frame tries to postMessage and it seems to rely on the parent frame being the one specified in the URL (drive.google.com), and this fails because there is no parent frame. The video doesn't get a src attribute without the parent being around to tell it with video to load.

There is nothing we can really do about this. Sometimes frames simply won't work on their own.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INVALID
Summary: The “Open Frame in New Tab/Window” doesn’t work properly → The “Open Frame in New Tab/Window” doesn’t work properly on drive.google.com embedding youtube players for videos
You need to log in before you can comment on or make changes to this bug.