Bug 152500 - [GTK] media controls is always displayed when video has a text track
Summary: [GTK] media controls is always displayed when video has a text track
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: WebKit Local Build
Hardware: Other Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-22 04:35 PST by Wonchul Lee
Modified: 2016-01-23 14:51 PST (History)
3 users (show)

See Also:


Attachments
Patch (2.55 KB, patch)
2016-01-14 04:14 PST, Wonchul Lee
no flags Details | Formatted Diff | Diff
Patch (6.28 KB, patch)
2016-01-18 19:59 PST, Wonchul Lee
no flags Details | Formatted Diff | Diff
Patch (6.25 KB, patch)
2016-01-23 08:21 PST, Wonchul Lee
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Wonchul Lee 2015-12-22 04:35:36 PST
The media controls show up even the video does not have 'controls' attribute. 
Chrome and old (2.4.5) Webkit does not display media controls with it.

test sample : http://www.kaizou.org/demos/video-text-track-demo/
Comment 1 Wonchul Lee 2016-01-14 04:14:50 PST
Created attachment 268953 [details]
Patch
Comment 2 Michael Catanzaro 2016-01-18 06:46:05 PST
Comment on attachment 268953 [details]
Patch

Thanks for this patch. The code changes look sane, but I think this needs to be committed with a layout test, unless there's some reason it would be hard to test.
Comment 3 Wonchul Lee 2016-01-18 19:59:53 PST
Created attachment 269254 [details]
Patch
Comment 4 Wonchul Lee 2016-01-18 20:03:21 PST
@Michael, thanks for reviewing it, I updated some layout test what checked media controls not displaying on video with text track without 'controls' attribute by default and showing media controls on fullscreen regardless of 'controls' attribute.
Comment 5 Michael Catanzaro 2016-01-23 07:39:27 PST
Comment on attachment 269254 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=269254&action=review

Thanks Wonchul. Let's just rephrase the English text a bit:

> LayoutTests/media/video-controls-no-display-with-text-track-expected.txt:1
> +Tests that not showing video controls with text track without controls attribute by default and displaying it when request fullscreen

How about: "Tests that video controls are not shown for videos with a text track when the controls attribute is not present, except when fullscreen."
Comment 6 Wonchul Lee 2016-01-23 08:21:38 PST
Created attachment 269671 [details]
Patch
Comment 7 Wonchul Lee 2016-01-23 08:23:16 PST
Thanks, I rephrased it as you mentioned.
Comment 8 WebKit Commit Bot 2016-01-23 14:51:51 PST
Comment on attachment 269671 [details]
Patch

Clearing flags on attachment: 269671

Committed r195511: <http://trac.webkit.org/changeset/195511>
Comment 9 WebKit Commit Bot 2016-01-23 14:51:56 PST
All reviewed patches have been landed.  Closing bug.