SvenTiigi / YouTubePlayerKit

A Swift Package to easily play YouTube videos 📺
https://sventiigi.github.io/YouTubePlayerKit/
MIT License
717 stars 64 forks source link

"Always play best video resolution" configuration setting #84

Closed nhershy closed 8 months ago

nhershy commented 8 months ago

Is your feature request related to a problem?

No

What solution would you like?

It appears that videos will play in 720p by default, even if higher resolutions exist (1080p, 4k). Create a configuration param that allows for "possible best" quality when playing videos by default.

What alternatives have you considered?

Each time a video plays, user has to manually change resolution to a higher quality using the gear icon

Any additional context?

N/A

SvenTiigi commented 8 months ago

Unfortunately, the YouTube Player iFrame API does not provide a parameter to set the default resolution.