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
613 stars 155 forks source link

modestbranding flag not working with initialPlayerParams prop #301

Closed gauravjoshi-vahan closed 1 year ago

gauravjoshi-vahan commented 1 year 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 1 year 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 1 year ago

I'll add a deprecated notice in a future release