YouTube Feeder WordPress Plugin


Description | Features | Screenshots | Demo | In The Wild | Requirements | Download
License | Installation Instructions | Usage | Version | Changelog | Roadmap | FAQ | Support


Description

YouTube Feeder allows you to embed a dynamic YouTube video feed anywhere in your WordPress-powered website. The feed is always up to date because it pulls directly from YouTube's data api, but it can also cache the YouTube feed based on configurable settings.

The feed can be:

  • User Uploads
  • User Favorites
  • User Subscriptions
  • User Playlist
  • Standard Feed
  • Category / Tag
  • Search

The plugin is very flexible because every aspect is configurable.  Each video feed can be configured separately, or you can use defaults that take effect site-wide.  Each component is given highly accessible classes for complete customization of the display through CSS.

The "Playlist" style of display was made possible by a jQuery plugin by Dan Drayne. The code is used with permission.

Back to top


Features

  • Retrieves and embeds the newest videos from YouTube video feeds automatically. No more updating pages or fiddling with embed code.
  • Displays player, title, date, and description for every video.
  • Configurable video size.  Can be set site-wide or per video feed.
  • Display styles completely customizable with simple tweaks to included CSS file.
  • Completely configurable date format.
  • Configurable caching of feeds to reduce server load and load time for visitors.  Can be handled site-wide or per video feed.
  • Can simply list each video or create a player, allowing visitors to click on each video title, loading it dynamically into the single player.
  • Configurable number of videos displayed in each feed.
  • Dedicated function to get the published date of the most recent video in a feed.
  • Dedicated function to get the thumbnail of the most recent video in a feed.

Back to top


Screenshots

"Minimal" Style Example

"Playlist" Style Example

Simple "List" Style Example

Options Page

Widgets Example

Main Widget Options

Thumbnail Widget Options

Published Date Widget Options

Back to top


Demo


The above demo was embedded in this post with:

1
[[youtubefeeder feedtype="uploads" feedid="flamadiddle86" limit="2" style="playlist" width="335" height="275" dateformat="n/d/y"]]

Back to top


In The Wild

Examples of YouTube Feeder in use across the Internet:

If you would like to see your site listed here, let me know in the comments or send me a quick email.

Back to top


Requirements

The following are the minimum requirements for YouTube Feeder to work properly:

Back to top


Download

Download the latest version from the WordPress plugin page

Back to top


License

This plugin is released under the GPLv3 license and comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. I make no guarantee this plugin will work for you.

Back to top


Installation Instructions

  1. Unzip the files from the download file
  2. Upload the entire `youtube-feeder` folder to your `/wp-content/plugins/` directory
  3. Activate the plugin through the 'Plugins' menu in WordPress
  4. Go to the YouTube Feeder options page and choose your settings
  5. Put the shortcode [youtubefeeder] in any post or page
    or <?php embed_youtube_feed(); ?> anywhere in your template files.

Back to top


Usage

There are three main functions of YouTube Feeder: embedding the YouTube feed, grabbing the published date of the most recent video in a feed, and embedding the thumbnail of the most recent video in a feed.

The list

To embed the feed, simply use the shortcode in any post or page:

1
[[youtubefeeder]]

The shortcode has several options:
Feed Options

  • user -
    Deprecated

    Use feedid and feedtype='uploads' instead.

  • feedtype - uploads, favorites, subscriptions, playlist, standard, category, or search
    The type of video feed
  • feedid
    The Feed ID. Value dependent on the feedtype.In the case of uploads, favorites, or subscriptions, this is the YouTube Username.For playlist feeds, this is the playlist ID.For standard feeds, this is the standard feed ID.For category feeds, this is the category or tag.For search feeds, this is the search terms.
  • orderby - relevance, published, viewCount, commentCount, position, duration, title, or rating
    The order for videos in the feed.

Display Options

  • style - minimal, playlist, or list
    The list style. Examples of each are in the screenshots.
  • limit
    The maximum number of videos to display
  • width
    Video width
  • height
    Video height
  • thumbnail - 0 or 1
    Set to 1 to display thumbnails in the playlist style feed. Set to 0 to disable.
  • title - 0 or 1
    Set to 1 to display the video title. Set to 0 to disable.
  • description - 0 or 1
    Set to 1 to display the video descriptions. Set to 0 to disable.
  • datelocation - beforevideo, beforetitle, aftertitle, or nowhere
    Where to put the date.
  • dateformat - Any PHP date() compatible format.
    The format in which to display the date.

Playback Options

  • autoplay - 0 or 1
    Set to 1 to autoplay videos. Set to 0 to disable.
  • loop - 0 or 1
    Set to 1 to loop playback of videos. Set to 0 to disable.
  • rel - 0 or 1
    Set to 1 to show related videos at the end of playback. Set to 0 to disable.
  • showinfo - 0 or 1
    Set to 1 to show video information in the player. Set to 0 to disable.
  • controls - 0 or 1
    Set to 1 to show playback controls. Set to 0 to disable.
  • disablekb - 0 or 1
    Set to 1 to disable keyboard controls. Set to 0 to enable.
  • fs - 0 or 1
    Set to 1 to show the fullscreen button in the player. Set to 0 to disable.
  • theme - dark or light
    Control bar theme.
  • autohide - 0, 1, or 2
    Set to 2 to autohide the progress bar only.
    Set to 1 to autohide the progress bar and controls.
    Set to 0 to always show the progress bar and controls.
  • color - red or white
    Progress Bar Color.
  • cc_load_policy - 0 or 1
    Closed Caption Policy. Set to 0 for visitor preference or 1 to force closed captions to display.
  • iv_load_policy - 1 or 3
    Video Annotation Policy. Set to 1 to display or 3 to disable.
  • modestbranding - 0 or 1
    Set to 1 to hide the YouTube Logo. Set to 0 to show.

Cache

  • cache
    Time period to cache feed data for. Any value like '1 day', '6 hours', '2 weeks', etc. will work.

They can be used as such:

1
[[youtubefeeder feedtype="uploads" feedid="flamadiddle86" orderby="published" limit="3" width="335" height="275" dateformat="n/d/y" datelocation="aftertitle" description="0" style="playlist" thumbnail="1" title="1" autoplay="0" loop="0" rel="0" showinfo="0" controls="1" disablekb="0" fs="1" theme="dark" autohide="2" color="red" cc_load_policy="0" iv_load_policy="1" modestbranding="1" cache="3 days"]]

Yes. That is a lot of options.


You can also call the function embed_youtube_feed() anywhere in your template files like so:

1
2
3
4
5
6
<?php
if(function_exists('embed_youtube_feed'))
{
    embed_youtube_feed();
}
?>

It takes all the same options as the shortcode, so you can specify specific settings like this:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?php
if(function_exists('embed_youtube_feed'))
{
    embed_youtube_feed(array(
            'feedtype' => 'uploads',
            'feedid' => 'flamadiddle86',
            'orderby' => 'published',
            'limit' => 3,
            'width' => 335,
            'height' => 275,
            'dateformat' => 'n/d/y',
            'datelocation' => 'aftertitle',
            'description' => '0',
            'style' => 'playlist',
            'thumbnail' => '1',
            'title' => '1',
            'autoplay' => '0',
            'loop' => '0',
            'rel' => '0',
            'showinfo' => '0',
            'controls' => '1',
            'disablekb' => '0',
            'fs' => '1',
            'theme' => 'dark',
            'autohide' => '2',
            'color' => 'red',
            'cc_load_policy' => '0',
            'iv_load_policy' => '1',
            'modestbranding' => '1',
            'cache' => '3 days'
        ));
}
?>


The date

To embed the published date of the most recent video in a feed, just use this shortcode:

1
[[youtubefeederpublisheddate]]

This shortcode shares five of the same options with the [youtubefeeder] shortcode:
Feed Options

  • user -
    Deprecated

    Use feedid and feedtype='uploads' instead.

  • feedtype - uploads, favorites, subscriptions, playlist, standard, category, or search
    The type of video feed
  • feedid
    The Feed ID. Value dependent on the feedtype.In the case of uploads, favorites, or subscriptions, this is the YouTube Username.For playlist feeds, this is the playlist ID.For standard feeds, this is the standard feed ID.For category feeds, this is the category or tag.For search feeds, this is the search terms.
  • orderby - relevance, published, viewCount, commentCount, position, duration, title, or rating
    The order for videos in the feed.

Display Options

  • dateformat - Any PHP date() compatible format.
    The format in which to display the date.

Cache

  • cache
    Time period to cache feed data for. Any value like '1 day', '6 hours', '2 weeks', etc. will work.

They can be used like this:

1
[[youtubefeederpublisheddate feedtype="uploads" feedid="flamadiddle86" orderby="published" dateformat="n/d/y" cache="3 days"]]

You can also call the function get_youtube_published_date() anywhere in your template files like so:

1
2
3
4
5
6
<?php
if(function_exists('get_youtube_published_date'))
{
    get_youtube_published_date();
}
?>

It takes all the same options as the shortcode, so you can specify specific settings like this:

1
2
3
4
5
6
7
8
9
10
11
12
<?php
if(function_exists('get_youtube_published_date'))
{
    get_youtube_published_date(array(
            'feedtype' => 'uploads',
            'feedid' => 'flamadiddle86',
            'orderby' => 'published',
            'dateformat' => 'n/d/y',
            'cache' => '3 days'
        ));
}
?>


The Thumbnail

To embed the thumbnail of the most recent video in a feed, just use this shortcode:

1
[[youtubefeederthumbnail]]

This shortcode shares six of the same options with the [youtubefeeder] shortcode:
Feed Options

  • user -
    Deprecated

    Use feedid and feedtype='uploads' instead.

  • feedtype - uploads, favorites, subscriptions, playlist, standard, category, or search
    The type of video feed
  • feedid
    The Feed ID. Value dependent on the feedtype.In the case of uploads, favorites, or subscriptions, this is the YouTube Username.For playlist feeds, this is the playlist ID.For standard feeds, this is the standard feed ID.For category feeds, this is the category or tag.For search feeds, this is the search terms.
  • orderby - relevance, published, viewCount, commentCount, position, duration, title, or rating
    The order for videos in the feed.

Display Options

  • width
    Thumbnail width
  • height
    Thumbnail height

Cache

  • cache
    Time period to cache feed data for. Any value like '1 day', '6 hours', '2 weeks', etc. will work.

They can be used like this:

1
[[youtubefeederthumbnail feedtype="uploads" feedid="flamadiddle86" orderby="published" width="335" height="275" cache="3 days"]]

You can also call the function embed_youtube_thumb() anywhere in your template files like so:

1
2
3
4
5
6
<?php
if(function_exists('embed_youtube_thumb'))
{
    embed_youtube_thumb();
}
?>

It takes all the same options as the shortcode, so you can specify specific settings like this:

1
2
3
4
5
6
7
8
9
10
11
12
13
<?php
if(function_exists('embed_youtube_thumb'))
{
    embed_youtube_thumb(array(
            'feedtype' => 'uploads',
            'feedid' => 'flamadiddle86',
            'orderby' => 'published',
            'width' => 335,
            'height' => 275,
            'cache' => '3 days'
        ));
}
?>

Back to top


Version

The current version of this plugin is 2.0.1

Back to top


Changelog

2012-07-25 - 2.0.1:

  • Changed urls for embeded videos and thumbnails to be protocol agnostic, ensuring compatibility with secure sites.

2012-07-20 - 2.0.0:

  • Added ability to embed user playlists.
  • Added ability to embed global playlists.
  • Added 'minimal' style (playlist embedded in a single player).
  • Switched embed code to iframe embeds.
  • Added all available video playback settings, such as showing related videos, autoplay, style options, etc.
  • Added ability to hide video title in simple list format.
  • Added Widgets.

2011-08-17 - 1.0.7:

  • Updated to grab video description from new location in YouTube's data feed.

2011-06-06 - 1.0.6:

  • Fixed bug causing manual function calls to always use the default admin settings.

2011-03-25 - 1.0.5:

  • Fixed order of video feed so that it is now in reverse-chronological order.

2011-03-24 - 1.0.4:

  • Fixed the "Invalid argument supplied for foreach() on line 103" bug.
  • Fixed the API call to only grab videos that are embeddable on public websites.
  • Expanded number of possible results up to 50 instead of the default 25. The YouTube API does not honor requests for more than 50.
  • Added cURL as alternative to file_get_contents() for grabbing the feed.

2010-09-13 - 1.0.3:

  • Added the ability to embed the most recent thumbnail from a feed.
  • Added the ability to display the video description in "playlist" style and remove it in simple "list" style.
  • Changed the default embed style to "playlist".
  • Changed preview to show default YouTube user (if available) instead of a static user.
  • Fixed bug in get_youtube_published_date() function.
  • Changed some of the default CSS classes.
  • Changed URL for thumbnails.

2010-09-10 - 1.0.2:

  • Added ability to view videos fullscreen.
  • Fixed a bug with updating cache settings.

2010-09-09 - 1.0.1:

  • Fixed bug with embed_youtube_feed() and get_youtube_published_date() raising warnings when no argument was supplied.
  • Added ability to add thumbnails to "playlist" style.
  • Added ability to clear the YouTube Feeder Cache.
  • Added message pointing to this page for FAQ and Support to the top of the settings page.
  • Changed name of main plugin file from 'youtube_feed.php' to 'youtube-feeder.php' for consistency.

2010-09-09 - 1.0.0:

  • Initial release

Back to top


Roadmap

  • 3.0

    • Add switchable theme support for the different list styles via separate CSS files.
    • Also add new theme-file detection to allow for custom user themes that will not be over-written on updates

Back to top


Frequently Asked Questions

  • Q: Why don't all videos show up?

    A: YouTube restricts some videos from being embedded on public websites. This can be for copyright reasons or settings configured by the uploader. As a result, this plugin will not be able to embed those videos.

    If you are the uploader, and you didn't restrict public embedding on the video yourself, it's most likely because music in the video is copyrighted or it contains clips of a copyrighted video. You can review YouTube's fair use policies and submit a counter-notification if you feel your video falls within fair use.

  • Q: Why can't I display more than 50 videos?

    A: The YouTube API enforces a limit of 50 results for users' upload feeds. Unless and until YouTube changes the limit, this plugin will be unable to display more than 50 videos at a time.

  • Q: Why is it taking so long for my new videos to show up?

    A: First, try clicking the Clear Cache Now button on YouTube Feeder's settings page to make sure you are getting the most up-to-date information available. If that doesn't work, it is most likely a delay in the YouTube API.

    YouTube's API is updated periodically throughout the day. As a result, uploaded videos won't be visible in the feed immediately. The YouTube API reference explains the delay. Here are some key points:

    • Uploaded videos will be included in a user's public uploaded videos feed a few minutes after the upload completes and YouTube finishes processing the video.
    • Uploaded videos will usually be available in search feeds within 30 minutes to two hours after the upload completes and YouTube finishes processing the video. However, this delay may be longer under heavy API server loads.

    To make sure your video shows up as soon as possible, upload it as public initially. Until the video is included in the YouTube API, this plugin will not be able to display it.

  • Q: When will Feature "X" or Release "Y" be ready?

    A: I write and maintain this plugin in my free time. I've given it to the WordPress community for free because I want to give back to such a great open source project and hopefully help others along the way. I don't have any deadlines or release dates for this project because it takes a backseat to my full-time job.

    If you're waiting for a specific feature, you can hope I get some free time soon or consider making a donation (using the link under Support). If I receive a donation for a specific feature, I will prioritize that first and get it out as soon as possible.

Back to top


Support

Please post any problems, comments, or suggestions on this page or contact me if you have an urgent problem.

If this plugin is useful to you, please consider donating to support further development:

Back to top

  • Pingback: New Wordpress Plugin: Youtube Feeder | AndrewEnsley.com

  • http://www.billboardfamily.com Carl Martin

    Got the plugin installed. Here are a few questions/issues.....

    1) Is there a way to display the thumbnail and the title of the next videos in the playlist as it is done on the code by Dan Drayne?

    2) I am using WordPress 3.0.1, and I am getting these errors on the page http://www.billboardfamily.com/videos

    Warning: Missing argument 1 for embed_youtube_feed(), called in /home/billboar/public_html/wp-content/themes/mensa/videos.php on line 24 and defined in /home/billboar/public_html/wp-content/plugins/youtube-feeder/youtube_feed.php on line 418

    Warning: Invalid argument supplied for foreach() in /home/billboar/public_html/wp-content/plugins/youtube-feeder/youtube_feed.php on line 421

  • http://www.billboardfamily.com Carl Martin

    I forgot to mention that I am using the function call in a template page, not the shortcode.

  • http://www.billboardfamily.com Carl Martin

    Other than that, looking very good!

  • http://andrewensley.com/ Andrew

    @ Carl Martin

    Thanks for the feedback. I've updated to 1.0.1 with these changes:

    -Added ability to add thumbnails to playlist
    -Fixed PHP warnings with function calls
    -Added ability to clear the cache

    Let me know if you have any more questions/issues.

  • http://www.billboardfamily.com Carl Martin

    @ Andrew

    Outstanding .. it works perfectly, no issues at all. Hands down the best Youtube WordPress plugin out there!

  • http://www.billboardfamily.com Carl Martin

    I am using a script you gave me to pull the date of the most recent video on Youtube, and display it at the top of my page http://www.billboardfamily.com/videos as you can plainly see. That works great. Now that I am using your plugin, I wanted to see if it was possible to take this a step further. What I would like to do is have that date reflect the date of the actual video being played int he main player. If you click on a different video in the playlist, the date should change to the published date of that particular video. Any ideas how I might accomplish this? Thanks!

  • http://andrewensley.com/ Andrew

    @ Carl Martin
    Something like that is beyond the scope of this plugin for now. Adding that functionality would involve a lot of changes to the source of the jQuery plugin as well as the WordPress plugin.

    I'll think about it, but it's not at the top of my list right now.

  • http://www.billboardfamily.com Carl Martin

    @ Andrew
    Understood. It is not a necessity on my end, but it would be cool. I just thought you might have known a simple method. Thanks for developing the plugin....it is the best one out there for sure!

  • http://andrewensley.com/ Andrew

    Thanks. I'm glad it works for you. :-)

  • John M.

    Hey there! I like your plug-in - however is it possible to create a list view of a specific playlist rather than just the most recent videos?

    Thanks

    - JoHN

  • Chris Heiler

    Hi Andrew,

    I just tried installing the plugin but am getting this message-

    Invalid argument supplied for foreach() in /homepages/24/d150338172/htdocs/fromtheroadshow/wp-content/plugins/youtube-feeder/youtube-feeder.php on line 103

    Unable to get Youtube feed. Did you supply the correct user?

    Any idea what's wrong?

    • http://andrewensley.com/ Andrew

      Version 1.0.4 is available for download now, and it fixes this issue.

  • Lisa S

    Hi Andrew, Ditto for me, invalid argument on line 103.

    Yes, I supplied the correct user.

    And I share John M.'s question about a list view of a playlist.

    thanks
    Lisa

    • http://andrewensley.com/ Andrew

      Version 1.0.4 is available for download now, and it fixes this issue.

  • sheila

    How do I put the title of the video above rather than below each video

  • http://andrewensley.com/ Andrew

    @ John M.

    There's no support for playlists yet. I'll be working on that for the next version.

    @ Chris Heiler and @ Lisa S

    You'll get this message when there is no data available. Either the code didn't get the proper username somehow or the feed is empty.

    @ sheila

    I didn't think to add support for moving the title, but that's a good idea. I'll work on that for the next version. In the meantime, if you're feeling brave, you can change lines 189-197 of youtube-feeder.php to look like this:

    1
    2
    3
    4
    5
    6
    7
    8
    9
    $content.= . '<div class="youtubeTitle">' . $vid['title'] . ($datelocation == 'beforevideo' ? $date : '') . '</div>'
        . '<div class="youtubeVideo"><object width="' . $width . '" height="' . $height . '">'
        . '<param name="movie" value="' . $vid['url'] . '"></param>'
        . '<param name="allowfullscreen" value="true"></param>'
        . '<param name="allowscriptaccess" value="always"></param>'
        . '<embed src="' . $vid['url'] . '" type="application/x-shockwave-flash" allowscriptaccess="always"'
            . ' allowfullscreen="true" width="' . $width . '" height="' . $height . '"></embed></object></div>'
        . '<div class="youtubeTitle">' . ($datelocation == 'beforetitle' ? $date : '')
        . ($datelocation == 'aftertitle' ? $date : '') . '</div>'
    • Cecilywiggins

      fyi - I tried substituting the above code and it came back with an error each time.

  • mosaic life

    Is it possible to click the thumbnail embed to open/play the video. If not that would be a great feature.

  • http://andrewensley.com/ Andrew

    @ mosaic life

    That is not currently possible. However, that is a great idea. I will see about adding it in the next version.

  • http://pulse.yahoo.com/_LGXSJ4DJYUGWKURI3K3IOSO2HQ Leon

    Hey Andrew. This plugin is great. Just having a problem at the moment. I'm using the playlist mode and the main player screen disappears whenever I upload my 8th video. This and the thumbnail not showing.

    • http://andrewensley.com/ Andrew

      Sorry to hear you're having trouble. Could you give me a link to the page that's having trouble so I can take a look?

      • Leon

        Hey Andrew

        This is the link - http://www.presshub.info/phmtest

        It's not just the page, this is exactly how it appears in the settings screen, except it only shows 3 thumbnails with the first 2 blank.

        • http://andrewensley.com/ Andrew

          Strange. It looks like the feed is not returning a video URL for those first two videos.

          The jquery.youtubeplaylist.js file parses the url to add the proper source for the thumbnail. If the url is empty, the code kills the javascript environment with a fatal error, which is why the player isn't showing up either.

          I'll add some error checking to that code to keep it from killing javascript, but your first two videos still won't work.

          What username are you grabbing the feed for? Maybe I can find some clue in the feed as to why this is happening.

          • Leon

            Makes sense.

            presshubdot info is the user.

            I've just had a look and noticed the first 2 have a youtube copyright block preventing it from showing in some countries. This is only shown in my admin area, but that may explain it.

          • http://andrewensley.com/ Andrew

            Version 1.0.4 is available for download now, and it fixes this issue.

  • Govpatel

    I have installed the plugin and am getting this error
    Warning: Invalid argument supplied for foreach() in /home/hanuamba/public_html/wp-content/plugins/youtube-feeder/youtube-feeder.php on line 103

    Can help if there anything I need to do to get the feed.

    • http://andrewensley.com/ Andrew

      That will happen if you have an invalid username or no data in the feed. This issue seems to come up a lot. I'll make sure the code checks for this case before trying to run that loop so this error won't happen. That should be fixed in the next release.

      • http://www.facebook.com/profile.php?id=730505570 Sheila Hash

        But how do we fix it??

        • http://andrewensley.com/ Andrew

          Check to make sure you're supplying the correct username, correct use of upper-case/lower-case and all. Then make sure the username supplied has at least one video in their feed.

          Other than that, I will be error-proofing the code in the next version.

        • http://andrewensley.com/ Andrew

          Version 1.0.4 is available for download now, and it fixes this issue.

    • http://andrewensley.com/ Andrew

      Version 1.0.4 is available for download now, and it fixes this issue.

  • alcina

    hi Andrew, me too like Govpatel I got the error on line 103.
    The username is valid. I've installed your plugin just now so I think at this moment I have "no data in the feed"... of course. So how can I use your plugin?
    (Maybe I don't have understood your words, sorry, my english it's very... basic :( !)
    Ciao Andrew and thank you for your work, I would be very happy to be able to use your plugin on my site! :)
    alcina

    • http://andrewensley.com/ Andrew

      Version 1.0.4 is available for download now, and it fixes this issue.

  • http://twitter.com/maatthc Alexandre MaaT

    Hi Andrew,
    nice work man!
    I have a suggestion about the use of file_get_contents - to avoid situations like : "warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration". I altered the getYoutubeData() to use cURL as a alternative if file_get_contents fails :

    if($you_data = @file_get_contents('http://gdata.youtube.com/feeds/api/users/' . $user . '/uploads?alt=json')){
    $data = json_decode($you_data, TRUE);
    }else{
    $ch = curl_init();
    $timeout = 5; // set to zero for no timeout
    curl_setopt ($ch, CURLOPT_URL, 'http://gdata.youtube.com/feeds/api/users/' . $user . '/uploads?alt=json');
    curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
    $you_data = curl_exec($ch);
    curl_close($ch);
    $data = json_decode($you_data, TRUE);
    }

    • http://andrewensley.com/ Andrew

      Thanks for the tip. I'll definitely be adding this.

    • http://andrewensley.com/ Andrew

      Version 1.0.4 is available for download now, and it has your cURL alternative code in it (with small modifications). Thanks for the contribution!

  • http://www.meshio.com yowchuan

    I have tried inserting this line in my sidebar.php, but it's just not showing up as intended:

    It shows the entire 'embed_youtube_feed();', literally. What am I missing here?

    • http://www.meshio.com yowchuan

      Hooray, problem solved! I use the following:

  • Nancy

    Hi,

    Can you tell me where in the database the user name is stored? I entered a wrong username and it has my page stuck in loading.

    Thanks!

    • http://andrewensley.com/ Andrew

      The username is stored in the wp_options table, but it would be pretty difficult to manually edit this setting.

      On the YoutubeFeeder Settings page, you can change the default username if that's where the incorrect one was used. You can also change the username in whatever shortcode or function call you used to embed the Youtube Feed.

      I would recommend also using the "Clear Cache Now" button at the bottom of the YoutubeFeeder Settings page.

  • Aryan

    when i use this plugin it not shown me main video, its show only thumbnail

    • http://andrewensley.com/ Andrew

      Can you give me a link to the page that has the problem? If you do, I'll check into it.

  • Huee Design

    I just got this msg when installing your plugin.

    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/content/m/o/n/monomental/html/2.0/wp-content/plugins/youtube-feeder/youtube-feeder.php on line 17

    • Huee Design

      actually, I got it when I was activating it.

      • http://andrewensley.com/ Andrew

        Sounds like something went wrong downloading or unzipping the plugin. Try deleting it and re-installing it.

  • KeithM

    Is this compatible with 3.0.4? Seems to have quit working on a site I'm putting together. Tested on a couple others and didn't work there either. No errors just the shortcode showing up in the text widgets.

    • http://andrewensley.com/ Andrew

      My site - and 3 others I maintain - are using WordPress 3.0.4 and the Youtube Feeder Plugin without issue.

      WordPress doesn't support shortcodes in sidebar widgets by default. However, I did find this quick little hack that should be just what you're looking for:

      How to: Add shortcodes in sidebar Widgets

  • Huee Design

    got it working.... but why would it only show 25 vids in the playlist? I have 33 in my playlist and can't seem to figure out why it won't show more.

    • http://andrewensley.com/ Andrew

      What username are you using for the feed? You can e-mail it to me if you don't want to post it here.

    • http://andrewensley.com/ Andrew

      Version 1.0.4 is available for download now, and it fixes this issue.

  • http://www.jamelia.com cecily

    Thank you for developing this. I'd really like to know how to remove the video titiles, or reposition the title info BEFORE the video. How would I go about doing that?

    • http://andrewensley.com/ Andrew

      I'll try to incorporate this into the next version.

  • Hervé

    Really cool plugin, Bravo ! Thanks for your work :-)

    Another feature to considere : The possibility of choosing certain videos but not all with checkboxes...
    Thanks again !

    • http://andrewensley.com/ Andrew

      Interesting... I'll consider it.

  • Fred

    Hi Andrew, Thanks for a great plugin.

    Is there any way I can use your plugin to display videos with a specific tag instead of a users videos? For example, I want to show videos containing the word "cats" and so on. I would then add this line of code to archive.php and use wordpress tags to automatically change videos between different tags.

    Is that possible? All help highly appreciated.

    • Ryan

      Agreed, this is the one feature that would make this plugin perfect imo.

    • http://andrewensley.com/ Andrew

      That's one of my ideas for a future iteration, and I would love to add this. It would require a bit of work though, and I'm short on time right now. I won't forget, but it may be a while before this feature crops up unless someone wants to support development (hint) :-).

    • http://andrewensley.com/ Andrew

      Version 2.0.0, which adds this ability, is out now

  • http://twitter.com/deegancon Paul Deegan

    Hi Andrew, like all the others I'm loving the plugin - But ...

    I can't get more than 25 video thumbs to appear. I have put various numbers in the LIMIT field but anything over 25 appears to be ignored.

    Thanks for your help on this

    • http://andrewensley.com/ Andrew

      Hmmm... what username are you using for the feed? You can e-mail it to me if you don't want to post it here.

    • http://andrewensley.com/ Andrew

      Thanks for helping me track down the problem. Version 1.0.4 is available for download now, and it fixes this issue.

  • http://twitter.com/billboardfamily The Billboard Family

    Question....

    The videos are displaying in from the oldest to newest. How can I get them to display from NEWEST to oldest?

    • http://andrewensley.com/ Andrew

      Thanks for catching this. Version 1.0.5 is out now, and it fixes the video order.

      • http://twitter.com/billboardfamily The Billboard Family

        No problem. Thanks!

  • Liebecampbellroberts

    Hello Andrew first and formost thanks for the plugin.

    I am trying to make a site for my little brother. You can see it at "www.muumi.org" on the 'gallery' page. I have modified its style slightly.

    The plugin was working dine the all of a sudden stopped working. The main video is simply not showing. Can you help with this please?

    Liebe

    • http://andrewensley.com/ Andrew

      I checked that page. It looks like the Youtube Playlist jQuery plugin is
      failing to load for some reason. The HTML on the page is correct, and
      jQuery is loaded, but I keep getting the error
      'jQuery("#youtubeFeederPlaylist1").ytplaylist
      is not a function'

      I would recommend contacting Dan
      Drayneabout
      this and see if he can tell what's going on. I don't mean to give you
      the run around. I just don't have time to do this myself - or at least not
      soon - and you contacting him directly might save some time.

  • Sqrlzrus

    Hi nice plugin - but can you tell me how to edit the order of the playlist? I would like to display oldest on top to newest at the bottom in one instance and the reverse in another.
    want want want - seriously - THANKS for the plugin!

    • http://andrewensley.com/ Andrew

      There's no option for that yet. With any luck, and a little free time, I'll be adding that feature soon.

  • http://twitter.com/TeenTalkMag Teen Talk Magazine

    I just installed the plug-in and configured it, I got an error message that said "Unable to get Youtube feed. Did you supply the correct user?" My username is correct, can you please help?

    • http://andrewensley.com/ Andrew

      If you can give me a link to the page you're trying to embed the feed on and the username you're using, I'll take a look at it. If you don't want to post them here, you can use my contact form.

  • Jim

    Hi, i installed your plugin which i really like but i have a problem: i have set the cache in 30 minutes because it takes videos from a news channel and i want them to be up to date, but the plugin is not bringing any new videos! My site is http://www.imerazante.gr and the videos are on the homepage. Any ideas please?

    • http://andrewensley.com/ Andrew

      Sorry to hear you're having trouble. Do you have any other caching plugins installed in WordPress? Common caching plugins are W3 Total Cache, WP-Cache, WP Super Cache, DB Cache, and Hyper Cache. Any of those or similar plugins could cause the Youtube feed to be cached longer than expected.

      • Jim

        No, i don't use any caching plugin. Any other ideas?

        • http://andrewensley.com/ Andrew

          Hmmm... Is the most recent video restricted by Youtube in some way?  You should be able to find this out by clicking the "Edit" button for the video and viewing the options under "Broadcasting and Sharing Options."  Make sure "Privacy" is set to "Public" and "Embedding" is set to "Yes."

          Once you have done that, check for any messages about copyrighted material in the video either on that page or in your inbox.

  • Tristan Holmberg

    I'm getting "Unable to get Youtube feed. Did you supply the correct user?"  the username does exist however it's Stable26Footgear... can you please help me understand what I'm doing wrong?

  • http://www.facebook.com/people/Sebastian-Petersen/744812321 Sebastian Petersen

    Hey Andrew,

    thanks for your plugin which is really great. But it causes two problems. First, its not accepting variables supplied to the embed_youtube_thumb() function (i used your examples with other usernames). Instead it uses the general settings. Also, its not fetching the videodescription.

    Is there anything im doing wrong?

  • http://twitter.com/ljarratt Lennie Jarratt

    Couple usage issues:

    I am trying to put just thumbnails into the sidebar, but I am getting only 1 video even though I have the limit set at 10: 
    http://www.championnews.net.php5-19.dfw1-1.websitetestlink.com

    I am using the following in the sidebar php code:  
        'championnewsonline',                         'limit' => 10,                         'width' => 280,                         'height' => 170,                         'style' => 'list',                         'cache' => '0 days'                     ));               ?>

    Second question:
    Is there a way to move the thumbs underneath the main video in the playlist view?

    • http://twitter.com/ljarratt Lennie Jarratt

      It appears it is only pulling the values from the Admin Settings. It is not allowing me to override them.  

      • http://www.facebook.com/people/Sebastian-Petersen/744812321 Sebastian Petersen

        Same goes for me...

        • http://andrewensley.com/ Andrew

          I'm checking into this.

        • http://andrewensley.com/ Andrew

          Ok, I've checked into this.  The shortcode is overriding the admin settings, but the function call is not.  I'm working on a fix now.

        • http://andrewensley.com/ Andrew

          It's fixed.  Version 1.0.6 should be available soon from wordpress.org.

  • Rory

    This is a great plugin - works better than many other more complicated solutions out there. I needed a solution that allowed me to embed a channel with thumbnails in the playlist style that was compatible with iOS and Android devices. This fit the bill perfectly. I was up and running in no time.

    • http://andrewensley.com/ Andrew

      Glad to hear it Rory!

  • maro

    I have 2 problems: description will not show up on either playlist feed or username feed.

    2) in settings I am getting an "unable to update settings" dialog box in red.

    I have in the shortcode description=true

    I have re-installed but no change. my link is:http://lovethebus.tv

    • maro

      Another problem... the published dates are wrong, they are duplicating!

    • http://andrewensley.com/ Andrew

      Version 1.0.7, which fixes this, is out now.

  • Markus

    Thanks for the great plugin.
    In my installation, i can't use the newest version. In the playlist feed, the is  description is missing, if i install a newer version then 1.0.3.
    With 1.0.3 all works fine.
    With the newer versions, after clearing the cache, the description is gone ...

    Regards, Markus

    • http://andrewensley.com/ Andrew

      Version 1.0.7, which fixes this, is out now.

  • Guiacachoeira

    Como fazer ficar em AUTOPLAY em todos os videos automatico?
    http://www.guiacachoeira.com.br/index2.php/

  • http://www.facebook.com/kevinfahey1984 Kevin Fahey

    Excellent plugin.. My only problem is displaying the same videos over and over on my homepage. Will try tweak it a little and come back for updates...

    Cheers, Kevin

  • http://www.facebook.com/people/Anthony-Clay/100000052233140 Anthony Clay

    Great plugin man. Only ONE thing I wish I could with this... I need to get the window mode to transparent, aka ?wmode=transparent ... and maybe use the Iframe embed...

    The problem is I have fixed divs with a high z-index on my page... and the youtube video overlaps them when you scroll past it. Need it to go under the divs and that seems to be the only way to accomplish that. Is there any where I can add ?wmode=transparent to your code that will do this? Thanks in advance!

  • Test

    Great plug in. Any way to pull from a user's playlist, not just the user's full account? 

    • Help

      I have the same question!

      • http://andrewensley.com/ Andrew

        Version 1.0.7, which fixes this, is out now.

      • http://andrewensley.com/ Andrew

        Version 2.0.0, which adds this ability, is out now.

    • http://andrewensley.com/ Andrew

      Version 1.0.7, which fixes this, is out now.

  • Telisronoy

    Great Plugin !
    But I have a mistake ! I can't show the description of my video ?
    http://guimbi-production.com/

    • http://andrewensley.com/ Andrew

      Version 1.0.7, which fixes this, is out now.

      • Telisronoy

        Thanks a lot !!
        But now, I have a new mistake.

        The plugin is perfect with firefox, but with IE, I have a mistake in my sidebar.
        The video embed take just 1px !!!
        You can see it : http://www.guimbi-production.com/le-blog

        • Telisronoy

          Sorry,

          An error from my code which is just interpreted by FF !!

          • http://andrewensley.com/ Andrew

            Glad you figured it out!

  • guest

    Everything works but the main video doesn't show up next to the playlist...it's just an empty space.

  • http://twitter.com/lordjdavis Jeremy Davis

    Would like to be able to just show a specific playlist instead of recent videos, is there a shortcode for this? I have installed 1.0.7

    • http://andrewensley.com/ Andrew

      Hi Jeremy, That feature does not yet exist, but it is planned for a future version. If you would like to speed up development, feel free to hit the donate link above, and I'll get on it right away.

  • http://twitter.com/jimmykup Jimmy Kupczak

    Any way that the plugin could pull in the YouTube videos' full page URL instead of just the video embed URL?

    • http://andrewensley.com/ Andrew

      I'm not sure what you mean.  Do you want it to spit out links to the videos rather than embedding them?

      • http://twitter.com/jimmykup Jimmy Kupczak

        Precisely!

        • http://andrewensley.com/ Andrew

          Hmmm... interesting idea.  Could you give me a link to an example of what you're looking for with this?

          • http://twitter.com/jimmykup Jimmy Kupczak

            http://gointrigue.com/

            Scroll to the bottom of the page and you'll see Recent Videos in the footer. I modified the HTML to output just text links. Unfortunately clicking on them brings up JUST the video. I'd like it to instead link to the actual YouTube page that has the video.

          • http://twitter.com/jimmykup Jimmy Kupczak

            Hi again,

            While I have you here I guess I'll ask you about a problem with the feed updating. U have the cache set to 0 and I've also cleared it yet. Yet, a video that was uploaded to the YouTube channel almost 24 hours ago still isn't being displayed in the list.

            http://www.youtube.com/user/IntrigueDance#p/u/7/LqCyBPkIlck
            http://gointrigue.com/ (at the bottom)

            Any idea what the problem might be?

  • Camille

    The plugin has been working fine until today. It won't load my newest video no matter what I do. I've deactivated/activated, removed my username/saved/reentered my username, etc. There's no music in my video to block it. Any thoughts?

  • Darlene

    Hi,

    Love this plugin - thanks! I see that you should be able to specify a playlist for a user in the latest release. How does one do that? I have the username specified, but am unclear as to where I specify the exact playlist for the user to be shown.

    Would that be in the shortcode?

    Thanks!

    • Anonymous

      I have the same question. Below comments say that I should be able to do this and for the life of me can't figure it out.

      • http://andrewensley.com/ Andrew

        There is no way to embed a specific playlist at this time.  It is a planned feature for a future release.  Sorry for any misunderstanding.

        • http://twitter.com/BrashersAA Brasher’s Auctions

          Count us in with another request to embed a specific playlist. Thanks for the great tool!

    • http://andrewensley.com/ Andrew

      There is no way to embed a specific playlist at this time.  It is a planned feature for a future release.

  • Shelly Lee Edwards

    I love the plug in... as a newbie WP person it was very easy to install... Thanks. 

    You may have already answered this... but I couldn't find it in your other comments.

    Is there a way to get rid of the related videos at the end of the video? Also, can I take one of the 'titles' of the video away?.. We get the title on the video and below the video at the same time.
    Michelle

    • http://andrewensley.com/ Andrew

      I've added a feature to the Roadmap for 1.1.

  • Archtype13

    is there a way to activate autoplay mode

    • http://andrewensley.com/ Andrew

      I've added a feature to the Roadmap for 1.1.

  • Archtype13

    is there a way to display a specific playlist

    • http://andrewensley.com/ Andrew

      I've added a feature to the Roadmap for 2.0.

  • Greg

    Awesome, awesome plugin!

    I've added this great plugin to a text widget to get it into a sidebar, using this code:
    View all
    [youtubefeeder user="uwmnews" limit="1" style="playlist" width="275" height="220" dateformat="n/d/y" thumbnail="false"]

    As you can see below, the description doesn't fill the sidebar.

    Can anyone tell me why?

    • http://andrewensley.com/ Andrew

      The width of that text is controlled by CSS rules set in the plugin's stylesheet.  Look for the sections starting with:

      .youtubeFeederPlaylistList

      on line 68 of http://uwmnews.chojnacki.us/wp-content/plugins/youtube-feeder/css/style.css

      and:

      .youtubeFeederPlaylistList li

      on line 75 of http://uwmnews.chojnacki.us/wp-content/plugins/youtube-feeder/css/style.css

      You'll see a rule for width that is currently set to 220px and 216px in each respective section.  You'll probably want to change both to 100%

    • Greg

      Me again: The issue was using the "playlist" style, rather than the "list" style.

      Fixed that, changed the fonty size ... lookin' sweet!

      Time to donate...

      • http://andrewensley.com/ Andrew

        Donation received.  Thank you!

  • http://pulse.yahoo.com/_G7UCCO5H2FDJGVJ5QPOGVTKHMU cory

    Hi Andrew,

    Great plugin! Thanks sooo much!

    Although, it won't post any videos less then 1 day old. I have tried to clear the cache and put a "o" without the quotes in the cache area....but it still won't load the most recent videos that have been posted a couple of hours ago. i keep trying and it won't post new vids. Any suggestions?

    Cory

    • jen

      can you please advice how to get videos to post that are under 1 day old. Even putting zero in the cache area will not pull up the most recent video. I would like to give you a donation if this can be fixed.

      • http://andrewensley.com/ Andrew

        Hi Jen, this question has come up a few times before, so I've added it to the FAQ section.

    • http://andrewensley.com/ Andrew

      Hi Cory, this question has come up a few times before, so I've added it to the FAQ section.  If you're videos still aren't showing up, see the first FAQ for a potential explanation.

  • Travis

    Love the plugin. Simple and perfect for its purpose. I'm attempting to use FitVids (http://fitvidsjs.com/) for responsive video with this plugin. Works great in browser but on iOS devices it seems the object embed doesn't play nice. Height doesn't scale properly. Any way to incorporate the standard iframe embed for Youtube?

    • Travis

      Actually, investigating a little further I don't think the iframe embed or the object embed is an issue. The height entered into the plugin settings that affects the .youtubeFeeder div is.

      • Travis

        Thinking maybe if this didn't need to be entered or could be included with percentages then it might fix this. Would be great to see this plugin work perfect with FitVids. It would be a great upgrade to the current plugin.

        • http://andrewensley.com/ Andrew

          I've added a feature to the Roadmap for 1.2 that should address this issue and make customizations like this much easier.

  • Mrman

    How do i remove the video title from below the embedded videos please? I just want to show the video and nothing else.

    • http://andrewensley.com/ Andrew

      I'll work on adding that feature in the next release.

  • Alex

    Thank you man for this plugin, really saved my day!!!!

    • http://andrewensley.com/ Andrew

      You're welcome! Glad to hear you liked it.

  • Anonymous

    Hello Andrew,

    I have a little problem...I sync my youtube channel to my website with your application, but there is some videos wich are not showed on my website.
    You can see the bug here : http://guimbi-production.com/videos/

    Do you know a solve ?

    Thanks

    • http://andrewensley.com/ Andrew

      Hi Julien,

      As mentioned here, it's probably because music in the video is copyrighted or it contains clips of a copyrighted video. You can review Youtube's fair use policies and submit a counter-notification if you feel your video falls within fair use.

      • Anonymous

        Thank you for your answer. On the other hand, I do not understand why I cannot post them on my site, in measurement or Youtube sent a notification to me, but these videos are not blocked as can the being certain videos; Moreover, I tested JwPlayer today by synchronizing my chain using a flashvars, and my videos appeared (http://gdata.youtube.com/feeds/api/users/guimbiproduction/uploads?v=2)! Is it possible to call the posting of my playlist using this variable? Thank you.

  • James

    Hi Andrew,

    Unfortunately the 'playlist' view isn't displaying the main video. The 'simple list' view works fine though. The playlist view is displaying the thumbnail list ok, just not the main video.

    Is there something I'm missing? The page is here: http://www.james-marshall.com/nspcc/

    Many thanks

  • Blob

    would really like to see NOT just username but also categories and/or keywords in that category. Now that would be really special

    • http://andrewensley.com/ Andrew

      Thanks for the suggestion.  As you can see above, that is a planned feature for Version 2.0.

  • Paul

    Hello, Im sorry if you answered this already, but i was wondering if the youtube play list can be displayed into 2 columns (instead of 1)? im not good at CSS

  • jenny

    I love your plugin. But all of a sudden today, i have two websites that are just "hanging" and taking forever to load the page. I don't understand b/c it worked great over the past month. I tried removing the youtubefeeder script and my site loaded fast. As soon as i then tried to add the youtubefeeder script it loaded really slow again. Any idea why this is happening?

    • http://andrewensley.com/ Andrew

      What is your cache set to?

      • jenny

        I tried moving the cache to 5 hours vs. 0. And it still is hanging there and not allowing the page to load. Should i try uninstalling the plugin and reinstalling? Should i try moving my site to a new server?

        • http://andrewensley.com/ Andrew

          The delay you're seeing is due to the time it takes for the server to retrieve the video feed from Youtube. If you're cache is set to 0, that means the server will connect to youtube on every page view before displaying the results. Does your page still hang on every page view or just the one immediately after changing the cache settings?

          • jenny

            Hi Andrew,
            I changed the cache to 5 hours about 8 hours ago. When i checked my website a second ago, it was still hanging. I wonder if the cache is somehow not  changing. Maybe i should reinstall the plugin?

          • http://andrewensley.com/ Andrew

            Can you give me a link to the page that's hanging and the settings you're using to embed (user, style, limit, etc.)?  If you don't want to post them here, you can use my Contact form to email me.

          • jenny

            Hi andrew,
            Here is one of the URLs that i have your plugin on..the script i added was:

            [youtubefeeder user="whygoldandsilver" limit="2" width="335" height="275" dateformat="n/d/y" datelocation="aftertitle" description="false" style="list" thumbnail="true" cache="9 hours"]

            Here is the page:
            http://howmuchissilverworth.org/mike-maloney-videos/

            should i try moving to a different server? and reinstall?
            P.S. - sometimes it hands, and sometimes it  doesn't ..so confused.

            Thanks so much for your help.
            Jenny

          • jenny

            my site isn't "hanging" today. I hope it stays like this. I don't know why some days it hangs and other don't. ??

  • Vince

    Is there anyway to recode this to pull specific dates from you-tube?

  • http://twitter.com/thedrumosphere David Moss

    000

  • http://twitter.com/thedrumosphere David Moss

    Is there a way

  • http://twitter.com/BossSinSeer Dalibor Zujovic

    Is there a way to add wmode="transparent" to allow DHTML menus to sit on top of the videos?

    • Joey Z

      Drop this in the head or in a script.js file.

      jQuery(document).ready(function ($) { $(function(){ var frames = document.getElementsByTagName("iframe"); for (var i = 0; i < frames.length; i++) { frames[i].src += "&wmode=opaque"; } });});

      Or you might want to put it in a window load instead, depends on your preference.

      • http://andrewensley.com/ Andrew

        Thanks for that code. I'll put wmode=opaque in the next release with an option to change it. That way, no javascript hack is necessary. It looks like wmode=transparent might be needed for some compatibility scenarios: http://stackoverflow.com/a/5476455/20801

        I'll also add allowTransparency="true" to the iframe tag.

  • Hendel

    Hey Andrew, excellent work! I installed the plugin on wordpress website, and it works fine with all usernames I try besides my own. I tried yours, and random ones I stumbled upon. When I enter my own (only 1 video avail at the moment), it says: "Did you supply the correct user?"

    Any suggestions?
    Thanks!

  • Anonymous

    Hi

    Many thanks for the wordpress plugin. Is it possible to specify that youtube use html5 instead of flash?

    Thanks

    • http://andrewensley.com/ Andrew

      This is a planned feature for Version 1.1

      • markdj57

        Awesome, I know my iOS visitors would be most grsteful :-)

  • Michael

    Hi,

    Great Plugin...but having some strange issues occur. We are bringing in 10+ youtube feeds on our site. They all go to a unique page and we are using the shortcode to bring them in.  Everything looks great to start then the page strangely changes from the YouTube Channel setup to blog entries. Even my Tagged title for that page goes away. I cannot figure this out.

    If you have a chance to take a look I would appreciate it.

    http://www.haulerdeals.com

    Look under Gurus menu item.

    Here is a page that is messed up: http://haulerdeals.com/nikki-phillippi/

    Using this shortcode: Nikki Phillipi's YouTube Channel
    [youtubefeeder user="NikkiPhillippi" limit="20" style="playlist" width="600" height="340" dateformat="n/d/y"]

    Now here is a page using the same shortcode, but with a different youtube channel that is working:

    http://haulerdeals.com/check-in-the-mirror/

    Any idea what is going on here?

    Thanks

  • Franklin

    Hi,  great plugin, I wanted to know if there is a way to use it on multiple pages. example:  1 page has youtube feed for  News in the UK, another page for news in the South America...But when I go to WP settings I am allowed just one user name.    Thanks

    • http://andrewensley.com/ Andrew

      The information on the Settings page are just defaults.  Everything can be overridden in the shortcodes or function calls. This allows you to post an infinite number of user upload lists if you want.  See Usage for more details.

  • Andrew Mcloughlin

    hi! how do i display an just an actual playlist and not just my username(all videos)??

    • http://andrewensley.com/ Andrew

      That is not yet possible.  It is a planned feature for Version 2.0.

  • Andrew Mcloughlin

    also can you tell me how to scroll the videos in sets of 2-3 pleasE?

  • http://www.facebook.com/danielnevesbl Daniel Neves

    It's possible to display the last video and load the links for the others videos?

  • Bobby Dautrich

    Is it possible to have a scroll bar for the playlist on the right side? I have about 20+ videos.

  • P Vos

    Hi, thank you for this very cool plugin. It's working great and so easy. Is it possible to add that the plugin plays videos from a Youtube playlist? It would be very nice because there is more control which videos can be played instead of playing the last x videos in a channel. I hope this can be done. Thanks in advance. Peter

    • http://andrewensley.com/ Andrew

      That is not yet possible.  It is a planned feature for Version 2.0.

  • http://twitter.com/Peter_Vos Peter Vos

    I'll be patient ;-)

  • Sam

    I'd like to display this on my side bar so I tried to put the [youtubefeeder] code in a text widget but it won't work. Anyway to make a widget. Also all youtube already has title on top the video, anyway to disable the title. It take lot of space on the page.

    Thank you

  • Viktorvaughn7

    Hi, i cant seem to get the video to load automatically, only works when you click it... can you  help?

    http://www.wtapredictions.co.cc/

  • Too Tall

    For everyone who wants a scroll bar....
    edit this in your style.css that came with the plugin....

    .youtubeFeederPlaylistList {

        float: left;

        margin: 0 !important;

        padding: 0 !important;

        width: 250px;

        height: 400px;

        overflow:auto;

    Also decrease the padding from 20 to 5px

    .youtubeFeederplaylist {

        background: #f3f3f3;

        padding: 5px;

        /*float: left;*/

        border: 1px solid #e3e3e3;

        margin-bottom:15px;

    Check my website for the end result http://thepnn.org

  • Kyon1 Hollis

    I am sad...
    why do you ask? 
    Everyone else is able to easily use the plug in and for some
    reason I cannot seem to get it right!

    http://www.violastea.com

    I want to insert the youtube feeder at the top of my home page...I am disgusted at the fact that I cannot seem to do this correctly. lol

  • Mark

    I love the plugin...Today I created a new youtube channel and made the necessary changes to my wordpress settings. However when I make the changes to the back end I am getting the message on my website saying 'Unable to get Youtube feed. Did you supply the correct user?'. I definitly do have the correct user....does it have somethign to do with my YouTube channel being new?

  • Error411

    Getting an error on the plugin settings page after inserting username:

    Fatal error: Cannot use string offset as an array in [...]/wp-content/plugins/youtube-feeder/youtube-feeder.php on line 118

  • LindaC

    What if the plugin can't find my youtube user and I am keying in the right user name

    • http://andrewensley.com/ Andrew

      Hm... Do you have any public videos uploaded at least 24 hours ago?

  • Jasper

    I've supplied the correct username, but keep getting the "Unable to get Youtube feed. Did you supply the correct feed information?" message. Any fix for this?

    • http://andrewensley.com/ Andrew

      Do you have any public videos uploaded at least 24 hours ago?

  • Joey Z

    Just in case anyone was having the problem in IE with the iframed videos sitting on top of modals. Drop this in the head or in a script.js file.

    jQuery(document).ready(function ($) { $(function(){ var frames = document.getElementsByTagName("iframe"); for (var i = 0; i < frames.length; i++) { frames[i].src += "&wmode=opaque"; } });});

    Or you might want to put it in a window load instead, depends on your preference.

  • gemmers singapore

    Hi, great plugin so far!

    The playlist feature does not have the player for the vids, but simple view works great. Its not that important for me though

    Can someone tell me how to add a space between the videos?
    The layout is currently text, video, text, video. Its a little cramp and i wana add some enter's inside so it looks more roomy.

    Lastly to use less scrolling, is it possible to have more then 1 column of vids? Im thinking of 2-3 columns.
    Thx!

    • http://andrewensley.com/ Andrew

      Hi, Glad you like it. It sounds like you may have a javascript error on your pages that is preventing the playlist style from working. That is the only style that relies on javascript, so it would explain why the other styles work. If you send me a link to your page, I could check it out for you.

      For the spacing, try editing lines 46-49 of /wp-content/plugins/youtube-feeder/css/style.css to look like this:

      .youtubeFeederlist .youtubeTitle {
      font-size: 1.6em;
      margin: 3px 3px 10px 3px;
      }

      For the columns, I'm not sure if this can be easily done with the plugin in its current state. However, CSS is very powerful, and a more knowledgeable CSS guru might know how to do it.

  • http://twitter.com/RoamingChile RoamingChile

    Thank you for this plugin. I tried a few others without success. Yours worked. Thank you for the settings page. The others didn't have that. Love the 'playlist' option. Would like to see a tile option within the playlist display in addition to the column so as to have a bigger player embed neatly.

    • http://andrewensley.com/ Andrew

      Thanks for the feedback! That's an interesting idea. I'll look into it.

  • Messiro

    Is there a way to order a users playlist to start with the oldest video? Like published the first video at the top?

    • http://andrewensley.com/ Andrew

      That's not currently possible, but that's a good idea to be able to change the sort order. I'll add that in the next version.

  • Humberto

    Hi Guys,

    This maybe a stupid question but..
    any idea why it only pulls a thumbnail list to youtube videos when I use PLAYLIST?
    I'm even using the demo code above to try the playlist feature and no dice.

    • http://andrewensley.com/ Andrew

      There's most likely a javascript error occurring somewhere on your page preventing youtube feeder's javascript from running, which is what actually creates the video player.

  • Lauren

    Thanks for a great plugin!! For some reason the most recent video does not show up in the feed. It does not have any embed restrictions since I am able to embed it elsewhere. What could be causing this? Help!! thanks!

  • dom

    is there a way to display the current views (viewcount) of videos? in the playlist next to the title?

    • http://andrewensley.com/ Andrew

      That's not currently possible, but it is a great idea. I'll look into adding that.

  • nikos

    i want to ask if i can in: feed type: user upload and :feed id: example newsittv, enikosgr ( i want 2 or 3 username youtube) i can this?
    and region how to greece ? thanks

    • http://andrewensley.com/ Andrew

      There's no way to put two usernames in a single feed. What I would recommend is creating a playlist on one user, and adding the videos from both to that playlist when they are uploaded.

      For the region, there's a drop-down box on the settings page to choose your region. The only regions listed are the only ones available. There doesn't appear to be a region for Greece. That feature is dependent on Youtube, so I can't add regions.

  • Colin G

    Hi Andrew, love the plugin. I was wondering if there is a way to have pagenavi so after the video limit is reach it moves to a new page. Many Thanks!

    • http://andrewensley.com/ Andrew

      Hi Colin, Thanks for the feedback! There's no way to do page navigation at the moment, but that's an interesting idea. I'll consider adding that in a future version.

  • Colin

    Hi Andrew, is it possible to make the plugin responsive? Many Thanks Colin

  • Marcin Nurski

    Hi Andrew. I want to thank you for that plugin. It is everything I could ever expect it to be and makes my website much better. I'll make sure to support you in near future. Great job!

    • http://andrewensley.com/ Andrew

      You're welcome! Glad to hear it!

  • martha_LG

    Great plugin! Thank you! Is it possible REVERSE the order of the playlist videos? For example rather than the highest rated video playing first, I want the lowest rated video...or the video with the lowest "views" ? Thank you!

  • http://www.facebook.com/martheezy Martha Martheezy

    Great plugin! Thank you! Is it possible REVERSE the order of the
    playlist videos? For example rather than the highest rated video playing
    first, I want the lowest rated video...or the video with the lowest
    "views" ? Thank you!

  • http://twitter.com/natedriver Nathan Driver

    Is there a way to get the title (span class="youtubeTitle) and description (small class="youtubeContent") to display for the main player video in the playlist style?

  • GreenGorillaVideo

    Hi Andrew! In the Playlist that shows up there is a dash I cant get rid of. When I mark it to not show any title the dash is still under each thumbnail. When I tell it to show the titles of the videos it ads the dash at the end of each titel. It would also be nice to have some control over the font size and style, but just getting the dash not to show would be awesome man!

  • Naveen Chand K

    Great Plugin. I have a small question. The ORDERBY option is nice but looks incomplete in the sense that it orders by given option but only in ASCENDING order. How do I get videos in descending order of Published Date? Thanks.

  • Matt

    Andrew,

    Love the plugin. But for some reason it seems to not be working with Firefox. It says that additional plugins are required to display the media. Have you run into this problem before?

  • curt

    Is it possible to show the Recording date of the video instead of the uploaded date?

  • Aaron

    I'm wondering how I can make it so the main player adjusts automatically for mobile browsers? Is this possible? If not, is there a way I can make it so that if my site is being viewed on a mobile browser, the youtubefeeder isn't displayed?

    For instance I didn't want my sharethis buttons to display on mobile so I inserted the following code to my css. Wondering if I could do the same for the player?

    /* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
    @media only screen and (min-width: 480px) and (max-width: 767px) {

    #sthoverbuttons { display: none; }

    }

    /* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
    @media only screen and (max-width: 479px) {

    #sthoverbuttons { display: none; }

    }

  • Dave

    Reporting that Safari 5.1.7 on OS 10.6.8 has extra long load time, and that the sound drops part way through the play of each video. Thank you!

    • Dave

      Thank you, Andrew. If you are interested in checking out the issue, here is the website having the trouble with Safari 5.1.7 on OS 10.6.8: http://detsportsmedia.com/

  • guest

    Thanks for the plugin. In addition to the main video page, is there a way to embed 1 random video in a post/page from our list of videos? I want to have a "Video of the day" type thing out of the videos I selected, but put it in a page, not a sidebar widget. Thanks!

  • Ayon

    Added A extended search method to search a user upload with search

    case 'exsearch':
    $beforeId = 'users';
    $q = explode('|',$id);
    $t = end($q);
    $afterId = '/uploads?q=' . urlencode($t);
    $id = $q[0];
    $params['orderby'] = 'published';
    break;

    [Add the code after break; line no 290]

    Usage -

    [youtubefeeder feedtype="exsearch" feedid="flamadiddle86|attacks more keyworods" autoplay="0" style="list" limit="10"]

    • http://andrewensley.com/ Andrew

      Great idea! Thank you for this code. I'll add it to the next version.

  • Hiren

    Hi Andrew, Thanks for a great plugin.

    I am trying to clear the cache and I am getting error stating "Unable to clear Youtube Feeder Cache". Is there any way to find out why I am getting this error? What are other ways to clear this cache?

  • Hiren

    Hi Andrew,

    I installed the plugin on my development site. My server is using proxy, so I updated youtube-feeder.php file. I updated function getYoutubeData (at line 198).

    I replaced

    if($data = @file_get_contents($dataURL)){
    $data = json_decode($data, true);
    }
    elseif(function_exists('curl_init'))

    BY

    if( !class_exists( 'WP_Http' ) ){
    include_once( ABSPATH . WPINC. '/class-http.php' );
    }

    $proxy = new WP_HTTP_Proxy;
    if($proxy->is_enabled()){
    $request = new WP_Http;
    $result = $request->request( $dataURL );
    if($result['response']['code'] == '200'){
    $data = json_decode($result['body'], true);
    }else{
    $data = false;
    }
    }
    elseif($data = @file_get_contents($dataURL)){
    $data = json_decode($data, true);
    }
    elseif(function_exists('curl_init'))

    Can you add this change in your next release? Above change will check proxy settings and it uses WP_Http class which include proxy setting for HTTP call.

    Are you planning to add similar change in your next release?

  • rjreiffer

    Andrew, basically everything seems to work great on this plug in except when I open it on an iPad the video does not start (autoplay="1" is set), however the play button looks like it has been pressed (turns red). Any ideas?

  • Drumsetman

    Awesome plugin! My question is I have multiple playlists on my Youtube account and I just want the feeder to focus on one playlist, cause right now its automatically selecting new uploads from different playlists, how do i do this? Thanks in advance!

    • http://andrewensley.com/ Andrew

      You're in luck: that's very simple to do. All you need to do is go to your YoutubeFeeder settings page, and for the Feed Type, select "User Playlist."

      Then, instructions will show up for how to get the Playlist ID that needs to be put into the Feed ID setting.

      If you want to embed more than one playlist on different parts of your site, that is easily accomplished by using the short tag settings in the same way. You can find details for that under the Usage section.

  • TommyL

    Hi there, thanks for a great plugin. Just a question, when I use the widget a ca 80px-100px empty space appears below the widget before any other widget can begin, it there anyway to get rid of that empty space?

    Many thanks,

    //Tommy

  • Emmet O’Connell

    Hi, great plugin, is it possible to have a few separate 'single' video files on the same page. I mean, embedding the code a few times to play differnet single videos from the same user.

  • Guest

    Hi! I love the plugin it works great. However i have several playlists that i want to display on different pages of my website. Is there a way with this plugin to be able to do that. I already used it for one of my playlists and need to use it for one more. Thanks!

  • Philip Moffett

    I tried to place this plugin in a vertical pane on the right side of my word press sight but it doesn't show up?

  • Laurie Calverley

    We have a dev/test WordPress server inside our firewall with the plugin on it and the pageload slows to around 90 seconds with an error from the Youtube plugin. We have set the wp-config.php with proxy details and WordPress itself now picks this up and updates fine, but the Youtube plugin doesn't seem to pick up these settings. Is there any way to have the plugin work through a proxy for a server behind a firewall? It is a good plugin but we can't keep pushing stuff to production that we can't test properly on our dev/test servers.

    • http://andrewensley.com/ Andrew Ensley

      Thanks for catching that. I'll looking into using WP's proxy settings and see what I can do.

  • Niko

    Hi, this plugin with user id or without user id or playlist post the follow error: "Unable to get Youtube feed. Did you supply the correct feed information?"

  • Downhill

    I get an error with WordPress 3.6.1 Multisite.

    Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /xxxxxxxx/wp-includes/functions.php on line 2998

  • Markus Zurbrüggen

    Hello,
    i installed the youtube feeder on my site.
    In the options, i choosed the "User uploads" But some videos (seems random) are not displayed on my site. how could that be?
    for sure i can say, there are no contents in this video for wich arent the copyrights in my hands...

  • Craig

    HI,

    Great Plugin. Does exactly what my client was looking for :-) One small issue we are experiencing is that the plugin is displaying the video from about 3 days go instead of the most recent one. We are only showing 1 video.. I also tried to clear the cache, set the cache to 1 minute and installed on another site but the same results appear. The videos are coming from here : https://www.youtube.com/user/TFO247/videos Not sure what to try next.

    Thanks in advance for any assistance.

    • John

      The same problem i have too... :(

  • Castle Mum

    "Unable to get Youtube feed. Did you supply the correct feed information?"

    I am using the search string option. I noticed on your own description page for this plugin, you have the same thing under the search option. Is this on Youtube side? or incompatability with WP. The plugin was working, then this. Help?

    Castlemum, http://aroundthecabin.com/emnews/

  • Jason Farrell

    Trying to use wp_enqueue_script to allow my wp pages to load prior to execution of jquery.youtubeplaylist.js. What is the handle for this script?

  • rookhaven

    Only shows 2 vids no matter what limit I put.

  • Brian

    Great plugin! However, I really miss the opportunity to switch between asc/dec ordering. Just at little checkbox right next to the order-by Dropdown would be fantastic :)

  • sam

    1st install seems working but then, not sure what happen.. didnt do anything much..
    i got this issue >> Invalid argument supplied for foreach() in line 475

  • Guest

    Hi... I am trying to find best widget for YouTube, and one of three best choices is yours. However, there is two flaws. Any chance to fix this?

  • Marko Relic

    Hi... I am trying to find best widget for YouTube, and one of three best choices is yours. However, there is two flaws. Is there any chance to fix this?

forum
7ads6x98y
report