Friday, November 22

Now Facebook Video Can Load Through HTML5 by Default

Facebook Inc. announced today that all of its videos will load through HTML5 by default. Like Facebook Many other tech giants are working to kill off Adobe Flash due to the format’s vast bugs and security flaws.

“We are continuing to work together with Adobe to deliver a reliable and secure Flash experience for games on our platform,” Facebook front-end engineer Daniel Baulig wrote in a blog post, “but have shipped the change for video to all browsers by default.”

“We decided to initially launch the HTML5 player to only a small set of browsers, and continuously roll out to more browsers, versions, and operating systems as we improved it and fixed small bugs,” Baulig said.

Not only did launching the HTML5 video player make development easier, but it also improved the video experience for people on Facebook. Videos now start playing faster. People like, comment, and share more on videos after the switch, and users have been reporting fewer bugs. People appear to be spending more time with video because of it.

Formerly, HTML5 handled the heavy lifting for Web video surfaces, including video for Newsfeed and various Pages, but didn’t work optimally on older browsers — thus, some of Facebook’s content had to load in Flash. However, the company has done extensive debugging to officially make HTML5 the default across the board.

In the long term, Baulig explains that the switch has made videos faster, more reliable, and prone to less complaints. On the development side, the switch allows the team to take advantage of Facebook’s HTML5 tools, like jest and WebDriver.