<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><BR><DIV><DIV>On Mar 21, 2007, at 5:08 PM, Maciej Stachowiak wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">CSS Timed Media Module proposal - <A href="http://webkit.org/specs/Timed_Media_CSS.html">http://webkit.org/specs/Timed_Media_CSS.html</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">HTML Timed Media Elements - <A href="http://webkit.org/specs/HTML_Timed_Media_Elements.html">http://webkit.org/specs/HTML_Timed_Media_Elements.html</A></DIV></BLOCKQUOTE></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I'm excited about Apple's video team being on board with this.  While everyone's efforts thus far have brought us a long way, having more info from audio and video professionals could really refine this.  Comments as I read:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BLOCKQUOTE type="cite"><DIV><FONT class="Apple-style-span" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;">If the presentation of timed media by the user agent has been disabled, if the resource has an unsupported type, or if the preparations for its presentation fail either because of a protocol failure or because the format of the media is unrecognized, the user agent must fire an error event on the element and display the element's fallback content, if available.</SPAN></FONT></DIV></BLOCKQUOTE></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>So, we have some fallback control.  That is good, as it is lacking from WHAT WG at the moment and was something I'm concerned about.   This is how I intuitively felt it should work.  I'm glad that is specified.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BLOCKQUOTE type="cite"><FONT class="Apple-style-span" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;">The </SPAN></FONT><FONT class="Apple-style-span" color="#FD3D00" face="Courier" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;"><B>controller</B></SPAN></FONT><FONT class="Apple-style-span" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;"> attribute is a </SPAN></FONT><A href="http://www.whatwg.org/specs/web-apps/current-work/#boolean0"><FONT class="Apple-style-span" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;"><FONT class="Apple-style-span" color="#0900CC">boolean attribute</FONT></SPAN></FONT></A><FONT class="Apple-style-span" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;">. If the attribute is present, the user agent must display a user interface which allows the user to control the media element. The </SPAN></FONT><A href="http://webkit.org/specs/HTML_Timed_Media_Elements.html#attr-height"><FONT class="Apple-style-span" color="#FD3D00" face="Courier" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">height</SPAN></FONT></A><FONT class="Apple-style-span" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;"> attribute on the element does not include the size of the controller, it is the size of the video element only</SPAN></FONT></BLOCKQUOTE></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I like being able to specify this, but the height of the controller needs to:</DIV><DIV>1) Be set normatively in this specification.  If the height of the controller area changes across browsers, it's going to be a source of irritation for developers.</DIV><DIV>2) Be set in CSS (as well as positioning options... I'd guess through a pseudo element like :controller?).</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BLOCKQUOTE type="cite"><FONT class="Apple-style-span" color="#E30000" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;">Should we specify the position of the controller?</SPAN></FONT><FONT class="Apple-style-span" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;"> </SPAN></FONT><FONT class="Apple-style-span" color="#E30000" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;">Should we specify </SPAN></FONT><FONT class="Apple-style-span" color="#E30000" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;"><I>what</I></SPAN></FONT><FONT class="Apple-style-span" color="#E30000" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;"> controls it should have?</SPAN></FONT></BLOCKQUOTE></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I could take it or leave it.  Specifying what controls might be nice.  Specifying the position, I think, should be a CSS thing.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BLOCKQUOTE type="cite"><FONT class="Apple-style-span" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;">When the </SPAN></FONT><A href="http://webkit.org/specs/HTML_Timed_Media_Elements.html#dom-src"><FONT class="Apple-style-span" color="#FD3D00" face="Courier" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">src</SPAN></FONT></A><FONT class="Apple-style-span" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;"> attribute is set, the user agent must immediately begin to download the specified resource unless the user agent cannot support </SPAN></FONT><FONT class="Apple-style-span" color="#FD3D00" face="Courier" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">video</SPAN></FONT><FONT class="Apple-style-span" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;">/</SPAN></FONT><FONT class="Apple-style-span" color="#FD3D00" face="Courier" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">audio</SPAN></FONT><FONT class="Apple-style-span" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;">, or its support for </SPAN></FONT><FONT class="Apple-style-span" color="#FD3D00" face="Courier" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">video</SPAN></FONT><FONT class="Apple-style-span" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;">/</SPAN></FONT><FONT class="Apple-style-span" color="#FD3D00" face="Courier" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;">audio</SPAN></FONT><FONT class="Apple-style-span" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;"> has been disabled</SPAN></FONT></BLOCKQUOTE></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>One reason I like YouTube is that the download is user-initiated.  If I include YouTube content on my site, they see a nice thumbnail from the video and a big play button.  If they are on dial-up, they don't have to download it.  Autodownload, to me, is flawed.  I know I can set up the image and video stuff with JavaScript to work like YouTube.  But if the user DOESN'T have JavaScript on, they are stuck with nothing.  I would love to see an "autodownload" attribute to complement "autoplay" or use "autoplay=0" to disable the auto download.  A way to add a thumbnail would be nice while not auto downloading.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BLOCKQUOTE type="cite"><FONT class="Apple-style-span" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;">The DOM attribute </SPAN></FONT><FONT class="Apple-style-span" color="#FD3D00" face="Courier" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;"><B>currentRate</B></SPAN></FONT><FONT class="Apple-style-span" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;"> is the rate at which a media element is currently playing.</SPAN></FONT></BLOCKQUOTE></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I'm guessing this would be in frames per second?  Is it the frames per second it is playing or the available frames per second encoded in the video?</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BLOCKQUOTE type="cite"><FONT class="Apple-style-span" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;">The DOM attribute </SPAN></FONT><FONT class="Apple-style-span" color="#FD3D00" face="Courier" size="3"><SPAN class="Apple-style-span" style="font-size: 13px;"><B>hasAudio</B></SPAN></FONT><FONT class="Apple-style-span" size="4"><SPAN class="Apple-style-span" style="font-size: 16px;"> returns a value that specifies whether the element has audio media.</SPAN></FONT></BLOCKQUOTE></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Does a video element hasAudio return true or false?  Is this based only on the existence of some media or will it determine if the video actually has an audio track?</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><BR><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV>----------------------------------------------------------</DIV><DIV>Robert <<A href="http://robertdot.org">http://robertdot.org</A>></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><BR class="Apple-interchange-newline"></SPAN></SPAN> </DIV><BR></BODY></HTML>