Answer the question
In order to leave comments, you need to log in
How do I stop following a YouTube link?
Hello. You need to make sure that when you click on the YouTube icon in the video, nothing happens, i.e. there was no transition to the YouTube service. For example , there is a video and there is no transition when clicking.
Maybe someone knows how to do this ?, I used the search, but I didn’t find anything sensible, only all sorts of life hacks, etc.
Answer the question
In order to leave comments, you need to log in
Add the parameter modestbranding=1 to the frame link for the video
"Using this parameter, you can remove the YouTube logo from the player. Instead, when you hover over the player while paused, a small YouTube text label will be displayed in the upper right corner."
https://developers.google.com/youtube/youtube_play...
On top of the YouTube icon, a transparent div is simply superimposed with an absolute. And that's it, no magic. And the fact that some still managed to go to YouTube suggests that the div is simply not superimposed evenly)
If you are talking about a video review, then everything goes over for me.
I did this: I created a div class="zaglushka" under the frame and
stuck a style to it.
.zaglushka {
width: 80%; //stub width
height: 45px; //stub height
position: relative; //position, so that it does not go away on different monitors in height, but it can also be absolute
left: 16%; // padding to the left so that you can use the volume
bottom: 44px; // Raise relative to the position under the frame
float: left; // alignment
} Be
sure to set showinfo=0" in the player parameter (so that there is no clickable name of the video in the frame)
General view of the code: Of course
, a crutch, but quickly and simply.
p / s who needs it, through the inspector will still remove the stub and go to YouTube. But I can't save you from this :)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question