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

feat(youtube-player): add API to put the player in fullscreen mode #30491

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

crisbeto
Copy link
Member

Adds a method on the YouTubePlayer to put the element in fullscreen mode. This is a bit more involved than just calling requestFullScreen, because we also need to change the styles to ensure that the placeholder and the iframe cover the whole screen.

Fixes #30485.

Adds a method on the `YouTubePlayer` to put the element in fullscreen mode. This is a bit more involved than just calling `requestFullScreen`, because we also need to change the styles to ensure that the placeholder and the `iframe` cover the whole screen.

Fixes angular#30485.
@crisbeto crisbeto added the target: minor This PR is targeted for the next minor release label Feb 13, 2025
@crisbeto crisbeto requested a review from a team as a code owner February 13, 2025 14:09
@crisbeto crisbeto requested review from mmalerba, wagnermaciel and andrewseguin and removed request for a team February 13, 2025 14:09
@angular-robot angular-robot bot added detected: feature PR contains a feature commit area: youtube-player labels Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: youtube-player detected: feature PR contains a feature commit target: minor This PR is targeted for the next minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Youtube-player: add support to toggle FullScreen
1 participant