PierfrancescoSoffritti / android-youtube-player

YouTube Player library for Android and Chromecast, stable and customizable.
https://pierfrancescosoffritti.github.io/android-youtube-player/
MIT License
3.44k stars 765 forks source link

IFramePlayerOptions: Add "start", deprecate "modestBranding" #1171

Closed talklittle closed 2 months ago

talklittle commented 2 months ago

Add start to specify initial offset in seconds, similar to seekTo, and similar to the argument in loadVideo and cueVideo, but without having to call those methods.

Deprecate modestBranding — see deprecation announcement https://developers.google.com/youtube/player_parameters#release_notes_08_15_2023

PierfrancescoSoffritti commented 2 months ago

Thanks for the PR, could you update this section in the doc with the new attributes? thanks!

talklittle commented 2 months ago

Thanks for the review. Added end and updated readme.

PierfrancescoSoffritti commented 2 months ago

LGTM, thanks for the contributions!