Closed
Bug 1213568
Opened 9 years ago
Closed 9 years ago
Maximize standalone video when pressing F11
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
RESOLVED
FIXED
mozilla45
People
(Reporter: steffen.wilberg, Assigned: steffen.wilberg)
References
(Depends on 1 open bug, Blocks 1 open bug, )
Details
Attachments
(1 file)
Standalone videos should be maximized when pressing F11.
Currently, only the toolbars are hidden, but the size of the video is not enlarged.
It should be maximized instead, just as the Full Screen context menu item of the video does.
This relates to full screen, not video.
Component: Audio/Video: Playback → Layout
Assignee | ||
Comment 2•9 years ago
|
||
Best to use a small video for testing like http://www.quirksmode.org/html5/videos/big_buck_bunny.mp4
Assignee | ||
Comment 3•9 years ago
|
||
CC'ing folks from bug 1137009.
Assignee | ||
Comment 4•9 years ago
|
||
Bug 1213568: Maximize standalone video when pressing F11.
Attachment #8672418 -
Flags: review?(enndeakin)
Assignee | ||
Comment 5•9 years ago
|
||
Patch depends on bug 1119049, which is on fx-team, but not on m-c yet.
Err... Could it be Ctrl+F11? Or maybe Ctrl+Enter? Currently those do nothing on page. With F11 you'll get "another Spacebar" which does different action depending on what element is focused. It forces user to watch closely which element is focused - otherwise Spacebar will scroll the page.
Also, see my comment in bug 1119049
Flags: needinfo?(steffen.wilberg)
Assignee | ||
Comment 7•9 years ago
|
||
Alternate keyboard shortcuts like Ctrl+F11 would do nothing if the location bar or the search bar has focus. I don't think that would be better.
The content area should be focused most of the time. If it doesn't, you can't interact with the video with the keyboard at all.
If you load a video by pasting a link to the location bar, or opening it from disk by pressing Ctrl+O, the content area already has focus. You can press Space to Play/Pause, and with this patch F11 to switch to full screen.
Flags: needinfo?(steffen.wilberg)
Assignee | ||
Comment 8•9 years ago
|
||
Comment on attachment 8672418 [details]
MozReview Request: Bug 1213568: Maximize standalone video when pressing F11.
Bug 1213568: Maximize standalone video when pressing F11.
Attachment #8672418 -
Flags: review?(enndeakin) → review?(bzbarsky)
Comment 9•9 years ago
|
||
Comment on attachment 8672418 [details]
MozReview Request: Bug 1213568: Maximize standalone video when pressing F11.
https://reviewboard.mozilla.org/r/21695/#review21395
::: toolkit/content/TopLevelVideoDocument.js:19
(Diff revision 2)
> + if (ev.key == "F11") {
Is "F11" the fullscreen key on all our platforms?
r=me if it is. If not, this needs changes, obviously?
Attachment #8672418 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 10•9 years ago
|
||
Assignee | ||
Comment 11•9 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/072c116ae15aefa158b2f2ee13102abc634b460d
Bug 1213568: Maximize standalone video when pressing F11. r=bz
Comment 12•9 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox45:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
Comment 13•9 years ago
|
||
(In reply to Steffen Wilberg from comment #10)
> https://reviewboard.mozilla.org/r/21695/#review21395
>
> Yes, F11 is used on all platforms.
> https://support.mozilla.org/en-US/kb/keyboard-shortcuts-perform-firefox-
> tasks-quickly#w_miscellaneous
That article adapts to your platform. You can configure this on the top left to get its content for another platform (say, OS X). Where the displayed shortcut is:
Toggle Full Screen command+Shift+F
This shortcut is localized.
When looking at the code in https://dxr.mozilla.org/mozilla-central/source/browser/base/content/browser-sets.inc#359 it seems we also support F11 on OSX, apparently, but now this behaviour works on Windows/Linux but not on OSX for the default / most obvious (displayed in menus) shortcut. :-\
Can you file a followup bug?
Flags: needinfo?(steffen.wilberg)
Assignee | ||
Comment 14•9 years ago
|
||
Oops. Filed bug 1228784.
Assignee | ||
Updated•9 years ago
|
Flags: needinfo?(steffen.wilberg)
Assignee | ||
Comment 15•9 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•