2

Not sure if something changed in YouTube API but with a new website when I embed a video I always get the share, watch later and channel image

Can't find a way to hide them

Not working in code snippet not sure why

<iframe id="vid-player-1" src="https://www.youtube.com/embed/Bey4XXJAqS8?enablejsapi=1&rel=0&controls=0&showinfo=0" frameborder="0" allowfullscreen="allowfullscreen"></iframe>

1 Answer 1

5

Youtube revision history states that showinfo parameter is deprecated as of September 25, 2018. It was used to hide video title and uploader info.

Following the change, the channel avatar and video title will always display before playback begins, when playback is paused, and when playback ends. The avatar being displayed is new behavior that will be consistent across all embedded players.

Unfortunately it seems that "Watch Later" and "Share" buttons are part of this feature and they can't be removed.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.