Last active
December 9, 2015 20:18
-
-
Save blakeeb/4323055 to your computer and use it in GitHub Desktop.
YouTube Bug Report: Inconsistent Rendering between AS3 and HTML5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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> | |
<!-- [email protected] --> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment