On Tue, Sep 21, 2010 at 2:14 PM, Chris Pearce <span dir="ltr"><<a href="mailto:chris@pearce.org.nz">chris@pearce.org.nz</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div bgcolor="#ffffff" text="#000000"><div class="im">
On 21/09/2010 2:37 p.m., Robert O'Callahan wrote:
</div><blockquote type="cite"><div class="im">On Mon, Sep 20, 2010 at 10:31 PM, Shiv Kumar <span dir="ltr"><<a href="mailto:skumar@exposureroom.com" target="_blank">skumar@exposureroom.com</a>></span>
wrote:<br>
</div><div class="im"><div class="gmail_quote"><br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal"><span style="font-size:11pt;color:rgb(31, 73, 125)"> The only thing that remains then
is if web developers would like
control over the poster, such as to show the poster
after the video has ended,
then there should be a way to do that. For this we
need a method to show the
poster once again. Current there is no way to get the
poster to show again and
the load() method is not the answer, nor is resetting.
A simple method that
does not impact anything else will do the trick. </span></p>
</div>
</div>
</blockquote>
<div><br>
I am trying to understand why load() is not an adequate
answer.<br>
<br>
</div>
</div>
</div></blockquote>
<br>
One caveat: if you use load() to reset the poster image, you'll
trigger all the events and state changes, and reset the volume,
currentTime, playbackRate and so on.<br></div></blockquote><div><br><br>As it currently stands, load() also resets the pause state and reloads the media resource, making it a bit useless for this need. This is why I considered a reset() function, which would essentially allow you to reset the current resource to the initial playback state, i.e. including being in pause state (if the element has a pause attribute) and resetting the currentTime to 0 and showing the poster. We should probably not reset the playbackRate and the volume though, or any of the selected TimedTracks, and of course we should avoid re-downloading the resource.<br>
<br>Cheers,<br>Silvia.<br><br></div></div><br>