[Webkit-unassigned] [Bug 26304] [GTK] Add controls for playing html5 video.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 14 10:27:07 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=26304





--- Comment #14 from Zan Dobersek <zandobersek at gmail.com>  2009-09-14 10:27:07 PDT ---
It's obvious that the whole drawing and pimping that is being done now isn't
actually necessary to . I've combined this and two more methods of
drawing/rendering these controls into this list:

- Pimping the hell out of it: Panel is rounded, partially transparent, it just
looks cool, web 2.0-like. That's what's being done now and uses many magic
numbers or at least a bit of math to center the things appropriately. It's of
course using system theme's colors and icons and, again, looks cool and sort of
complete.
- Keeping it simple: Simple rectangular panel, with system theme's colors and
buttons. No heavy math, just some basic positioning of the icons to a proper
place. Simple, yet not so bad looking.
- Keeping it even more simple: Everything is drawn with what's in WebCore -
triangle as a play button, two rectangles for a pause button, primitive-looking
mute/unmute button ... not so stylish, but very simple. Qt does that in some
way.

I'd go for either pimping or the less simple variant. Both offer good style
integration into the theme. For the sake of things getting done, the less
simple variant could be the first one coded and reviewed, with the second one
done if there's actually a need for the good looks and the nerves for doing it.
Of course, any comments, advices, thoughts on these methods are warmly
welcomed.

There's also the aspect of size - currently, the pimping method's control panel
is 40px high and 400px wide by default (for audio elements). Size is such
because of the use of 32x32 pixels sized icons. I'm not sure we should go for
such a big size, it's probably just not normal to encounter a 400x40px controls
in some sites. Therefor, if we used the less simple variant, I'd go for 20px
height and the use of 16px icons. Any comments, thoughts?

Regards,
Zan Dobersek

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list