Short URL: http://html5.org/r/3968
| SVN | Bug | Comment | Time (UTC) |
|---|---|---|---|
| 3968 | 7576 | Say what the infinite attributes on <embed> are for. | 2009-09-22 11:19 |
Index: source
===================================================================
--- source (revision 3967)
+++ source (revision 3968)
@@ -21764,7 +21764,8 @@
<code>embed</code> element, so long as its name is
<span>XML-compatible</span> and contains no characters in the range
U+0041 .. U+005A (LATIN CAPITAL LETTER A LATIN CAPITAL LETTER
- Z).</p>
+ Z). These attributes are then passed as parameters to the
+ <span>plugin</span>.</p>
<p class="note">All attributes in <span>HTML documents</span> get
lowercased automatically, so the restriction on uppercase letters
@@ -21807,6 +21808,18 @@
plug-in vendor doesn't support the user's platform), then the user
will be unable to use the resource.</p>
+ <p>To pass the plugin a parameter "quality" with the value "high",
+ an attribute can be specified:</p>
+
+ <pre><embed src="catgame.swf" quality="high"></pre>
+
+ <p>This would be equivalent to the following, when using an
+ <code>object</code> element instead:</p>
+
+ <pre><object data="catgame.swf">
+ <param name="quality" value="high">
+</object></pre>
+
</div>