Easiest Way to Use JW Player to Play YouTube Videos on WordPress

6 Comments

Have you ever seen an embedded video on a blog and noticed that it had the YouTube logo but the player didn’t resemble the normal YouTube player? It looked something like this:

This player is the JW Player which gives you the publisher more functionality, customization options and control over the videos you embed on your WordPress blog. The easiest way to use JW Player to play your embedded YouTube videos on you WordPress blog is to simply upload and activate the “JW Player Plugin for WordPress”.

You can download the plugin at its plugin page at wordpress.org.

Or you can search for “JW Player Plugin for WordPress” on the Add New > Install Plugins section on your wordpress dashboard. I find this method easier since you don’t have to manually ftp the plugin to the right directory.

Once you upload and activate the plugin you’ll notice a link to complete the installation. After clicking that link, installation should be complete and a JW Player will be shown with a “Big Buck Bunny” video showing that installation was successful.

One of the first things you’ll notice on your WordPress dashboard is the JW Player Admin section. Here you can Set up and configure the JW Player, Purchase a License, and Upgrade the JW Player. I’ll get to the specifics on a later post but for now I’ll just give you a run down on installation and how to post a YouTube video using the JW Player.

How to Enable JW Player to Play a YouTube Video

Now to the fun and suprisingly easy part. Now that you have the “JW Player Plugin for WordPress” installed and activated you can now easily start embedding JW Players into your WordPress post. You do this by clicking on the “Add Video” icon, from there the media overlay should be displayed. Go to “External Media” where you will paste the URL of your YouTube video. Click on “Add Media” and from there you’ll see media info of your YouTube video. WordPress automatically inputs the YouTube video information for you if available such as the Title, Description, and Thumbnail URL. Last thing to do is click the blue “Insert JW Player” button and your JW Player/YouTube video will appear on your post.

You will notice the code displayed to post your video is:

[jwplayer mediaid="84"]

This is the shortcode system that the JW Player Plugin uses for embedding. We’ll get more in-depth with the basic syntax at a later time but for now, enjoy embedding your YouTube videos with the JW Player.

Explanation of Youtube Embed Options

No Comments


Ever wonder what all those embed options mean when you click
the embed button on a youtube video? Here’s a breakdown of
each option.

Include Related Videos

Clicking on this option removes “?rel=0″ of the video url source code. This removal allows related videos to become included once the video has stopped playing.

Enable Privacy-Enhanced Mode

This feature allows you to protect your users privacy. Youtube uses cookies to collection information and data on the user watching the embedded video. By enabling privacy enhanced mode this disables the cookie from being set. Continue Reading…

How to Autoplay and Loop your Embedded YouTube Videos

3 Comments

Setting your embedded YouTube Video to autoplay is pretty simple. All you have to do is add the following to the end of your YouTube video url:

&autoplay=1

If you want your embedded YouTube Video to loop, you would add the following to the end of your YouTube video url:

&loop=1

You can combine the two to have your embedded YouTube Video to autoplay and loop:

&autoplay=1&loop=1

Here’s an example of a YouTube video url which will autoplay and loop when embedded:

http://www.youtube.com/watch?v=93sXJJoNWu4&autoplay=1&loop=1

Start a YouTube Video from a Specific Point

1 Comment

Ever forward a YouTube video to a friend or embed a video on a blog but actually want to show them only a certain portion of the video? You might have to include a notice like “Wait till 1:36″ or “funny part after 16:45″. Not everyone has the patience to wait or forward the video to the exact point of time in the video mentioned. By adding a couple of characters to the end of the YouTube video url you can actually set the start point of the video where you want.

This magical set of characters to append at the end of the YouTube video url is simply:

#t=XmYs

where X is the video runtime minutes and Y is the video runtime seconds. So if you want the start point to be set at 16 minutes and 34 seconds into the video, you would add #t=16m34s to the end of the YouTube video url. If the start point is at 9 minutes and 9 seconds you would use #t=9m9s.

Posting a YouTube comment of a YouTube Video hyperlink with a set starting point

You can also set a start point link in the comments section of the YouTube video. By placing XmYs, in which you specify the minute and seconds, in the comments section of the YouTube video; XmYs will become a hyperlink to the video at that specific time in the video.

Entering 1m44s in the YouTube video comment section will create a link of the video with a starting point at the 1 minute 44 second mark.