What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 150 Stack Exchange communities.

Currently, this site embeds YouTube videos as Flash. (see an example: How to unlock the achievements related to hidden areas in Portal 2?)

However, this is not the best solution, as now YouTube also supports HTML5, and some users (like me!) prefer to use HTML5 player instead of Flash. Supposedly, it should also work on devices that don't have Flash player (I can't confirm because I don't have one).

The solution seems quite simple: just change the embed code to an iframe, as described at A New Way To Embed YouTube Videos

EDIT: YouTube Embedded Players and Player Parameters says:

Note: YouTube <object> embeds were deprecated on January 27, 2015. Please migrate your applications to the <iframe> embeds, which can intelligently use whichever embedded player – HTML (<video>) or Flash (<object>) – the client supports.

share|improve this question

migrated from meta.gaming.stackexchange.com Feb 3 '12 at 17:12

This question came from our discussion, support, and feature requests site for passionate videogamers on all platforms.

Is the HTML5 player now used? – Frankie Feb 17 at 2:50
@Chipperyman: Nope, not yet. Still using the embedded flash player. Tested by opening that link on both desktop and mobile Chrome. – Denilson Sá Feb 18 at 0:14
Surprisingly this has never been answered... – Jhawins Mar 3 at 21:42
Guess that when it breaks, this can be retagged as bug and maybe have better chance of getting official attention. Feature requests are in the very bottom of the team's radar/list. – Shadow Wizard Mar 11 at 13:29

2 Answers 2

up vote 9 down vote accepted

This is finally done. Quoting myself from here,

All Stack Exchange sites that have either YouTube or SoundCloud embedding enabled now use the respective IFRAME embeds. In light of recent flash-related happenings, we have also re-rendered all affected posts, which means that even old questions and answers that contain an embedded video will now use the HTML5 player.

Bye bye, Flash.

share|improve this answer
I see the preview does not "onebox" the links, is this by design? – Shadow Wizard Jul 15 at 11:30
Sort of, yes. It has never done it. The major problem is that the preview updates with every keystroke, which means the embed would be included anew multiple times a second, which is annoying and may also cause issues when YouTube isn't happy with you making so many requests in such a short time. – balpha Jul 15 at 11:33
Fair enough, though maybe it's better to think of some alternative... people love seeing in advance how their post is going to look like. :) – Shadow Wizard Jul 15 at 11:36
Thank you so much for the improvement! This makes browsing on SE app more convenient! (comparing to the big empty space, since Flash is not supported on most mobile apps) – Andrew T. Jul 15 at 12:32

This question was never answered and I also noticed the lack of support for the HTML 5 player. I know this isn't a but it's been 3 years.

Here is a userscript on openuserjs.org that enables this functionality by using the Youtube iframe API to replace the standard embed tags with iframes.

share|improve this answer
Although that's a great workaround, it still does not solve the issue for browsers without user-scripts support (like most/all mobile browsers). – Denilson Sá Mar 5 at 0:47
@DenilsonSá yeah... Sorry. – Jhawins Mar 5 at 15:51

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .