Safari in iOS 10 Offers Improved Animated GIF Viewing and Stops Noisy Autoplay Videos

safari-iconIn iOS 10, Apple plans to make some changes to the way videos are handled, putting a stop to irritating autoplay videos and offering improvements to animated GIFs. The changes will come in the form of updated policies for "video" elements, as outlined today by Apple software engineer Jer Noble on the Webkit blog

As iOS 8 and iOS 9 users know, an animated GIF encoded using "video" tags requires users to tap on the GIF to play it as a video would play, creating a frustrating user experience. When viewing such a GIF, it's currently necessary to load the image, tap it to play, and wait for it to be displayed full screen. In iOS 10, the user experience is being simplified.

Going forward, Webkit will allow videos with no audio element or a muted audio element to honor autoplay attributes, so GIFs and videos in this format will no longer require a tap to play automatically. Videos that use the "video playsinline" element will also be able to play inline without the need to enter fullscreen mode.

At the same time, videos that do have an audio element will be automatically paused and will require a user gesture to play, cutting down on irritating advertisements and other spam-type videos. Autoplay video elements will play only when on screen and will pause whenever they are not visible, which will help to preserve battery life.

Starting in iOS 10, WebKit relaxes its inline and autoplay policies to make these presentations possible, but still keeps in mind sites' bandwidth and users' batteries. [...]

We believe that these new policies really make video a much more useful tool for designing modern, compelling websites without taxing users bandwidth or batteries.

GIFs that use the video element have smaller file sizes and thus use less bandwidth and less energy, making them an appealing alternative to the GIF format. Displaying GIFs this way is growing in popularity, and iOS users will no longer have a subpar viewing GIF experience on popular sites like Imgur. The full Webkit video policies and use case examples are available through the Webkit blog post.

The changes to Safari will be implemented as part of iOS 10, currently available to developers and public beta testers. iOS 10 will see a release this fall, likely alongside new iOS devices.

Tag: Safari
Related Forum: iOS 10

Popular Stories

Generic iOS 18

Apple Seeds Second Release Candidate Versions of iOS 18.2 and More With Genmoji, Image Playground and ChatGPT Integration

Monday December 9, 2024 10:06 am PST by
Apple today seeded the second release candidate versions of upcoming iOS 18.2, iPadOS 18.2, and macOS 15.2 updates to developers and public beta testers for testing purposes, a week after releasing the first RCs. The first iOS 18.2 RC had a build number of 22C150, while the second RC's build number is 22C151. Release candidates represent the final version of beta software that's expected to see a ...
Generic iOS 18

When Is iOS 18.2 Coming Out?

Tuesday December 10, 2024 1:43 am PST by
The next iOS 18.2 update featuring more substantial Apple Intelligence features will be released to the public before the holidays, according to Apple, but we have a more definite timeframe from other sources. In a newsroom article dated October 28 highlighting Apple Intelligence capabilities, Apple states that "new ‌Apple Intelligence‌ features will be available in December." Then in...
iPhone SE 4 Single Camera Thumb 3

iPhone SE 4 Said to Feature 48MP Rear Lens, 12MP TrueDepth Camera

Monday December 9, 2024 4:48 am PST by
Apple's forthcoming iPhone SE 4 will feature a single 48-megapixel rear camera and a 12-megapixel TrueDepth camera on the front, according to details revealed in a new Korean supply chain report. ET News reports that Korea-based LG Innotek is the main supplier of the front and rear camera modules for the more budget-friendly ~$400 device, which is expected to launch in the first quarter of...
iOS 18

Here Are Apple's Full Release Notes for iOS 18.2

Thursday December 5, 2024 11:48 am PST by
Apple seeded the release candidate version of iOS 18.2 today, which means it's going to see a public launch imminently. Release candidates represent the final version of new software that will be provided to the public should no last minute bugs be found, and Apple includes release notes with the RC launch. The iOS 18.2 release notes provide a look at all of the new features that are coming...
Apple MacBook Pro M4 hero

MacBook Pros With OLED Displays Won't Have a Notch, Roadmap Shows

Monday December 9, 2024 7:36 am PST by
Apple plans to remove the notch from the MacBook Pro in a few years from now, according to a roadmap shared by research firm Omdia. The roadmap shows that 14-inch and 16-inch MacBook Pro models released in 2026 will have a hole-punch camera at the top of the display, instead of a notch. It is unclear if there would simply be a pinhole in the display, or if Apple would expand the iPhone's...
vipps nfc tap to pay iphone

World's First Apple Pay Alternative for iPhone Launches in Norway

Monday December 9, 2024 1:28 am PST by
Norwegian payment service Vipps has become the world's first company to launch a competing tap-to-pay solution to Apple Pay on iPhone, following Apple's agreement with European regulators to open up its NFC technology to third parties. Starting December 9, Vipps users in Norway can make contactless payments in stores using their iPhones. The service initially supports customers of SpareBank...
New Things Your iPhone Can Do in iOS 18

20 New Things Your iPhone Can Do in iOS 18.2

Friday December 6, 2024 4:42 am PST by
Apple is set to release iOS 18.2 in the second week of December, bringing the second round of Apple Intelligence features to iPhone 15 Pro and iPhone 16 models. This update brings several major advancements to Apple's AI integration, including completely new image generation tools and a range of Visual Intelligence-based enhancements. There are a handful of new non-AI related feature controls...
iPhone 17 Slim Feature

iPhone 17 'Air' Expected to Be ~2mm Thinner Than iPhone 16 Pro

Friday December 6, 2024 4:07 pm PST by
In 2025, Apple is planning to debut a thinner version of the iPhone that will be sold alongside the iPhone 17, iPhone 17 Pro, and iPhone 17 Pro Max. This iPhone 17 "Air" will be about two millimeters thinner than the current iPhone 16 Pro, according to Bloomberg's Mark Gurman. The iPhone 16 Pro is 8.25mm thick, so an iPhone 17 that is 2mm thinner would come in at around 6.25mm. At 6.25mm,...
airpods pro 2 gradient

AirPods Pro 3 Expected Next Year: Here's What We Know

Thursday November 28, 2024 3:30 am PST by
Despite being released over two years ago, Apple's AirPods Pro 2 continue to dominate the wireless earbud market. However, with the AirPods Pro 3 expected to launch sometime in 2025, anyone thinking of buying Apple's premium earbuds may be wondering if the next generation is worth holding out for. Apart from their audio and noise-canceling performance, which are generally regarded as...

Top Rated Comments

thisisnotmyname Avatar
109 months ago
Thank you! All browsers should implement a flag that stop ALL autoplay audio/video without explicit input from the user. No javascript and HTML5 workarounds. I'm fine with it impacting my browsing experience if I never have to deal with another autoplay video again.
Score: 13 Votes (Like | Disagree)
Michael Goff Avatar
109 months ago
...but autoplay has been a nonissue since forever if you use ClickToPlugin & ClickToFlash?!
iOS. iOS. iOS.
Score: 10 Votes (Like | Disagree)
KALLT Avatar
109 months ago
I wish that Safari for OS X gets an option to prevent autoplay.
Score: 7 Votes (Like | Disagree)
Makosuke Avatar
109 months ago
Yeah the article is using "GIF" like it's a generic term for this kind of animated image. This feature has absolutely nothing to do with the actual .gif format.

I'm personally not a fan of using the GIF term like that, it's too ambiguous. I guess we would need a shorter term than "soundless autoplaying looping inline video".
It's not ambiguous, it's wrong. Blatantly so. And until I read the comments, this article was making no sense at all to me because of it.

"Animated GIF" is a specific term for a specific thing with specific technical meaning--something that is widely used at that. Small looping video clips in another format, even if they serve the same purpose (and do it drastically better since animated GIF compression is embarrassingly inefficient), are no more "animated GIFs" than a RAW file is a JPEG.

We don't call a JPEG image of some text a "web page", we don't call FLAC files "MP3s", and if you start calling blu-ray discs or VCDs "DVDs", even though they all store video and look superficially the same, you're going to get some very annoyed people.

Why should any self-respecting news outlet call proper looping video clips "animated GIFs" when they're not?
Score: 6 Votes (Like | Disagree)
pgiguere1 Avatar
109 months ago
Am I correct in assuming that by "GIFs that use the video element", the post really means "silent videos", not actual GIFs. GIFs do not appear to be a supported media format for the video element (https://developer.mozilla.org/en-US/docs/Web/HTML/Supported_media_formats), and using "GIF" — an actual file format — to refer to silent videos is pretty confusing.
Yeah the article is using "GIF" like it's a generic term for this kind of animated image. This feature has absolutely nothing to do with the actual .gif format.

I'm personally not a fan of using the GIF term like that, it's too ambiguous. I guess we would need a shorter term than "soundless autoplaying looping inline video".

We should create that term, and while we're at it, create an actual replacement for the GIF format that's both standard and portable.
Score: 5 Votes (Like | Disagree)
dpx55 Avatar
109 months ago
How about an new MacBook Pro to run it on?
Score: 4 Votes (Like | Disagree)