How to remove title, watch later, share link in Youtube embed link?
It seems none of the suggestions in the internet works anymore?
showinfo=0
modestbranding=1
YouTube deprecated these parameters on September 25. You can find more information at YouTube's Developer page
"The showinfo parameter, which indicates whether the player should
display information like the video title and uploader before the video
starts playing, is also being deprecated. 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."
Related
YouTube displays a menu with video suggestions ("More videos") when an embedded video is paused. The element in the iframe has the class "ytp-pause-overlay". It is displayed every time the user pauses, unless it is minimized once.
screenshot of more videos menu in embedded videos
If possible [The Guardian and Udacity did it], how can it be removed? If not, is it possible to display it minimized by default ("ytp-scroll-min")?
"More videos" feature affects subtitles and keyboard controls and, in educational or corporate contexts, it is not desirable.
As expected, none of the following suggested parameters has been useful:
rel=0
ytp-pause-overlay=0
ecver=2
I would be utterly grateful if anyone in Google engineers team could help.
Thank you in advance.
Based from what you have tried about rel parameter,
The behavior for the rel parameter is changing on or after September
25, 2018. The effect of the change is that you will not be able to
disable related videos. However, you will have the option of
specifying that the related videos shown in the player should be from
the same channel as the video that was just played.
To be more specific:
Prior to the change, if the parameter's value is
set to 0, then the player does not show related videos.
After the
change, if the rel parameter is set to 0, the player will show related
videos that are from the same channel as the video that was just
played.
Youtube's embed api no longer lets you disable it.
Check this same issue in github.
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>
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.
I am using a light box type of player to open and play you tube videos. My people don't want the video link to be accessible or shared from within the player.
I.E they only want the video to play when the video loads in the player. So they don't want the share button visible and they don't want the YouTube icon that links directly to the video visible.
I can remove the share button and I can remove the YouTube icon but not at the same time.So there is always an easy way for the user to get the video url and share it etc...
I can also chose the videos to be private and that removes both. But then all of my users would need a google account which they dont.
It seems to me that Google wouldn't offer free use to its player without some type of reference to You Tube. Either with the share button or the You Tube icon that links to the video.
i have tried modifying the url parameters (embed?v=#v_ID#&rel=0&autohide=1&showinfo=0&wmode=transparent&modestbranding=1&controls=0") to no avail.
And I have tried using embed and watch to no avail..
Is there a way to do this?
You can append the following onto the end of the YouTube embed url, to remove the Watch on YouTube button from the playback controls which is accomplished by setting modestbranding to 1. The player controls are NOT removed. they are just auto0hidden by setting the parameter autohide to 1.
Try to change & to &
Here's a sample format to solves your issue:
I didn't see in the documentation if it's possible to define your own related video on the endscreen of a video with javascript SDK.
I see param 'endscreen-enable' to turn on/off related video on endscreen, but no param to choose my own related video.
It is not possible to choose your related videos in the end screen. As you say, you can only disable the related videos on end screen using endscreen-enable player parameter.
I have video Playlist gallery with embed code. I want to embed that in my private portal and that privacy can maintain by making video "UNLISTED" so that video doesn't show up in YouTube search as well as channels. I hope by making this way I can protect privacy of my videos or if any other way please suggest me.
Second thing I want to remove icon button "Watch later" & "Share" icon button on video. How we can make this if possible with the embed code. I can do this by "showinfo=0". But by doing this it will remove the Title information of video. and wanted to keep that video title information.
We can use flash version of YouTube player and disable external links property.