Closed Bug 1918935 Opened 1 year ago Closed 1 year ago

Firefox supports HEVC however, the 'videojs' package prevents playback but works with a Chrome Mask

Categories

(Core :: Audio/Video: Playback, defect)

Firefox 130
defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: ravtakhar93, Unassigned, NeedInfo)

References

Details

(Keywords: webcompat:platform-bug)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:130.0) Gecko/20100101 Firefox/130.0

Steps to reproduce:

Firefox has added support for HEVC playback. However, the 'videojs' package within Synology Photos prevents playback. When I use the extension 'Chrome Mask' which tricks Synology Photos to believe that I am using Google Chrome as a browser then everything works flawlessly.

Actual results:

Without Chrome Mask

  1. Attempt to play video HEVC content within Firefox
  2. video.js spits out the following error:
    VIDEOJS: ERROR: (CODE:4 MEDIA_ERR_SRC_NOT_SUPPORTED) No compatible source was found for this media.
    Object { code: 4, message: "No compatible source was found for this media." }

With Chrome Mask

  1. Install extension within Firefox 'Chrome Mask' (https://addons.mozilla.org/en-US/firefox/addon/chrome-mask/)
  2. Navigate to Synology Photos and toggle on Extension to trick Synology Photos into believing that it is running in Google Chrome
  3. Attempt to play video HEVC content within Firefox
  4. Content works

Expected results:

Synology Photos should allow for Firefox HEVC playback without having to trick Synology Photos into thinking I am running Google Chrome on Windows.

The Bugbug bot thinks this bug should belong to the 'Core::Audio/Video: Playback' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Audio/Video: Playback
Product: Firefox → Core

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

For more information, please visit BugBot documentation.

Flags: needinfo?(jmathies)
Blocks: hevc-missing
Flags: needinfo?(jmathies)
Severity: -- → S3

From the description, it sounds like we just need a UA override here. This should only apply to platforms that support HEVC. Currently that's only Windows.

Status: UNCONFIRMED → NEW
Ever confirmed: true

Could you go to about:config and set media.wmf.hevc.enabled to 1, then restart Firefox to see if it helps? We will enable HEVC playback on Windows by default on Fx134, which will be released soon. Thanks.

Flags: needinfo?(ravtakhar93)

Also, do you know of a site we can use to test HEVC using video.js?

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.