I have a YouTube video embedded in my wordpress blog. How do I disable the title and also perhaps the YouTube button.
Essentially I want to prevent the user for clicking through to YouTube from my blog.
This is the code. I have tried adding variables but when I save it just deletes the extra variables:
<a href="http://tidyurl.com/exkn0z" target="_blank"><iframe src="//www.youtube.com/embed/MzLxLKLErCM?feature=player_detailpage" frameborder="0" width="560" height="315"></iframe></a>
Using the Youtube embed options, you can easily hide the title bar and change some other things too.
Or just add
&showinfo=0
to the end of your video url.To access your video’s embed options, go the the video page on Youtube, select the share button > select the Embed tab > select the Show More button. You should then see all options.
An example with your video that you can paste in to WordPress:
However, WordPress now has a built in facility to turn any Youtube URL in to an
[embed]
. The advantage of WordPress’ function is that the video will be scaled to fit your page provided that the theme has$content_width
set.Unfortunately I have not yet found a way to remove the title bar when using WordPress’ built in function, so might be better to go with Youtube’s emded code.
Just adding
&showinfo=0
within the quotations doesn’t work, neither dies?showinfo=0
CSS also doesn’t seem to be able to touch it.
What I found out is that the issue is with YouTube, not with WordPress.
Currently, as of 2021, there is no solution for removing just the title from embedded YouTube video.