Follow-up issue to #3633876: ̣[10.x] Poster image for local / mp4 videos are not working because of class 'hidden'

We definitely have FOUC without class hidden. So lets add the required CSS to fix this.

video-player:not(:defined) img[slot="poster"] {
  display: none !important;
}

Seems to work well for the poster, but we also have FOUC with the native video element itself.

Problem/Motivation

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork videojs-3633890

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

thomas.frobieter created an issue. See original summary.

thomas.frobieter’s picture

Issue summary: View changes
thomas.frobieter’s picture

Title: [10.x] Fix poster img (slot="poster) FOUC » [10.x] Fix poster img (slot="poster") FOUC

thomas.frobieter’s picture

Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.