W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2011

[whatwg] HTML5 Video - Issue and Request for improvment

From: Monty Montgomery <xiphmont@gmail.com>
Date: Sat, 29 Jan 2011 20:19:42 -0500
Message-ID: <AANLkTikYGfCdSkvbk67jmqeib3UKx3U8C8cUaJYAni=k@mail.gmail.com>
> If I want to toggle play/pause
> on video area click, then I cannot do this, because clicking on the play
> control button, fires play, then click event fires for video tag and when I
> toggle It pauses. So this behavior that every popular flash player has
> cannot be achieved. There is no way to understand that the click.target is
> the embedded browser controls area.

You can do it by writing your own controls for an overlay div.

It's not as involved as it sounds. One of the demos at OVC this past
fall was a ten-minute demo of writing full custom controls from
scratch, including drawing the buttons, etc.

Received on Saturday, 29 January 2011 17:19:42 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:30 UTC