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

When playing the video it is not showing normal standard player else it is showing the youtube written player #188

Closed affan00733 closed 3 years ago

affan00733 commented 3 years ago

WhatsApp Image 2021-09-12 at 1 28 36 PM

                       <YoutubePlayer
                        height={height * 0.3}
                        play={true}
                        videoId={this.state.video}

                        playbackRate={this.state.playbackRate}

                        initialPlayerParam={() => {
                            showClosedCaptions = true
                        }

                        }
                    />
LonelyCpp commented 3 years ago

are you referring to the UI of the YouTube player?

affan00733 commented 3 years ago

yes previously UI is different it does not have the youtube logo in player

LonelyCpp commented 3 years ago

The UI inside the player is fully controlled by youtube's player. This library does not customise / render any of it.

so whatever you're seeing is the expected UI