Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

video_tag fully disable poster #1784

Open
wiebekaai opened this issue Feb 1, 2024 · 2 comments
Open

video_tag fully disable poster #1784

wiebekaai opened this issue Feb 1, 2024 · 2 comments

Comments

@wiebekaai
Copy link

I'm attempting to use videos as a progressive enhancement by displaying an image initially and then lazy loading the video. I render the image separately to allow uploading and support lazy loading.

Even though I have set the poster to an empty string, the <img> is still being rendered. Can you please provide a way to prevent this?

Setting image_size to x0 results in a 404 error, which is what I want, but without the error.

@ryanm-bw
Copy link

+1 we need much more control over what is output by video_tag

Related: #1720

@rvandenhoeck
Copy link

+1 this is causing accessibility issues across all storefronts using video_tag

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants