Skip to content

Unable to play app trailers on Steam with no-large-media  #3325

@przemo20

Description

@przemo20

Prerequisites

  • I verified that this is not a filter list issue. Report any issues with filter lists or broken website functionality in the uAssets issue tracker.
  • This is NOT a YouTube, Facebook or Twitch report. These sites MUST be reported by clicking their respective links.
  • This is not a support issue or a question. For support, questions, or help, visit /r/uBlockOrigin.
  • I performed a cursory search of the issue tracker to avoid opening a duplicate issue.
  • The issue is not present after disabling uBO in the browser.
  • I checked the documentation to understand that the issue I am reporting is not normal behavior.

I tried to reproduce the issue when...

  • uBO is the only extension.
  • uBO uses default lists and settings.
  • using a new, unmodified browser profile.

Description

With the no-large-media rule added for store.steampowered.com, the videos in the screenshot carousel on the Steam store app pages get blocked, and there's no way to unblock them (without removing the added no-large-media rule) – if you click on the video, then on the black box (to unlock it), nothing happens.

Screenshot

obraz

A specific URL where the issue occurs.

https://store.steampowered.com/app/238960/Path_of_Exile/

Steps to Reproduce

  1. Open uBlock Origin Dashboard, switch to the “My rules” tab, add the following temporary rule:
    no-large-media: store.steampowered.com true, then click on the “Save” button and then the “Commit” button
  2. Go back to the uBO “Settings” tab, and make sure that the value next to “Block media elements larger than” is, let's say, not bigger than 2500 KB (you don't need to check the box next to that option)
  3. Restart the browser (just to make sure that the new settings get applied correctly)
  4. Go to https://store.steampowered.com/app/238960/Path_of_Exile/
  5. Wait for the page to load, then click on the black box (below the game name)

Video recording

https://www.youtube.com/watch?v=MI-cpxkHTF0

Expected behavior

The video (and the video player) should load when you click on it.

Actual behavior

See Description.

On Firefox, I see the following error in the browser console when trying to view the trailer – “DOMException: The media resource indicated by the src attribute or assigned media provider object was not suitable.” and on Chrome – “DOMException: Failed to load because no supported source was found.”

But if you – after the step 3 – select a screenshot from the screenshot carousel, then click on it [the black box] – the image loads fine.

uBO version

1.59.0

Browser name and version

Mozilla Firefox 128.0.3 (64-bit)

Operating System and version

Windows 10 Pro 22H2 (build 19045.4651)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions