Skip to content

Instantly share code, notes, and snippets.

@blakeeb

blakeeb/youtube_bug.html

Last active Dec 9, 2015
Embed
What would you like to do?
YouTube Bug Report: Inconsistent Rendering between AS3 and HTML5
<html>
<head>
<style>
iframe { border: 0; }
</style>
</head>
<body>
<h1>Inconsistent Rendering Between AS3 and HTML5 YouTube Players</h1>
<p>Examples from <a href="https://developers.google.com/youtube/player_parameters#AS3_Object_Embeds">Google's Documentation</a></p>
<p>With parameters:</p>
<pre>modestbranding=1&
controls=2&
showinfo=0&
html5=1</pre>
<h2>HTML5</h2>
<iframe src="http://www.youtube.com/embed/Lh0Z4QL27pE?modestbranding=1&controls=2&showinfo=0&html5=1" width=430 height=268></iframe>
<p>Bug: showinfo=0 is not respected</p>
<h2>AS3</h2>
<object width="430" height="268">
<param name="movie"
value="http://www.youtube.com/v/Lh0Z4QL27pE?version=3&modestbranding=1&controls=2&showinfo=0"></param>
<param name="allowScriptAccess" value="always"></param>
<embed src="http://www.youtube.com/v/Lh0Z4QL27pE?version=3&modestbranding=1&controls=2&showinfo=0"
type="application/x-shockwave-flash"
allowscriptaccess="always"
width="430" height="268"></embed>
</object>
<p>Bug: controls=2 is not respected</p>
<p>(as of 2012-12-17)</p>
</body>
<!-- blake@benthall.net -->
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment