Re:Evolution of <img>: Gif without the GIF
by cflat on Monday December 04, 2017 @01:20PM
(#15846119)
the biggest draw back is the browser preloader and general performance. For cinemagraphs & clips this will be great. Anytime you want to add audio or pause/control playback, this will be the wrong solution.
[ Parent
| on HN ]
Re:Evolution of <img>: Gif without the GIF
by Ajedi32 on Monday December 04, 2017 @01:23PM
(#15846152)
> the biggest draw back is the browser preloader and general performance
So why can't we just fix that issue with the `<video>` tag? (Maybe with a `preload` attribute or something.) It just seems semantically incorrect to be putting videos in `<img>` tags (and yes, I realize this same argument applies to GIFs as well).
> Anytime you want to add audio or pause/control playback, this will be the wrong solution
I'm referring to me as a user showing controls even when the site has them hidden. Obviously as a developer I can always just choose to not use this feature and use a video tag instead.