News for hackers. Stuff that matters.
Re:Gifski: Optimized GIF Encoder by lxgr on Tuesday May 21, 2024 @01:47PM (#40431502)
Maybe all it takes for this is a new canonical file extension, i.e. something like .m4g?

The contract for these could be something like "no sound, default playback in a loop, 30 seconds or less; don't render if any of these requirements aren't met" to make sure people don't abuse it for auto-playing videos.

Re:Gifski: Optimized GIF Encoder by masklinn on Tuesday May 21, 2024 @02:30PM (#40432047)
It's really more of a browser issue, a GIF you can just right click and download, but they don't make that option available for videos.
Re:Gifski: Optimized GIF Encoder by lxgr on Tuesday May 21, 2024 @04:38PM (#40433579)
That option does actually exist for "plain" HTML5 <video> tags, as far as I know. It's just that most videos aren't hosted as simple as that, and are effectively stitched together out of multiple MPEG-DASH, HLS etc. fragments – or the site uses a custom video player.

In both cases, the result is a lack of a right-click-to-save option.

Re:Gifski: Optimized GIF Encoder by sureIy on Tuesday May 21, 2024 @07:54PM (#40435726)
<img src="v.mp4"> is a thing, but unfortunately it’s not supported outside Safari. https://stackoverflow.com/questions/60114243/using-videos-in...