Skip to content

Poster attribute of <video> tag does not work in chrome #2470

Open
@reimeri

Description

@reimeri

Describe the bug

The poster attribute of <video> tags does not seem to work in Chrome. It is still working fine in Firefox.

No errors are written to the console. Chrome does not even fetch the image.

Your Example Website or App

https://github.com/reimeri/solidjs-video-bug

Steps to Reproduce the Bug or Issue

function App() {
  return (
    <>
      <video
        src="/some_video.mp4"
        poster="/image.webp"
        loop
        muted
      />
    </>
  );
}

export default App;

Expected behavior

Poster image shown before the playback of the video is started

Screenshots or Videos

No response

Platform

  • OS: [Linux]
  • Browser: [Chrome]
  • Version: [135.0.7049.95]

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    upstreamrelated dependencies or platforms that Solid relies on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions