News for hackers. Stuff that matters.
Re:AirPods Pro Page Performance by gandutraveler on Sunday November 03, 2019 @01:46AM (#21432402)
I am planning to build a landing page for a small beverage product similar to this. Can anyone help me understand on how this web experience was implemented. Is it as simple as onScroll-> load next image ?

Also what is a recommended tool of 2019 to convert video to images ?

Re:AirPods Pro Page Performance by oplav on Sunday November 03, 2019 @02:08PM (#21435872)
NYT also created a similar experience using video where video.currentTime was tied to scroll location: https://www.nytimes.com/interactive/2019/10/30/world/middlee...

I think there are some restrictions on video encoding parameters in order to make scrolling feel smooth which will increase the video size.

Re:AirPods Pro Page Performance by alisey on Sunday November 03, 2019 @04:06AM (#21432883)
Surprisingly, yes, the video is exported as a sequence of JPEGs: https://jsbin.com/wodusuzeja/1/edit?js,output

As for the tool, ffmpeg seems to work well enough.