<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<br><div><div>On Mar 21, 2007, at 7:20 PM, Robert Brodrecht wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div 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; "><br></div></blockquote></div></div></blockquote><blockquote type="cite"><div style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><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?&nbsp; 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><div>&nbsp;&nbsp;No, it is a multiple of the file's intrinsic (or "natural") rate.&nbsp;"Frames per second" loses meaning quickly with digital media files, where individual frames can have arbitrary duration (true even for animated GIF files).&nbsp;</div><div><br class="webkit-block-placeholder"></div><br><blockquote type="cite"><div style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><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?&nbsp; 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></blockquote><div>&nbsp;&nbsp;It is based on the presence of absence of an audio track, so a video element may or may not return true.</div></div><br><div>eric</div></body></html>