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

Add setting to always play videos in fullscreen #647

Closed
Brier1104 opened this issue Oct 11, 2020 · 15 comments
Closed

Add setting to always play videos in fullscreen #647

Brier1104 opened this issue Oct 11, 2020 · 15 comments
Labels
enhancement New feature or request good first issue Good for newcomers player-related Player-related changes are currently on hold due to the ongoing player migration.

Comments

@Brier1104
Copy link

A setting to always play videos in full screen mode would be great.

@Brier1104 Brier1104 added the enhancement New feature or request label Oct 11, 2020
@PrestonN PrestonN changed the title Video Add setting to always play videos in fullscreen Oct 11, 2020
@PrestonN PrestonN added the good first issue Good for newcomers label Oct 11, 2020
@saideepesh000
Copy link
Contributor

@PrestonN, Hi, I would want to work on this, just let me know, from where(file) can I start working on this, should we use BrowserWindow for this. Thanks

@PrestonN
Copy link
Member

Hi @saideepesh000 we would be more than happy to have a PR for this feature. To help you get started, I'll let you know what needs to be done in order for us to accept a PR for this.

  1. A new setting will need to be create in the player settings. Follow the syntax of the other toggle switches to create this setting. A suggested label should be "Full Screen Video on Start" for the toggle switch. This string will need to be included in the English translation file within your PR.
  2. All of the logic you'll need is already located in the ft-video-player component. The component should check the setting within the initializePlayer function and full screen the player. You can call this.player.requestFullscreen() to enable full screen.

Feel free to ask here or submit a draft PR if you have any questions with this.

@saideepesh000
Copy link
Contributor

@PrestonN, It's so nice of you to help others by explaining the details to get started, definitely I would want to solve this issue, but I need some time, thanks.

@saideepesh000
Copy link
Contributor

saideepesh000 commented Jan 18, 2021

Hey @PrestonN , Should I add the translation of the string "Enable FullScreen Mode by Default" for every locale file. and is this string OK i.e "Enable FullScreen Mode by Default"?, If we could decide the string I'd translate that for every locale file, Remaining things are completed as far as this issue is concerned.

@PrestonN
Copy link
Member

For adding new locale strings, you only have to add the new strings to the en_US file. Weblate will automatically add the string to the rest of the files for you.

@saideepesh000
Copy link
Contributor

For adding new locale strings, you only have to add the new strings to the en_US file. Weblate will automatically add the string to the rest of the files for you.

Oh I didn't know that, so is that string (Enable FullScreen Mode by Default) OK for you.

@PrestonN
Copy link
Member

Yes, that's a good string for the new option. Apologies for not answering that as well.

@saideepesh000
Copy link
Contributor

Hey @PrestonN @GilgusMaximus , you could add this to in-progess column of 0.12.0 roadmap.

@PrestonN
Copy link
Member

Done!

@kommunarr
Copy link
Collaborator

Consider #1629 when implementing this to account for the case when this future setting is disabled.

@Gevaarlijk
Copy link

I would love to see this feature implemented.

@lazyb5
Copy link

lazyb5 commented Sep 2, 2023

Any movement on this feature?

@azurusnova
Copy link

Just signal boosting here because this feature would be amazing to have.
Is there any updates?

@kommunarr kommunarr added the player-related Player-related changes are currently on hold due to the ongoing player migration. label Apr 17, 2024
@kommunarr
Copy link
Collaborator

We are currently putting player-related changes on hold due to the ongoing player migration. We'll do our best to mark these accordingly and revisit / boost them for newer contributors once we're complete.

@efb4f5ff-1298-471a-8973-3d47447115dc

Closing in favor of #5427

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers player-related Player-related changes are currently on hold due to the ongoing player migration.
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

8 participants