←back to thread

519 points cantdutchthis | 1 comments | | HN request time: 0.401s | source
Show context
paulirish ◴[] No.44501428[source]
If the target is a GitHub readme, then you can embed a video directly. eg https://github.com/paulirish/git-recent#readme

That said, OP's SVG trick may be a smarter choice if the content is a terminal capture.

replies(5): >>44501659 #>>44501901 #>>44503973 #>>44504356 #>>44504696 #
pamelafox ◴[] No.44501901[source]
The nice thing about videos is the play/pause/slider UI. Some platforms do add play/pause explicitly to GIFs, using some JS, but as far as I know (and you would know more), that's not built into browsers yet. That's been one of the reasons I often end up using videos instead.

When I've personally animated SVGs for use in RevealJS presentations, I tend to use CSS animations that I could control with JS if I wanted.

replies(2): >>44502056 #>>44502132 #
kzrdude ◴[] No.44502056[source]
If this gets widespread use, browsers will catch up and in 5-10 years we will have pause buttons! ;)
replies(1): >>44502498 #
1. justsomehnguy ◴[] No.44502498[source]
Meanwhile we are still have a stupid overlay controls because 20 years ago it was an iframe for an ActiveX control.