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

AutoFullscreen #76

Closed
lolamtisch opened this issue Apr 30, 2019 · 2 comments
Closed

AutoFullscreen #76

lolamtisch opened this issue Apr 30, 2019 · 2 comments
Labels
enhancement New feature or request

Comments

@lolamtisch
Copy link
Member

lolamtisch commented Apr 30, 2019

@lolamtisch what about an option to make it auto enter fullscreen when playing an episode? that is a rather universal application. I just added that feature to my keyboard shortcuts userscript with this small bit of code

var elem = document.getElementsByTagName("video")[0];
if (elem.requestFullscreen) {
  elem.requestFullscreen();
} else if (elem.msRequestFullscreen) {
  elem.msRequestFullscreen();
} else if (elem.mozRequestFullScreen) {
  elem.mozRequestFullScreen();
} else if (elem.webkitRequestFullscreen) {
  elem.webkitRequestFullscreen();
}

I'm just trying to show my support for you and your amazing project, I know I'm a newb when it comes to coding, but i still like to try.

Originally posted by @stapuft in #72 (comment)

@lolamtisch lolamtisch added the enhancement New feature or request label Apr 30, 2019
@lolamtisch
Copy link
Member Author

@stapuft
Cool Idea. First tests look promising. Will look into it further soon.

@stapuft
Copy link

stapuft commented May 5, 2019

:D yea! im glad i could help add a feature to the project!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants