[whatwg] Video
Ian Hickson
ian at hixie.ch
Fri Aug 3 23:14:01 PDT 2007
On Mon, 30 Oct 2006, Charles Iliya Krempeaux wrote:
>
> I guess I wasn't paying attention when the Audio interface was being
> discussed, because I totally missed it.
>
> Looking at it now, I'd make some alterations to it.
>
> For example, there's a difference between "pausing" and "stopping".
> (With "pausing" you still have your "position" and a "velocity" in the
> audio stream. With "stopping", each of those are null/nil.) And there
> should be different procedures for each.
This is now fixed.
> Also, there should be a way of playing at different speeds and playing
> backwards too.
Done.
> Also... when implementing UIs, it's useful to have a "toggle()"
> procedure. Something that makes it "pause" if it is "playing". And
> makes it "play" if it is "pausing". Without this you have to keep track
> of the state of the player.
This is now relatively easy to do.
Cheers,
--
Ian Hickson U+1047E )\._.,--....,'``. fL
http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,.
Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg
mailing list