youtubeyoutube-apiyoutube-javascript-api

Removing the "play on youtube" overlay on embedded videos


Is there a way to get ride of the "play on youtube" button that is overlayed on videos when they are embedded? I looked into using the chromeless youtube player but couldn't figure out a way to remove the overlay. Has anyone tried or heard of a way to do this?


Solution

  • The three parameters I found useful are:

    showinfo=0
    controls=0
    autohide=1
    

    showinfo=0 makes sure the video does not display the title on the top of the video frame. controls=0 hides the bottom bar with the play button, volume, etc. autohide=1 hides the controls until you hover over them, which is probably the most useful.

    All the official docs are here.