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

[whatwg] HTML5 Video - Issue and Request for improvment

From: Lubomir Toshev <lubo_toshev@dir.bg>
Date: Sat, 29 Jan 2011 13:21:46 +0200
Message-ID: <00d301cbbfa6$b9d4f9d0$2d7eed70$@bg>
Hi all,

 

I've submitted the following bug to Chrome & Opera browsers:
http://code.google.com/p/chromium/issues/detail?id=70778 

And it was closed as won't fix because the behavior is expected. I think it
should be changed. A brief description of the problem is that when the video
tag has embedded browser controls displayed and I click anywhere on the
controls, they cause a video tag click event. 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. I think that a nice improvement will be
to expose this information, in the target, that it actually is embedded
browser controls. Or clicking the embedded browser controls should not
produce a click event for video tag. After all browser controls are native
and do not have representation in the DOM. Let me know what do you think
about this?

 

Another thing that I see as a limitation is that video should expose API for
currentFrame, so that when control developers want to add support for
subtitles on their own, to be able to support formats that display the
subtitles according to the current video frame. This is a limitation to the
current design of the video tag.

 

Thanks,

Lubomir Toshev
Received on Saturday, 29 January 2011 03:21:46 UTC

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