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. 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 users who don't require the feature, can deactivate it in the following way: 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])
References
- ^ Posts by Martin Brinkmann (www.ghacks.net)
- ^ Firefox (www.ghacks.net)
- ^ old Ghacks article on Line Rider (www.ghacks.net)
- ^ Sören Hentzschel (www.soeren-hentzschel.at)
- ^ Facebook (www.facebook.com)
- ^ Twitter (twitter.com)
- ^ Google+ (plus.google.com)
- ^ View all posts by Martin Brinkmann → (www.ghacks.net)
- ^ Home (www.ghacks.net)
- ^ Firefox (www.ghacks.net)
- ^ Microsoft: next-gen processors only suppor ted by Windows 10 (www.ghacks.net)
- ^ How to avoid the latest LastPass Phishing Attack (www.ghacks.net)
- ^ Popular (www.ghacks.net)
- ^ Why Microsoft is pushing Windows 10 hard (w ww.ghacks.net)
- ^ Microsoft may be collecting more data than initially thought (www.ghacks.net)
- ^ Surprise? 40% of Firefox users don't use add-ons (www.ghacks.net)
- ^ Microsoft responds to Windows 10 upgrade concerns (www.ghacks.net)
- ^ Latest (www.ghacks.net)
- ^ Website Grader: Quick Performance, Mobile, SEO and Security tests (www.ghacks.net)
- ^ qBittorrent Tips that improve the Bittorrent client (www.ghacks.net)
- ^ How to disable Windows Feedback on Windows 10 (www.ghacks.net)
- ^ Xiaomi's insane unlock process for Mi device bootloaders (www.ghacks.net)
^ Deal of the Week: Learn Linux Bundle (www.ghacks.net) - ^ GWX Stopper: Block the Windows 10 upgrade offer (www.ghacks.net)
- ^ Apple (www.ghacks.net)
- ^ Development (www.ghacks.net)
- ^ Facebook (www.ghacks.net)
- ^ Games (www.ghacks.net)
- ^ Ghacks (www.ghacks.net)
- ^ Ha rdware (www.ghacks.net)
- ^ Internet (www.ghacks.net)
- ^ Internet Explorer (www.ghacks.net)
- ^ Linux (www.ghacks.net)
- ^ Microsoft (www.ghacks.net)
- ^ Mobile Computing (www.ghacks.net)
- ^ Music And Video (www.ghacks.net)
- ^ Networks (www.ghacks.net)
- ^ Opera (www.ghacks.net)
- ^ Security (www.ghacks.net)
- ^ Tutorials (www.ghacks.net)