Skip to content

PlayerVars as parameters in loadVideoID#225

Open
abritopach wants to merge 4 commits intogilesvangruisen:masterfrom
abritopach:feature/fullscreen-mode
Open

PlayerVars as parameters in loadVideoID#225
abritopach wants to merge 4 commits intogilesvangruisen:masterfrom
abritopach:feature/fullscreen-mode

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