Categories: Innovation

Facebook Scraps Flash ‘For All Videos’

Facebook has dropped Adobe’s Flash technology in favour of HTML5 for all videos on the social network, becoming the latest major website to do so.

Amazon-owned video streaming site Twitch and video rental service Netflix have recently made similar moves.

“We recently switched to HTML5 from a Flash-based video player for all Facebook web video surfaces, including videos in News Feed, on Pages, and in the Facebook embedded video player,” said Facebook’s Daniel Baulig in a blog post. “We… have shipped the change for video to all browsers by default.”

He said games are still being delivered via Flash.

Flash has been criticised by industry observers as a security hazard, with cyber-criminals regularly making use of vulnerabilities in the platform to launch browser-based attacks on users’ systems.

HTML5 doesn’t use a plug-in, instead making use of browser-based technologies specified as part of the same HTML standard that governs other aspects of what’s displayed on web pages.

Facebook said it delayed making the shift because of variations in the way HTML5 is implemented in different software, which caused errors in some browsers.

The company also found that older browsers showed slower loading times and “a generally worse experience” using HTML5, Baulig said, adding that because of this HTML5 won’t be displayed by default on “a small set” of browsers.

Performance boost

He said Facebook also found the site took slightly longer to load with the HTML5 video player. “By fixing several small performance regressions and making multiple micro-optimizations, we finally reached a level we felt happy with shipping,” he wrote.

The new video technology had to undergo lengthy testing to ensure that its logging systems performed correctly, according to Baulig.

Security concerns aside, Baulig said the shift means that videos start playing faster. He said users interact more with the new videos and are spending more time with video generally following the switch to HTML5.

HTML5 also gives Facebook developers access to high-quality tools and testing infrastructure, and is more accessible to tools such as screen readers that provide accessibility to those with visual impairments.

Industry shift

Netflix said last week it had worked with Firefox on a new version of the browser’s HTML5-based video player that works seamlessly with the video-playing service.

Twitch said in September it plans to shift its videos to HTML5 from Flash in the second quarter of 2016.

Google’s YouTube switched to HTML5 videos by default in January of this year.

In August Amazon said it planned to drop Flash-based advertising from its e-commerce websites, after the most widely used browsers placed limits on the technology. The browser changes were themselves in response to attackers’ increasing use of security vulnerabilities in Flash to launch attacks.

Are you a Google expert? Take our quiz!

Matthew Broersma

Matt Broersma is a long standing tech freelance, who has worked for Ziff-Davis, ZDnet and other leading publications

Recent Posts

Open Source Groups Warn Of Ongoing Attacks

Open source groups warn of sophisticated social engineering attacks targeting JavaScript and other critical projects

5 hours ago

Hong Kong Approves Bitcoin, Ether ETFs

Hong Kong financial regulator approves exchange-traded funds for Bitcoin, Ether as it seeks to become…

6 hours ago

Trump Media Shares Buckle Over Secondary Offering Plans

Shares in Donald Trump's social media company Trump Media plummet on Monday after company announces…

6 hours ago

Apple Loses Smartphone Crown To Samsung Amidst China Pressure

Apple cedes top smartphone sales spot back to Samsung in first quarter as China sales…

7 hours ago

Apple’s Tim Cook Visits Vietnam Amidst China Troubles

Apple chief Tim Cook visits Vietnam as company seeks to expand consumer sales, diversify manufacturing…

7 hours ago

US Awards $6.4bn To Samsung For Expanded Texas Chip Production

US awards $6.5bn to Samsung Electronics under Chips Act as it seeks to expand domestic…

15 hours ago