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

Top Rated Comments

(View all)
Avatar
53 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)
Avatar
53 months ago

...but autoplay has been a nonissue since forever if you use ClickToPlugin & ClickToFlash?!

iOS. iOS. iOS.
Score: 10 Votes (Like | Disagree)
Avatar
53 months ago
I wish that Safari for OS X gets an option to prevent autoplay.
Score: 7 Votes (Like | Disagree)
Avatar
53 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)
Avatar
53 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)
Avatar
53 months ago
How about an new MacBook Pro to run it on?
Score: 4 Votes (Like | Disagree)

Top Stories

Apple-Acquired Dark Sky Officially Shuts Down Android App

Saturday August 1, 2020 3:43 pm PDT by
Apple in March purchased weather app Dark Sky, and at that time, Dark Sky's developers said that the app's Android version would be discontinued on July 1, 2020. However, instead of shuttering the app on that date, the app's developers announced that the discontinuation would be delayed for another month. Now that it's August, Android users are no longer able to access the app, and...

Apple May Launch This Year's 'iPhone 12' Lineup in Two Stages, With 6.1-inch Models Debuting First

Monday August 3, 2020 3:14 am PDT by
Apple last week confirmed that its "‌iPhone‌ 12" launch will be delayed this year due to the ongoing global health crisis and restrictions on travel. Apple last year started selling iPhones in late September, but this year, Apple projects supply will be "available a few weeks later," suggesting a release sometime in October. We're expecting a total of four OLED iPhones in 5.4, 6.1, and...

Apple Announces New 27-Inch iMac With 10th-Gen Processors, Up to 128GB RAM, 1080p Webcam, True Tone, and More

Tuesday August 4, 2020 8:07 am PDT by
Apple today announced a new 27-inch iMac with faster 10th-generation Intel Core processor options, next-generation AMD graphics, up to 128GB of RAM, a higher-resolution 1080p front-facing FaceTime camera, a True Tone display with a nano-texture glass option, a T2 chip, higher fidelity speakers, studio-quality microphones, and more. A breakdown of the new 27-inch iMac's features and specs:10th...

Apple Explains Why You Might See 'Not Charging' When a Mac is Plugged In

Monday August 3, 2020 1:42 pm PDT by
If you have a Mac and have seen a "Not Charging" warning when plugging it in to power, Apple last week released a support document that explains why. Macs running macOS 10.15.5 or later have a Battery Health Management feature to preserve the life of the battery, and occasionally, the Battery Health Management option will cause the Mac to pause its charging for calibration purposes.Depending ...

Top Stories: Try the 5.4-Inch iPhone 12 Display Size, Blockbuster Earnings, Tim Cook at Antitrust Hearing

Saturday August 1, 2020 6:00 am PDT by
Another busy week of Apple news and rumors has wrapped up, with a lot of focus on Tim Cook's appearance at a Congressional antitrust hearing and a blockbuster earnings report. Subscribe to the MacRumors YouTube channel for more videos. We continued to hear rumors about the upcoming iPhone 12 lineup, including a rare admission from Apple that the lineup will launch "a few weeks later" than...

Unreleased iPod Touch with Mac Pro Glossy Black Finish Shared Online

Sunday August 2, 2020 11:32 am PDT by
Twitter user @DongleBookPro has today posted images of what seems to be a first-generation iPod Touch prototype with a 2013 Mac Pro-style glossy black finish. The Twitter user claims that the iPod Touch prototype pictured has "the same coating as the 2013 Mac Pro." Had the finish been selected for the final product, it also would have been similar to the metallic glossy black finish that...

Just How Small Will the 5.4-Inch iPhone 12 Screen Be? Try It Out for Yourself

Tuesday July 28, 2020 12:57 pm PDT by
As rumors of the iPhone 12 have continued to build over the past few months, the one model that has the most excitement around it is the smallest 5.4" model. The iPhone 12 is believed to be coming in 5.4", 6.7", and 6.1" sizes. Dummy models have shown how much smaller the 5.4" is compared to the rest of the iPhone lineup. The upcoming 5.4" iPhone falls in-between the size of the original...

Everything New in iOS 14 Beta 4: Apple TV Widget, Search Improvements, Exposure Notification API and More

Tuesday August 4, 2020 11:14 am PDT by
Apple today released the fourth developer betas of iOS and iPadOS 14 for testing purposes, tweaking and refining some of the features and design changes included in the update. Changes get smaller and less notable as the beta testing period goes on, but there are still some noteworthy new features in the fourth beta, which we've highlighted below. - Apple TV widget - There's a new Apple TV...

Microsoft to Stop Supporting Office 2016 for Mac in October

Monday August 3, 2020 12:21 pm PDT by
Microsoft's Office 2016 for Mac is set to reach its end of support date on October 13, 2020, and after that date, connecting to Office 365 services using the Office 2016 for Mac software will no longer be supported. Microsoft shared the detail in a support document from July highlighting which versions of Office will be supported for connecting to Office 365 services in the future.Connecting ...

Apple Shares Requirements for Default Third-Party Browser and Email Apps With Developers

Monday August 3, 2020 4:28 pm PDT by
Apple in iOS 14 plans to allow users to set a third-party app as the default email or browser app on an iPhone or iPad, replacing the current Apple-made default apps Safari and Mail. Apple hasn't provided many details on the new feature to users, but as noted by MacStories' Federico Vittici, Apple has shared documentation with developers who want their apps to have the option to be set as a...