SvenTiigi / YouTubePlayerKit

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

make originURL an parameter #100

Closed beswarm closed 3 months ago

beswarm commented 3 months ago

Background: This MR addresses an issue where YouTube requires login for video playback from certain IPs, displaying a "Sign in to confirm that you're not a bot" message. By setting the origin parameter to nil or something else, it can bypass this login requirement and allow videos to play normally.

The Change: make it an parameter. its default value is same as before.