Quantcast
Channel: Active questions tagged youtube-api - Stack Overflow
Viewing all articles
Browse latest Browse all 3831

Hide elements from YouTube player

$
0
0

I am using YouTube API to play video and I try to remove some elements
What is the wy to remove - hide right corner button, name video and User from the player?

This is my code

    let playerVars: [String: Any] = ["controls": 0,"modestbranding": 1,"playsinline": 1,"autohide" : 1,"disablekb" : 1,"rel": 0,"showinfo": 0,"autoplay": 1]player.load(withVideoId: "pNpe0ZFVH6g", playerVars: playerVars)player.delegate = self

enter image description here


Viewing all articles
Browse latest Browse all 3831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>