LonelyCpp / react-native-youtube-iframe

A wrapper of the Youtube-iframe API built for react native.
https://lonelycpp.github.io/react-native-youtube-iframe/
MIT License
594 stars 147 forks source link

modestbranding flag not working with initialPlayerParams prop #301

Closed gauravjoshi-vahan closed 10 months ago

gauravjoshi-vahan commented 11 months ago

Describe the bug I'm adding the modestbranding flag inside the initialPlayerParams prop but it is not hiding the YoTube branding from the controls panel.

To Reproduce Playing any video in the player

Expected behavior The YouTube name should be hidden from the controls panel on using this flag.

Screenshots

image

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

LonelyCpp commented 10 months ago

looks like modestbranding has been deprecated by youtube. this parameter has no effect since August 15, 2023

https://developers.google.com/youtube/player_parameters#modestbranding

LonelyCpp commented 10 months ago

I'll add a deprecated notice in a future release