News for hackers. Stuff that matters.
Re:It's time to replace GIFs with AV1 video by izzydata on Thursday May 09, 2019 @03:25PM (#19871400)
I understand that they can be made to autoplay with no controls, but I don't even want the possibility of them being paused. This way the format has no choice but to behave as expected across everything.
Re:It's time to replace GIFs with AV1 video by masklinn on Thursday May 09, 2019 @03:36PM (#19871499)
> I understand that they can be made to autoplay with no controls, but I don't even want the possibility of them being paused.

Your opinions are just that, and usually overridable by the client. The client could even strip your media entirely.

And gifs are pausable (used to be ESC though apparently you now need extensions).

> This way the format has no choice but to behave as expected across everything.

I've got bad news for you: once it reaches the client you're not in control anymore, you can only suggest behaviour.

Re:It's time to replace GIFs with AV1 video by souprock on Thursday May 09, 2019 @03:46PM (#19871606)
I don't see why we can't use the IMG tag for video and the VIDEO tag for images. They should be unified, with all the same media formats supported.

IMG would autoplay, would not have sound, would loop, and would not have controls.

VIDEO would be the opposite. For something like a plain JPG or PNG file, it just shows the one frame. Animated GIF files would of course benefit from the controls.

The same should go for unification of the VIDEO and AUDIO tags. Play an audio file as video, and you get a black screen with sound. Play a video file as audio, and you just hear the sound.

Re:It's time to replace GIFs with AV1 video by cflat on Thursday May 09, 2019 @05:23PM (#19872575)
Agree. Safari has already made moves for this[1], but Chrome seems to be resistant[2].

[1] https://calendar.perfplanet.com/2017/animated-gif-without-th... [2] https://bugs.chromium.org/p/chromium/issues/detail?id=791658

Re:It's time to replace GIFs with AV1 video by mr_toad on Thursday May 09, 2019 @06:34PM (#19873111)
> IMG would autoplay, would not have sound, would loop, and would not have controls.

Why do you hate my phone battery so much?

Re:It's time to replace GIFs with AV1 video by masklinn on Friday May 10, 2019 @03:42AM (#19875882)
They don't though. At similar quality and framerate, a video is much smaller than a GIF (so the radios can be shut down faster) and requires less power to playback (because it's offloaded to the hardware acceleration instead of being implemented entirely on the CPU).

Your average smartphone can play 1080p video without breaking a sweat, not so with 1080p gifs. Hell, a laptop will have permanent high-CPU usage on 1080p gifs, as a video it's background noise (https://www.reddit.com/r/osx/comments/43rrf0/pixel_art_gif_a...)

Re:It's time to replace GIFs with AV1 video by Arkanosis on Thursday May 09, 2019 @03:50PM (#19871659)
> I don't even want the possibility of them being paused

That's downright hostile to the end user…

https://www.w3.org/TR/UNDERSTANDING-WCAG20/time-limits-pause...

Re:It's time to replace GIFs with AV1 video by silversconfused on Thursday May 09, 2019 @04:37PM (#19872180)
A behavior being unchanged for 30 years is hardly user hostile. It's reliable and trustworthy. Like a good tool should be.
Re:It's time to replace GIFs with AV1 video by untog on Thursday May 09, 2019 @05:01PM (#19872386)
You used to be able to press the escape button to stop GIFs on the page. It's not unchanged for 30 years.
Re:It's time to replace GIFs with AV1 video by silversconfused on Thursday May 09, 2019 @08:10PM (#19873812)
Browsers have changed, a lot, in sad and unfortunate ways like you mention here, but the gif format is pretty stable.
Re:It's time to replace GIFs with AV1 video by __jal on Thursday May 09, 2019 @06:44PM (#19873188)
Any application that doesn't allow me to stop something from being annoying, will be stopped from being annoying by being uninstalled.

If browsers made it such that I couldn't not stop .gif animations (or playing video, or...), I would trash that browser.

Bluntly, you do not get to control my computer.

Re:It's time to replace GIFs with AV1 video by izzydata on Thursday May 09, 2019 @07:02PM (#19873335)
The point is that they are more images than videos. They have no possible way to contain sounds so the annoyingness is limited to having unwanted images in your browser. You can tell your browser to block a particular still image. You can do the same thing to block a GIF. You don't need a pause/play feature on a 2-5 second sequence.
Re:It's time to replace GIFs with AV1 video by __jal on Thursday May 09, 2019 @07:24PM (#19873506)
No, the point is control. You have no idea what I need.
Re:It's time to replace GIFs with AV1 video by ddingus on Thursday May 09, 2019 @10:19PM (#19874513)
Most people require much less.
Re:It's time to replace GIFs with AV1 video by judge2020 on Thursday May 09, 2019 @10:28PM (#19874553)
What is your current solution to autoplaying, unpausable gifs?
Re:It's time to replace GIFs with AV1 video by Kaiyou on Friday May 10, 2019 @03:41AM (#19875879)
Case by case basis ublock origin and permanently remove the gif from showing up in my browser ever again.
Re:It's time to replace GIFs with AV1 video by pferde on Friday May 10, 2019 @04:02AM (#19875981)
If that 2-5 second animated sequence is smack dab in the middle of an article I'm trying to read, because the author is trying to be "cool" and "in with the internets" by including some popular animated meme macro? You bet your bellybutton that I need to be able to stop it from distracting my eyes from the text.

Human sight has evolved to be attracted to movement.

Re:It's time to replace GIFs with AV1 video by PhasmaFelis on Thursday May 09, 2019 @03:30PM (#19871442)
There's nothing about allowing play/pause that prevents videos from behaving exactly like gifs. I've seen browsers with play/pause options for gifs, even.
Re:It's time to replace GIFs with AV1 video by silversconfused on Thursday May 09, 2019 @04:43PM (#19872235)
The stop button used to stop all gifs on a page in firefox and internet explorer. Not sure if that was a bug or a feature though, since the stop button was generally not available when page load finished.
Re:It's time to replace GIFs with AV1 video by silversconfused on Thursday May 09, 2019 @08:11PM (#19873818)
(Maybe I remembered wrong, someone else mentioned here that it was ESC, not stop)
Re:It's time to replace GIFs with AV1 video by Izkata on Friday May 10, 2019 @01:15AM (#19875250)
At least on Firefox, it was indeed stop. I believe it still works too, even though nowadays they hide the button, if you expose the functionality through an addon.
Re:It's time to replace GIFs with AV1 video by lccarrasco on Thursday May 09, 2019 @04:01PM (#19871788)
Can you tell me of one, please? I'd like to check their implementation, most play/pausable gifs I see are only converted webms.