Remove related videos from YouTube

 youtube-wordpress

If you want your visitors to continue reading more articles on your site, I'm sure is not a good idea when you insert a YouTube video into an entry, a list of related videos is displayed at the end of it, as your readers will leave your site to watch the videos on YouTube.com.

Fortunately there are several ways that YouTube-related videos do not appear at the end of a replay .

The first is that, if you use the or Embed method, pasting the URL of a video, you just have to add to the end of the URL & rel = 0 . More or less like this:

instead of simply:

And what you get is this:

The same if you use the shortcodes of JetPack like this:

If, on the other hand, you prefer to use the code insertion offered by YouTube it offers a box that eliminates related videos, both in the new codes iframe and in the old codes embed the one of the following capture:
 remove related videos youtube in wordpress

And, to finish, lovers of the plugins are also in luck because with Hide YouTube related videos you get the same result, in this case for the videos that you insert using oEmbed (pasting the URL), thus avoiding having to add anything to the end of the URL. Step by step add the transparent mode, so that no video overlaps another element of your site, things that happen sometimes.

As you can see, for options that do not fit, if you want to go through this:
 youtube related videos

to this other:
 without youtube related videos

NOTICE : this post is from two years ago or more. If it's a code or a plugin it might not work in the latest versions of WordPress, and if it's a news story it might be obsolete. Then do not say we have not warned you.

Loading …

That may also help you:

oEmbed in WordPress text widgets

 video wordpress

The system oEmbed with native support in WordPress, allows to display dynamic content (videos, images, etc.) in the content of our website just copy and paste the URL where that content is hosted (YouTube, Flickr, Vimeo, etc.)

Now, for some reason does not work in the helpful and useful text widgets .

Because of this, if you want to show a video, for example, using a text widget, you have to copy and paste the iframe code or embed of the content, not being able to take advantage of that native support of oEmbed .

But it can be solved of two ways namely …

  1. oEmbed in text widgets using plugin
    Simply install and activate the Text widget oEmbed and you can now Paste URLs into text widgets and show multimedia content. The plugin has nothing to configure, you activate it and it's done, it works.
  2. oEmbed in text widgets with code
    Add the following code to your personal plugin and you get the same result as with the previous plugin:

In either of the two cases you just have to add a text widget, with URL or code, so that the video is displayed in your sidebar …

And that's it, here's the good news , now the bad …
 oembed text widget goes wide

Well, with the oEmbed method what happens is that, unless you modify the width using a function or plugin, the text widget " will be output " usually from your sidebar, something you can control using an embed code, and not simply with the oEmbed URL, so keep that in mind, okay?

NOTICE : this post is two years ago or plus. If it's a code or a plugin it might not work in the latest versions of WordPress, and if it's a news story it might be obsolete. Then do not say we have not warned you.

Loading …

That may also help you:

Add more services oEmbed to WordPress

 wordpress movie WordPress incorporates the ability to display multimedia content through support oEmbed by which you can show videos, images and all kinds of media just by pasting the URL of the content in the editor , and it shows the player of it.

But WordPress only brings assets some services by default, which we can expand .

And, for me, nothing else, if you think of something you mention it.

Disable auto-embedded oEmbed (another one)

It seems that in WordPress 3.5 there is someone bent on making our CMS a bit more stupid than usual thank goodness that we can always adapt to our taste by being open source and free, which is to piss off (I almost am).

And is that another of the " news " WordPress 3.5 is that now the autoincrustados, the multimedia content that we can activate just by hitting the URL in the editor, are active by default, but not only that, but the box does not come to deactivate it. Happy I have WordPress 3.5!

As in the case of the XML-RPC by default that I mentioned the other day, we have here another decision taken by the development team (volunteer, I remember) for us. And, really, I think it's good to come active by default but to remove the box for us to decide, well no

Is not WordPress supposed to tend not to need to touch code at all?

take two cups …

If you want to have control again, you will touch or add a code or use a plugin, as recommended in WP engineer .

The code to add to our ] function plugin would be something like this:

Or else use the plugin auto-embeds disabler .

Surely you already you have set in the captures that another option in the media settings that has disappeared is "being able to choose" in which folder we want to upload our multimedia files . Another day we talked about that and the horrible square buttons, that take me back to times past, and not exactly with pleasure.

Ainsss, happy they have me!

NOTICE : this publication is two years ago or more. If it's a code or a plugin it might not work in the latest versions of WordPress, and if it's a news story it might be obsolete. Then do not say we have not warned you.

Loading …

That may also help you:

WordPress 3.4.2, security update available

Just released the WordPress security update 3.4.2, so you're already taking a moment to click on your desktop and update it as soon as possible, like any security update, which like all of them will not affect your theme or plugins to be a minor update.

Embed SWF in WordPress • WordPress Help

Today we will know how to embed another type of content in WordPress in this case the files of Shockwave Flash with extension SWF .

This method only works for a WordPress hosted on your server, because on WordPress.com you can not embed Flash content for reasons of security, the only way is the method oEmbed for YouTube videos or similar ones.

So, now that we are clear that this is only for WordPress.org we will see how do it in two ways, as always …

1. Insert SWF with code

If we talked about how to insert them in a website, it is easy, and there is a lot of documentation. It's as simple as adding this where you want it to appear in your WordPress theme, HTML template or in the WordPress HTML editor:

Another, also a veteran, is WP-SWFObject . It works very similar. In this case the shortcode would be something like this:

Or that, you have to follow this template:

And that's it, if you think of something else, you'll tell us in the comments. [19659136] NOTICE : this publication is from two years ago or more. If it's a code or a plugin it might not work in the latest versions of WordPress, and if it's a news story it might be obsolete. Then do not say that we have not warned you.

Loading …

That may also help you: