0

i have used YTPlayerView in my VC where i load the songs through song VideoId,Now when the song run in player it shows me info, share, Song logo and name and when pause the video it shows related songs list. I'm trying to hide all of this from player for that i have search and applied the results but it isn't working. This is my code,

let playerVars = [ "modestbranding": 1,
                   "rel" : 0,
                   "fs" : 1,
                   "playsinline" : 1,
                   "origin" : "https://www.youtube.com",
                   "showinfo" : 0] as [String : Any]
self.songView.load(withVideoId: videoId, playerVars: playerVars)

But when i run the code it again shows me these stuffs, enter image description here How i can remove all of these just want to show song video?

4

0 回答 0