Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable fullscreen in slide mode #127

Closed
wants to merge 1 commit into from

Conversation

wichert
Copy link
Contributor

@wichert wichert commented Mar 7, 2013

We are looking at enabling the browser's fullscreen mode if supported when entering slide mode. The attached changes are a first cut at doing this. This probably warrants more testing and discussion if this should be enabled by default or a configurable option.

@pepelsbey
Copy link
Member

There's definitely should be a way to see slides in presentation mode in normal browser window as currently there are four available modes: list and full in browser window, list and full in fullscreen mode. In your case there will be only two modes: window list and fullscreen full — which is less flexible, I guess.

And on code style: using curly brackets for if…else makes code more readable and predictable. Am I right @miripiruni?

@ai
Copy link

ai commented Jan 20, 2014

@pepelsbey we think to use Shower in our Brainwashing Rails cources, but we require fullscreen support.

I can help with JS, what is current status and what refactoring is needed?

@wichert
Copy link
Contributor Author

wichert commented Jan 20, 2014

For what it's worth we ended up writing our own slideshow library which supports fullscreen as well as a separate presenter console. You can find the code in the slides repository.

@ai
Copy link

ai commented Jan 20, 2014

@wichert ugly default styles in slides, I prefer Shower ;).

@wichert
Copy link
Contributor Author

wichert commented Jan 20, 2014

Styling is up to personal taste, and default CSS is there to customise. It should be trivial to adapt Shower’s CSS to work with slides since they have very similar markup structure if you want to.

@ai
Copy link

ai commented Jan 20, 2014

@wichert I prefer to add fullscreen in Shower, rather styling another framework.

Problem in Slides is not about taste, but about common design rules. I can not trust in slides engine, which doesn‘t respect design.

@wichert
Copy link
Contributor Author

wichert commented Jan 20, 2014

@ai This is getting incredibly off-topic for this ticket, but can you tell me where you feel Slides is not following common design rules? I'm nor aware of any rules being violated, but if there are I would like to fix that.

@tonyganch
Copy link
Member

@ai, «but we require fullscreen support» — how will this differ from ^⌘F, for example?

@ai
Copy link

ai commented Feb 15, 2014

@tonyganch my Chrome go to fullscreen without hiding tabs and address bar :-(. I use Create Web App to run presentation in shromeless mode.

@tonyganch
Copy link
Member

@ai, ⇧⌘F?

@ai
Copy link

ai commented Feb 16, 2014

@tonyganch there is no Presentation Mode on Linux and Windows :(.

@pepelsbey
Copy link
Member

Wait a second! There's F11 button on Windows that triggers full screen mode perfectly in Opera, Chrome, Firefox and IE. No tabs, no menus, just a plain and perfect full screen.

Still not sure about Linux, @ai could you please check?

@pepelsbey
Copy link
Member

I'm about to close this pull request and all fullscreen-related issues as there's built-in functionality freely available in browsers.

@ai
Copy link

ai commented Feb 17, 2014

BY some reason, when I press F11, my Chrome still show me tabs and adress bar (Linux, Chrome 33).

@pepelsbey
Copy link
Member

Works fine in Chrome for Windows. Should it be just a “Linux feature” then? :\

@ai
Copy link

ai commented Feb 17, 2014

I try to find more. Maybe it is fullscreen bug only in my environment.

@pepelsbey
Copy link
Member

You can switch to a proper fullscreen mode without toolbars in following browsers

  • Mac: Chrome, Opera, Yandex.Browser (all Chromium-based, using Cmd Shift F)
  • Windows: IE, Firefox, Opera, Chrome, Yandex.Browser (using F11)

There’s no proper fullscreen mode in following browsers:

  • Mac: Firefox, Safari (tabs are visible)

Is it worth to bind proper fullscreen on F key (or any other shortcut) only for Firefox and Safari on Mac? /cc @miripiruni @tonyganch @ai

@ai
Copy link

ai commented Feb 18, 2014

I will be happy with shower.fullscreen().

@pepelsbey
Copy link
Member

@ai, you mean just a console method without shortcut?

@ai
Copy link

ai commented Feb 18, 2014

Yeap. I often had a lot of JS and CSS on top of shower in our slides, so I can easy bind F key in my code :).

@pepelsbey pepelsbey closed this Mar 13, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants