Another regression since qtwebkit 2.2. Sound volume bar is often displaced and out of the video widget. Also, If browser supports directly opening of the media, after video plays to the end it disappears.
Page for testing: http://www.w3schools.com/html/tryit.asp?filename=tryhtml5_video_all
Some screenshots of the issue:
Picture nr. 3 is the situation where the video would disappear after playing to the end.
This is not specific to QtWebKit 2.3. I can reproduce the same issue in trunk with Qt5.
Created attachment 185732 [details]
Created attachment 185752 [details]
Fixes issue also for media files url's
The patch doesn't fix the issue on: http://www.w3schools.com/html/movie.mp4
My patch fixes it.
Confirming, David's patch fixed the sound volume bar.
Created attachment 188840 [details]
Comment on attachment 188840 [details]
Untagging for review. The underlying issue seems to be we use the Apple MediaControl shadow DOM, but with our own CSS and set of buttons.
All these patch attempts does is work around the wrong underlying shadow DOM tree.
Created attachment 188914 [details]
Another attempt, this time following Apple CSS, but keeping our style.
Comment on attachment 188914 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=188914&action=review
I can't say that those coordinates all makes sense to me, but I tested the patch and it's definitely an improvement.
> bottom: 0px;
This line is already in mediaControls.css, you should be able to remove it.
Committed r145214: <http://trac.webkit.org/changeset/145214>