[Bug 13333] audio, video (and source) elements require param children or equivalent

http://www.w3.org/Bugs/Public/show_bug.cgi?id=13333

--- Comment #17 from Glenn Adams <glenn@skynav.com> 2011-07-25 12:43:33 UTC ---
(In reply to comment #15)
> If an eventual standardisation is envisaged of such parameters, and a browser
> is intending to experiment with a new "parameter", they will just pick an
> attribute that has not been used yet by the standards and other browsers and
> propose that in preparation for standardisation. For JavaScript developers, the
> data-* attributes are sufficient for experimentation and demonstration of a use
> case prior to proposing it for standardisation.
> 
> BTW: you seem to believe that <object> is deprecated. That is not the case, I
> just wanted to make that clear. You can continue to use <object> with a browser
> plugin, even for any needs where you have special audio and video requirements.

(1) it is not appropriate for other standards organizations, e.g., those
writing profiles on HTML5, to define attributes on video/audio elements; such
practice is considered poor form

(2) i have stated it a number of times in this thread, but the use of param I
am describing here is *NOT* intended to be interpreted by JavaScript; while
that is possible, and I do not preclude it, it is beside the point for the
purpose of this bug report; this bug report is addressing the need for the
content author to specify one or more parameters to be interpreted by the UA
for the purpose of configuring the transport, decoding, playback, rendering, or
other usage of video/audio content when specified with the video/audio element
types, and where such parameters are not yet standardized as content attributes
by HTML5;

(3) saying "please use <object>" is not a sufficient answer unless you redefine
HTMLObjectElement as HTMLVideoElement or HTMLAudioElement (according to the
media type) and additionally add all the new equipment defined for use with
video/audio to the object element;

So, to reiterate:

(1) using non-standard attributes on video/audio in the HTML syntax of HTML5
won't work for other defining (external) standards/specifications;
(2) using data-* won't work because that is based on JS interpretation only;
(3) using <object/> will not work because it does not implement
HTML{Video,Audio}Element nor does it have the other new mechanisms of
video/audio, e.g., <source> children, <track> children, etc.

G.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Monday, 25 July 2011 12:43:35 UTC