DEV Community

Discussion on: Start and stop a llama! How to create a non-autoplay GIF web component 🎞️🛑🔥

Collapse
 
yjdoc2 profile image
YJDoc2 • Edited

Hey really cool article, I wanted to read about custom HTML components for some time, and this is great !!!
Thanks for such nice explanation and walkthrough 😃😄

Edit : forgot to mention that this is such a great idea, to have play and pause for gifs. I have seen some pages where after loading the gifs would distract front the core content. I feel this should also be a great help for flashing/trippy text, where rather than warning one can give control to user what and when to run. Such a great idea !

PS : forgive me for saying this, but shouldn't the 'cure' in first header in the article be 'cute'?

Collapse
 
thormeier profile image
Pascal Thormeier

Thank you so much, so glad you liked it! I was browsing some news website and saw the pausable gifs and thought "I could probably do that!" - and here we are. :) It's really all about observing and trying to rebuild, I also learnt a lot when writing this article. Features like these open up new possibilities for accessibility. Safari doesn't auto-play videos with sound, for example, that's a good start, but I've seen muted auto-playing videos as hero images that really shouldn't be auto-played...

Thank you for spotting the typo, fixed it :D