SvenTiigi / YouTubePlayerKit

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

Custom control with option to hide or disable controls by default iFrame. #97

Closed bimal-freebird closed 4 months ago

bimal-freebird commented 4 months ago

Is your feature request related to a problem?

Problem is - Custom apps should have custom controls.

What solution would you like?

Do not use web-based UI of the IFrame player

What alternatives have you considered?

access the iFrame and create a new iFrame which will hide or disable the defaults controls.

Any additional context?

Android kotlin its possible .

SvenTiigi commented 4 months ago

One of the main goal of this Swift Package is to comply with the YouTube Terms of Service. The only allowed user interface must come from the YouTube Player iFrame API, which unfortunately prohibits any custom controls.

bimal-freebird commented 4 months ago

https://github.com/PierfrancescoSoffritti/android-youtube-player