Firefox to convert old YouTube Flash code to HTML5 Video

Mozilla has added a feature to Firefox 46 that will convert old YouTube Flash code to HTML5 Video automatically under certain circumstances.

When YouTube started out, Flash was the dominating technology used to stream video on the Internet, and the first player that YouTube made available to webmasters to embed videos on third-party sites used Flash exclusively.

YouTube changed the code later on to reflect changes in streaming technologies. From a technical perspective, YouTube started to offer embed codes as iframes instead of objects.

The Flash code works fine after all these years, but only if Adobe Flash is installed in the browser. If that is not the case, a "plugin is missing" error message is displayed.

If you take this old Ghacks article on Line Rider[3], and there specifically the first video embedded on the page, you will get the error message "A plugin is needed to display this content" if Flash is not installed in the browser or blocked on the site.

firefox flash embed

The second video on the same page uses the new embed code and it won't show the error message as the HTML5 video player is used in this case automatically.

Since Mozilla does not have the luxury of a native Flash integration and the fact that plugins will be a thing of the past in the near future, something had to be done about that.

Mozilla added code to its Firefox web browser to convert embedded YouTube videos using the old Flash embed code to the new embed code if Flash is not installed or enabled on the page. This affects YouTube embeds on third-party sites only.

It needs to be noted that Firefox won't enforce the use of HTML5. If Flash is installed in the browser, nothing changes at all as Flash will be used in the case to power the video player.

Deactivate the feature

Mozilla plans to launch the feature in Firefox 46. It is already part of the organization's Nightly web browser and enabled by default.

firefox youtube embed

Firefox users who don't require the feature, can deactivate it in the following way:

  1. Load about:config in the browser's address bar.
  2. Confirm that you will be careful if a warning prompt is displayed.
  3. Find plugins.rewrite_youtube_embeds using search.
  4. Double-click on the preference name.

If you set it to false, Firefox will not rewrite old Flash YouTube embed code if Flash is not installed or enabled.

You may change the preference to its default value at any time by repeating the process outlined above.

Closing Words

While I don't encounter many old YouTube videos embedded on third-party websites, it seems to have been something of a problem for part of Mozilla Firefox's user base.

The way it is implemented offers the best of both worlds as users who don't want the feature can disable it easily in the browser's advanced configuration dialog. (via Sören Hentzschel[4])

Summary
Article Name
Firefox to convert old YouTube Flash code to HTML5 Video
Description
Mozilla Firefox 46 ships with an automated setting that converts YouTube Flash code to HMTL5 on third-party sites if Flash is not installed in the browser.
Author
Publisher
Ghacks Technology News
Logo
Please share this article

facebooktwittergoogle_plusredditlinkedinmail




References

  1. ^ (www.ghacks.net)
  2. ^ Firefox (www.ghacks.net)
  3. ^ old Ghacks article on Line Rider (www.ghacks.net)
  4. ^ Sören Hentzschel (www.soeren-hentzschel.at)
  5. ^ Facebook (www.facebook.com)
  6. ^ Twitter (twitter.com)
  7. ^ Google+ (plus.google.com)
  8. ^ View all posts by Martin Brinkmann → (www.ghacks.net)
  9. ^ Home (www.ghacks.net)
  10. ^ Firefox (www.ghacks.net)
  11. ^ (www.ghacks.net)
  12. ^ (www.ghacks.net)
  13. ^ Popular (www.ghacks.net)
  14. ^ Why Microsoft is pushing Windows 10 hard (w ww.ghacks.net)
  15. ^ Microsoft may be collecting more data than initially thought (www.ghacks.net)
  16. ^ Surprise? 40% of Firefox users don't use add-ons (www.ghacks.net)
  17. ^ Microsoft responds to Windows 10 upgrade concerns (www.ghacks.net)
  18. ^ Latest (www.ghacks.net)
  19. ^ Website Grader: Quick Performance, Mobile, SEO and Security tests (www.ghacks.net)
  20. ^ qBittorrent Tips that improve the Bittorrent client (www.ghacks.net)
  21. ^ How to disable Windows Feedback on Windows 10 (www.ghacks.net)
  22. ^ Xiaomi's insane unlock process for Mi device bootloaders (www.ghacks.net)
  23. ^ Deal of the Week: Learn Linux Bundle (www.ghacks.net)
  24. ^ GWX Stopper: Block the Windows 10 upgrade offer (www.ghacks.net)
  25. ^ Apple (www.ghacks.net)
  26. ^ Development (www.ghacks.net)
  27. ^ Facebook (www.ghacks.net)
  28. ^ Games (www.ghacks.net)
  29. ^ Ghacks (www.ghacks.net)
  30. ^ Ha rdware (www.ghacks.net)
  31. ^ Internet (www.ghacks.net)
  32. ^ Internet Explorer (www.ghacks.net)
  33. ^ Linux (www.ghacks.net)
  34. ^ Microsoft (www.ghacks.net)
  35. ^ Mobile Computing (www.ghacks.net)
  36. ^ Music And Video (www.ghacks.net)
  37. ^ Networks (www.ghacks.net)
  38. ^ Opera (www.ghacks.net)
  39. ^ Security (www.ghacks.net)
  40. ^ Tutorials (www.ghacks.net)


Related Posts To Firefox to convert old YouTube Flash code to HTML5 Video


Firefox to convert old YouTube Flash code to HTML5 Video Rating: 4.5 Posted by: meyiluse

Search Here

Popular Posts

Total Pageviews

Recent Posts

Partners