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 media in image contexts #3929

Open
Schweinepriester opened this issue Dec 21, 2017 · 5 comments
Open

Video media in image contexts #3929

Schweinepriester opened this issue Dec 21, 2017 · 5 comments

Comments

@Schweinepriester
Copy link
Contributor

https://webkit.org/blog/8042/release-notes-for-safari-technology-preview-46/

Included "video/*" in image request Accept header if the browser supports video media in image contexts

Way more detail: https://calendar.perfplanet.com/2017/animated-gif-without-the-gif/

TL;DR: <img src="ottawa-river.mp4">

If there is a spec, please post it here.

I do think this is controversial, but its got to be tracked, right?


Video is image now boiiis

¯\_(ツ)_/¯

@Schweinepriester
Copy link
Contributor Author

More resources:


<picture>
  <source type="video/mp4" srcset="adorable-cat.mp4">
  <!-- perhaps even an animated WebP fallback here as well -->
  <img src="adorable-cat.gif" alt="adorable cat tears throat out of owner and eats his eyeballs">
</picture>

Imho seems like a good solution, but maybe instead of WebP fallback APNG for higher quality and browser support: https://caniuse.com/#feat=webp vs https://caniuse.com/#feat=apng

@Charuru
Copy link

Charuru commented Feb 25, 2020

Will just throw in this resource too: https://cloudinary.com/blog/evolution_of_img_gif_without_the_gif

@Schweinepriester
Copy link
Contributor Author

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

No branches or pull requests

3 participants