Hacker News new | past | comments | ask | show | jobs | submit login

Not much to add on the article itself other than "when Vladimir Agafonkin posts something it's probably worth checking out in detail" - too bad it doesn't come with some code to study this time ;)

Tangent: I have autoplay turned off in Firefox and had no idea half of these images were supposed to be examples of zooming in and out until halfway into the article, where one of them had a description.

This is not a critique on the article, just mentioning it for anyone else who might have similar settings. I'm also somewhat surprised that I don't even get a pop-up from Firefox asking me if I want to allow the video elements to be played.

(although I personally prefer my videos with controls enabling me to pause playback, instead of automatically looping fast-moving "gifs", which can get very disorienting while reading, but that's a different discussion)




> too bad it doesn't come with some code

Mapbox changed the license of their code last year I think to a proprietary one. https://github.com/mapbox/mapbox-gl-js/blob/main/LICENSE.txt

It requires a mapbox user license with billing enabled to use this code, let alone make modifications. But the source is viewable on github.

Mapbox also has one of the first tech unions established, but I do not think they have any position on the license. Any insiders know?


Thanks for the kind words! Good point about autoplay — the current behavior is what we get when disabling controls in Vimeo embeds; worth checking if it's possible to detect whether autoplay is off, and switch the controls on if so.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: