Reputation: 27
I have Implemented ytplayer in my project , but how can i disable YOUTUBE LOGO in Ytplayerview.
Acually i have added "modestbranding" : 1 parameter but it's not working. still i'm getting youtube logo in videoplayer.
please suggest me with proper answer.. Thanks in advc
playerVars = [ "controls" : 1 , "playsinline" : 1, "autoplay" : 1, // "autohide" : 1, "rel" : 0, "showinfo" : 0, // "showing" : 1, "color" : "white", "cc_load_policy" : 1, "iv_load_policy" : 1, "modestbranding" : 1 ]self.player.load(withVideoId: "yvhrORy4x30",playerVars: playerVars)
Upvotes: 1
Views: 1014
Reputation: 1
Setting Color: “white”, will disable modestbranding. Leave it to be the default red colour
Upvotes: 0
Reputation: 11
Here is a snippet:
let playerVars = [
"modestbranding": 1,
"controls" : 1,
"rel" : 0,
"fs" : 1,
"playsinline" : 1,
"origin" : "https://www.example.com",
"showinfo" : 0
] as [String : Any]
Upvotes: 1
Reputation: 5370
You can NOT completely remove the youtube branding.
You can play around with setting: modestbranding=1 - to remove the youtube logo and showinfo=0 to remove the title and uploader info
Upvotes: 0