johndyer/mediaelement — pull request #1076 by clkao (2014-01-15 12:54:20+00:00)
Title: Switch to youtube iframe api

This allows users to to embed youtube without the flashmediaelement.swf file, by using the [youtube iframe api](https://developers.google.com/youtube/iframe_api_reference). The embed player itself is by default still flash, but on chrome if you disable the flash plugin, it loads the html5 player.

By default the flash plugin is still used, as the default plugin priority use flash > youtube. But if your mediaelement option is set to ['youtube', 'flash'], you should be all set.

This will breaks IE7 since the iframe api requires iframe postMessage. But it's a matter of detecting IE version and fallback to either the play_api or the mediaelement flash plugin.