[whatwg] Frame advance feature for a paused VIDEO

Robert O'Callahan robert at ocallahan.org
Mon May 25 16:25:25 PDT 2009


On Mon, May 25, 2009 at 7:18 PM, Philip Jägenstedt <philipj at opera.com>wrote:

> On Thu, 21 May 2009 06:35:39 +0200, Biju <bijumaillist at gmail.com> wrote:
>
>  I dont see a way to do frame advance feature for a paused VIDEO.
>>
>> Is there a way to achieve that ?
>> As well as frame backward also.
>>
>> Thanks
>> Biju
>>
>
> If you pause the video and set currentPosition it should advance to that
> frame. As long as you know the frame rate you're good to go. All in theory
> of course, implementations may not be all the way there yet.


I don't think there is a standard way to expose the frame rate. We might
even want something more general than the frame rate, since conceivably you
could have a video format where the interval between frames is variable.

Rob
-- 
"He was pierced for our transgressions, he was crushed for our iniquities;
the punishment that brought us peace was upon him, and by his wounds we are
healed. We all, like sheep, have gone astray, each of us has turned to his
own way; and the LORD has laid on him the iniquity of us all." [Isaiah
53:5-6]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20090526/04d6c9f1/attachment-0002.htm>


More information about the whatwg mailing list