News for hackers. Stuff that matters.
Re:Rewrite Git history via drag-and-drop by dugmartin on Tuesday December 03, 2024 @04:08PM (#42311460)
Just curious what you used to generate the video? I like the per pill progress bars.
Re:Rewrite Git history via drag-and-drop by Cykelero on Tuesday December 03, 2024 @04:24PM (#42311658)
Thank you!

It's a regular video recording, and then I noted down the chapter timestamps in an array. (see heroVideoChapterStartTimesSeconds at the very top of https://retcon.app/main.js) As the video is playing, the player uses this to know what chapter to highlight, and how much to fill its progress bar. (that's updateVideoChapters())