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

PlayerVars as parameters in loadVideoID #225

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

abritopach
Copy link

Hello @gilesvangruisen,

I imagine you are busy but you could check this PR in order to be able to pass the parameters you want when playing the video.

https://developers.google.com/youtube/player_parameters

By this way, it would be very simple to show the video in full screen mode for example.

let playerVars = ["playsinline" : 0] as AnyObject?
youtubePlayer.loadVideoID(videoId, playerVars)

Anything else, let me know.

Thank you very much!

@abritopach abritopach changed the title Feature/fullscreen mode PlayerVars as parameters in loadVideoID Dec 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant