WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
52315
[Qt] Use a big central media play control button for video element
https://bugs.webkit.org/show_bug.cgi?id=52315
Summary
[Qt] Use a big central media play control button for video element
Yi Shen
Reported
2011-01-12 11:41:10 PST
When chrome::requiresFullscreenForVideoPlayback() returns true, all other control buttons for the video element should be hidden, except the play button. When user clicks on the big centralized play button, the video starts playing.
Attachments
first try
(9.41 KB, patch)
2011-01-12 11:56 PST
,
Yi Shen
no flags
Details
Formatted Diff
Diff
screenshot
(148.06 KB, image/png)
2011-01-12 12:17 PST
,
Yi Shen
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Yi Shen
Comment 1
2011-01-12 11:56:10 PST
Created
attachment 78716
[details]
first try
Eric Seidel (no email)
Comment 2
2011-01-12 12:03:08 PST
Looks reasonable to me. CCing video folks in case they want to comment.
Eric Seidel (no email)
Comment 3
2011-01-12 12:04:28 PST
Comment on
attachment 78716
[details]
first try I don't really know what these controls are supposed to look like, so all I can do is rubber stamp this (which I'm willing to do). If you have concerns as to if you got the CSS "right" or not, you should ask one of the video folks I CC'd.
Eric Carlson
Comment 4
2011-01-12 12:14:02 PST
Why don't you split the audio::-webkit-media-xxx and video::-webkit-media-xxx rules in mediaControlsQt.css so you don't have to include duplicate audio::-webkit-media-xxx here? As you have it now, you will need to keep mediaControlsQt.css and mediaControlsQtFullscreen.css in sync whenever you change the style of an <audio> element.
Yi Shen
Comment 5
2011-01-12 12:17:01 PST
Created
attachment 78719
[details]
screenshot
Yi Shen
Comment 6
2011-01-12 12:23:23 PST
(In reply to
comment #4
)
> Why don't you split the audio::-webkit-media-xxx and video::-webkit-media-xxx rules in mediaControlsQt.css so you don't have to include duplicate audio::-webkit-media-xxx here? > > As you have it now, you will need to keep mediaControlsQt.css and mediaControlsQtFullscreen.css in sync whenever you change the style of an <audio> element.
Thanks for reviewing, Eric. I think you are right, But if you don't mind, I will split it in a separate bug when I got time (just after I finished
bug 51248
, which has the highest priority for me). Thanks again :)
Eric Seidel (no email)
Comment 7
2011-01-12 12:23:45 PST
Comment on
attachment 78716
[details]
first try removing from the cq to allow further discussion.
Yi Shen
Comment 8
2011-01-12 12:24:26 PST
(In reply to
comment #6
)
> (In reply to
comment #4
) > > Why don't you split the audio::-webkit-media-xxx and video::-webkit-media-xxx rules in mediaControlsQt.css so you don't have to include duplicate audio::-webkit-media-xxx here? > > > > As you have it now, you will need to keep mediaControlsQt.css and mediaControlsQtFullscreen.css in sync whenever you change the style of an <audio> element. > > Thanks for reviewing, Eric. I think you are right, But if you don't mind, I will split it in a separate bug when I got time (just after I finished
bug 51248
, which has the highest priority for me). Thanks again :)
Sorry, I mean
bug 51249
.
Andreas Kling
Comment 9
2011-01-13 06:51:22 PST
Comment on
attachment 78716
[details]
first try cq=me, Yi will clean up the CSS later on :)
WebKit Commit Bot
Comment 10
2011-01-13 07:12:21 PST
Comment on
attachment 78716
[details]
first try Clearing flags on attachment: 78716 Committed
r75711
: <
http://trac.webkit.org/changeset/75711
>
WebKit Commit Bot
Comment 11
2011-01-13 07:12:28 PST
All reviewed patches have been landed. Closing bug.
Ademar Reis
Comment 12
2011-01-13 11:06:15 PST
Revision
r75711
cherry-picked into qtwebkit-2.2 with commit ff08dd9 <
http://gitorious.org/webkit/qtwebkit/commit/ff08dd9
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug