Norman YouTube Plugin

Also known as SubZane YouTube Plugin

Minimum Version: 2.5

Compatible up to: 3.1.4

Last Updated: 2011-06-09

Download Version 1.8.3.1.3

This widget displays a thumbnail list of the most recent videos from a selected youtube user or youtube tag in your sidebar.

Features

  • Lightbox support with Shadowbox JS.
  • The number of recent videos displayed can be configured
  • List videos uploaded by a specific user.
  • List videos tagged as favorites by a specific user.
  • List videos from a specific playlist.
  • Search for videos and display the results in a widget or a post/page.
  • Order the results by published, viewCount, rating or relevance.
  • Use short codes to add youtube video listings into your posts.

Installation

  1. Upload the folder `subzane_youtube_plugin` to the `/wp-content/plugins/` directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Add the widget to your sidebar
  4. For lightbox support download and install Shadowbox JS
  5. To add listing inside posts use the shortcode [sz-youtube].

Shortcode syntax

Write like this [sz-youtube value="subzane" type="favorites" max="5" sortorder="viewCount"]

  • value = a username or a tag
  • type = tag/user/favorites
  • max = Max number of videos to list.
  • sortorder = published, relevance, viewCount or rating
  • autoplay = Autoplay videos in lightbox or not (1/0)
  • related = Display related videos or not (1/0)
  • lightbox = Use lightbox or not (1/0)
  • aspect = Aspect ratio (4:3, 16:9 or 16:10)
  • width = Width of the video. Height is calculated from width and aspect.
  • hd = HD Video if available (1/0)
  • langelliott

    Andreas:

    Is it possible to tweak the code to accomplish the following:

    1) have the YouTube video autoplay when it opens in the lightbox

    2) disable YouTube's display of “related videos” when a movie has ended by adding “rel=0″ in the proper place in the code?

    Given that these are not standard options, would you be available for hire to tweak the code to enable these features?

  • http://www.andreasnorman.se Andreas Norman

    1) yes, that should be possible
    2) yes

    And yes. However these suggestions are great ones and should be implemented anyway in my opinion. But I will email you and we can discuss this further.

  • http://all.is/ All That Is

    I am getting this error in my side bar: all.is/wordpress

    Fatal error: Call to undefined function: simplexml_load_file() in /homepages/26/d256363735/htdocs/all.is/wordpress/wp-content/plugins/subzane-youtube-recent-videos-widget/subzane_youtube_plugin.php on line 66

  • http://www.andreasnorman.se Andreas Norman

    You'll need to upgrade to PHP 5 for this plugin to work.

  • Nik

    Hi

    is there problem with the upgrade automatically system ? all I ever get is:

    Downloading update from http://downloads.wordpress.org/plugin/subzane-y….

    Unpacking the update.

    Then nothing :(

  • http://www.andreasnorman.se Andreas Norman

    I truly have no idea except that it probably has nothing to do with the plugin it self. It might be the plugin server or your WordPress installation. But then again. I have no idea. Sorry

  • Chris

    Hi,

    Just installed your plugin – I am able to load up the videos from my youtube channel, they are displayed however when I click on the video, the shadowbox page loads but not video is shown… Wondered if you could tell me if it cmes from Shadow box or your plugin?

    Many thanks

  • Chris

    actually forgot to mention it works perfectly on in the sidebar as a widget, but the issue comes from inserting the code into a post or page.

  • http://www.de-kleijn.com/ Nick

    So, what has changed with 1.6.1? I can't find the version changes and I'm thereby not sure if to upgrade yes or no.

  • http://www.andreasnorman.se Andreas Norman

    I haven't had time making a list of version changes yet. However, you may check the feature list above and see if there's something you might be missing.

    A version history list of things changed will be added in the future though.

  • http://www.andreasnorman.se Andreas Norman

    Can you show me the exact shortcode you are using?

  • Pingback: uberVU - social comments

  • Chris

    this is the code used in the post:
    [sz-youtube value="gammakdg" type="favorites" max="10" sortorder="viewCount"]

  • Andrew

    Hello,
    I am getting the following error:
    Warning: simplexml_load_file(http://gdata.youtube.com/feeds/api/playlists/property/?max-results=3&orderby=published&v=2) [function.simplexml-load-file]: failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request in /home/proplcou/public_html/wp-content/plugins/subzane-youtube-recent-videos-widget/subzane_youtube_plugin.php on line 72

    I am running PHP version 5.2.9

    Cheers

  • http://www.andreasnorman.se Andreas Norman

    Did you supply a playlist ID?

  • Andrew

    Thanks for the quick reply. I am using as keyword

  • Andrew

    Sorry, that was my fault. It is working now.

  • http://www.andreasnorman.se Andreas Norman

    Good to know :)

  • chris

    favourites doesnt work

  • http://www.andreasnorman.se Andreas Norman

    Please be mor specific.

    Doesn't work where? and how? using widget? or shortcode? with what parameters.

    It's impossible for me to fix it unless you tell me :)

  • http://blog.hudsontoyota.com/ Kyle

    Hi, I updated to the most recent version yesterday and now none of my videos are showing. I can't even get the options panel to show up. Is there something I am doing wrong?? Great plugin by the way!!

  • http://www.andreasnorman.se Andreas Norman

    Do you get any errors? Have you tried deleting the plugin and install it again?

  • http://www.andreasnorman.se Andreas Norman

    Found what's causing your problem. Your shadowbox settings is set to enable shadowbox by default. This will add shadowbox-code to the links my plugin provide.

    However. If you don't provide lightbox=”1″ in the shortcode the plugin won't change the url to be shadowbox compatible.

    So my solution for you is the following:
    If you do want shadowboxed videos you must provide lightbox=”1″ for the shortcode.

    If you do not want shadowboxed videos you must change the shadowbox settings to not automatically add shadowbox to youtube videos.

  • http://amberspence.org Amber S

    I am getting these errors in WP 2.8.6

    Warning: subzane_youtube_plugin_getVideos() [function.subzane-youtube-plugin-getvideos]: Node no longer exists in /home/sickhop/public_html/wp-content/plugins/subzane-youtube-recent-videos-widget/subzane_youtube_plugin.php on line 85

    Warning: subzane_youtube_plugin_getVideos() [function.subzane-youtube-plugin-getvideos]: Node no longer exists in /home/sickhop/public_html/wp-content/plugins/subzane-youtube-recent-videos-widget/subzane_youtube_plugin.php on line 85

    Fatal error: Call to a member function attributes() on a non-object in /home/sickhop/public_html/wp-content/plugins/subzane-youtube-recent-videos-widget/subzane_youtube_plugin.php on line 88

  • http://www.andreasnorman.se Andreas Norman

    Hi. Can you tell me how you're using the plugin? Shortcode or widget? and what are your settings? I need to know in order to debug. Thanks! :)

  • http://blog.hudsontoyota.com/ Kyle

    Yes I tried to uninstall and re-install, but it still is not showing up anywhere. Could it be another one of my plugins? It used to work beautifully with the Shadowbox JS plugin. Would that have anything to do with it?? Any help would be greatly appreciated!!

  • http://www.andreasnorman.se Andreas Norman

    Sorry but I really have no idea what's wrong. Could be anything from conflicting plugin to something wrong with your wordpress installation really.

    You could try and install it on a clean wordpress-installtion and see if that works.

  • daush

    hey Andrea, can you help me with some code??

    i want to use the plugin but in another way.
    i have this code to use in a post:
    [sz-youtube value="subzane" type="favorites" max="5" sortorder="viewCount"]

    but i dont want the thumbs in a post, i want to use it at the page (index.php)
    how can i call the plugin at the index.php
    somethig like:
    <?php dynamic_youtube_gallery(); ?>
    (like using the widget but not in the sidebar but in the index page)

    my example
    http://img31.imageshack.us/img31/3568/examplecz

  • http://amberspence.org Amber S

    Shortcode. I think it is related to the theme, it seems to work in other places. It was using settings to pull a user's favorites.

    • http://www.andreasnorman.se Andreas Norman

      This issue has been fixed in version 1.6.3

  • http://eightytwodesign.com/ Jason Courtney

    I am using the short code to add to a post(example short code: [sz-youtube value="artfeeds" max="5" sortorder="viewCount" lightbox="1"] ) with in my website (example: http://artfeeds.org/welcome/you_tube/). I added the plugin along with shadowbox plugin. When I click the video link, the video expands to the entire width of the screen and does not use the shadowbox script.

  • bmilliot

    Andreas, is there a way to change the size of the thumbnails?

  • http://surveying-tools.com/ Surveying Tools

    ok..i have downloaded and will try this for my blog 2.9.1

  • http://www.andreasnorman.se Andreas Norman

    There is no setting for that in the current version but you can change it my editing the code where it prints the image.

  • http://www.andreasnorman.se Andreas Norman

    Hi, you should be able to use the function called subzane_youtube_plugin_sc($atts) and pass your arguments as an array. Look up the function in the source and I'll think you know what I mean.

  • http://www.andreasnorman.se Andreas Norman

    Hi. I've checked your page and I can see that the links to the videos have the attribute rel=”shadowbox[post-37];player=swf;width=640;height=385;” so I don't really know why it refuses to use the lightbox mode. Have you tired turning off all other plugins? There could be some other javascript that conflicts with shadowbox that neither of us know about.

  • ilikeandreasplugin

    Hi, I am testing it and it looks like you have done a great + unique job so far.
    I have 3 requests, would it be possible to;
    1) offer the option to use custom thumbnails, not the youtube ones?
    2) update this plugin so we can use our own URLs as well, not just youtube?
    3) is there supposed to be a next / previous button to browse in big mode?
    Thank you very much.

  • http://www.selliah.com/ Oo

    Hi Adreas,

    I am using WordPress 2.9.2 and your plugin 1.6.1 but I have an error :

    Fatal error: Call to undefined function: simplexml_load_file() in /homez.110/splatshc/www/wp-content/plugins/subzane-youtube-recent-videos-widget/subzane_youtube_plugin.php on line 72

    Do you know how I can modify it ? And make it works ?

    Thanks,

  • http://www.andreasnorman.se Andreas Norman

    Hi

    You need to upgrade PHP to version 5.x

  • http://www.andreasnorman.se Andreas Norman

    Hi, thanks for your interest :)

    1) No.
    2) Maybe in the future support for other services will come. But don't count on it.
    3) There are no next/prev buttons for browsing and probably never will be. Better to link to your youtube channel if that's the case.

  • kiwipearls

    I found if you set the max to more than the amount of clips a user has, it won't display any thing on a page.

    Is there a way to set it to unlimited. So that when new clips are uploaded to a user's channel – they get updated automatically on our page we have the shortcode on.

  • reuldereut

    Good day Andreas, thank you for the plugin, working great for me. Could you bother to tell me how to display the widget in the sidebar with the possibility to have 2 thumbnails side by side and select a number of rows ?
    thank again,
    reul.

  • Pingback: wp-popular.com » Blog Archive » SZ YouTube Plugin – Andreas Normans blogg

  • Jambon Crew

    HI Andreas, great plugin, thanks,

    Where can i find this code to change?

    J

  • http://www.andreasnorman.se Andreas Norman

    on row 50. Do a search for “<img” (without the quotes) and You'll find any references to the thumbnail

  • Jambon Crew

    Ah yes, thanks.
    Does the plugin take the thumbnail from youtube or create it itself? It is always 120px wide so if i make it bigger it looks distorted.

  • http://www.andreasnorman.se Andreas Norman

    The thumbnail is created by youtube only. So there's not much to do about that size except making it smaller.

  • http://davetesh.com/ David

    Hello, for your youtube plugin I was wondering how do I choose the playlist, autoplay and shadowbox under the “page” not the sidebar?

  • Ivan

    Andreas:
    What is the correct shortcode for playlist in post page?
    I use this code below but then error >> [sz-youtube value="playlistid01" type="playlist" max="20" sortorder="viewCount" lightbox="1" autoplay="1"]

    -php 5
    -shadowbox js installed

    • http://www.andreasnorman.se Andreas Norman

      Please post the error you get or else I cannot help you.

  • http://www.andreasnorman.se Andreas Norman

    Please post the error you get or else I cannot help you.

  • http://www.andreasnorman.se Andreas Norman

    use short code as explained in the text above.

  • http://davetesh.com/ David

    Can You Please Write Me A Shortcode using all of the things above?
    I don't know how to make my own, when I attempt it doesn't work. I want all of the things in it, can you please make me one?

    value = a username or a tag
    type = tag/user/favorites
    max = Max number of videos to list.
    sortorder = published, relevance, viewCount or rating
    autoplay = Autoplay videos in lightbox or not (1/0)
    related = Display related videos or not (1/0)
    lightbox = Use lightbox or not (1/0)
    aspect = Aspect ratio (4:3, 16:9 or 16:10)
    width = Width of the video. Height is calculated from width and aspect.
    hd = HD Video if available (1/0)

  • Ivan

    Warning: simplexml_load_file(http://gdata.youtube.com/feeds/api/playlists/playlistid01/?max-results=20&orderby=viewCount&v=2) [function.simplexml-load-file]: failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request in rootmysitewp-contentpluginssubzane-youtube-recent-videos-widgetsubzane_youtube_plugin.php on line 72

    thanks

  • http://nfldownunder.com/ Andy

    Hi I am also trying to use the favorites widget and get the following error:

    Fatal error: Call to a member function attributes() on a non-object in /home/nfl/public_html/wp-content/plugins/subzane-youtube-recent-videos-widget/subzane_youtube_plugin.php on line 88

    Any news on a fix for this error?

    Thanks

    Andy

  • http://www.andreasnorman.se Andreas Norman

    I've updated the plugin just now with a bug fix. Please update and tell me if the error is still there. if it is please provide me with your settings so I can reproduce the error on my part.

  • http://www.andreasnorman.se Andreas Norman

    playlistid01 is not a valid playlist ID. they usually look like this: 18A7E36C33EF4B5D

  • http://www.andreasnorman.se Andreas Norman

    Sorry I've got no time for style and design support. However, since the sidebar plugin uses lists <li> I can provide you with some links so you can help yourself :)

    http://css.maxdesign.com.au/listamatic/

  • http://www.andreasnorman.se Andreas Norman

    not yet. I'll add it in the next release to support a full feed.

  • http://nfldownunder.com/ Andy

    Thanks I upgraded and got this error:

    Fatal error: Call to a member function attributes() on a non-object in /home/nfl/public_html/wp-content/plugins/subzane-youtube-recent-videos-widget/subzane_youtube_plugin.php on line 88

  • http://edits.no/ Henrik

    I'm wondering the same thing, but on row 50 I don't see how I could change the size as there are no mention of size in that image snippet except maybe 'thumb'?
    I'd rather have a distorted picture in the right size, so please give me a hint on how to change this. All I could find was further down in the code i found “$str .= '<img width=”130″, but changing this didn't change anything.

    Thanks anyway for a great plugin.

  • http://www.andreasnorman.se Andreas Norman

    hmm weird. Could you reply with the settings you are using when you get this error?

  • http://www.andreasnorman.se Andreas Norman

    there's no mention of size at row 50, but you could simply add width=”50″ to the <img> element.

  • http://davetesh.com/ David

    Hey What Happened To The Plugin?? wp-content/plugins/subzane-youtube-recent-videos-widget/subzane_youtube_plugin.php on line 85

    This happened RIGHT after the upgrade. I think a lot of people have this issue can you please fix this please please? Thanks!!!

  • http://www.andreasnorman.se Andreas Norman

    I receive no errors on my part and nobody is feeding me usable information on how to reproduce the error.

    Like I tell the others I need to know the plugin settings you have when the plugin crashes or else I have no idea of what is wrong on line 85 :)

  • http://davetesh.com/ David

    This is what it says on LINE 85 $videoobj[$i]['url'] = $attrs['url'];

  • http://www.andreasnorman.se Andreas Norman

    yes, that I know. I wrote that line. I do not however know how you are using the plugin.

    Do you list favorites? if so, of what user? or do you list a playlist? I have no idea how to produce the error if I don't know what you are trying to do.

  • http://davetesh.com/ David

    This is what it says

    [sz-youtube value="430D4CAEC79684DA" type="playlist" max="20" sortorder="viewCount" lightbox="1" autoplay="1" hd="1" width="640"]

  • http://www.andreasnorman.se Andreas Norman

    thank you! I will check it out and try to have it fixed today. I released a new version just 1 day ago. If you want you can update and see if that fixes the issue magically

  • Andy

    All working now with the latest version..thanks!

  • http://1stpopmusic.com/wordpress kit

    Hello, I installed the plugin and it works great! However I was wondering how I would add this function the main home page ??? Is there a way to call the script for homepage?

  • Ezee

    No hacking requiered, for this. Just use the do_shortcode([shortcode options]); function like so:

    <?php echo do_shortcode('[shortcode option1="value1" option2="value2"]'); ?>

  • http://www.andreasnorman.se Andreas Norman

    Hi

    Not yet unless you hack it yourself. Look into the function named subzane_youtube_plugin_sc and how it uses the subzane_youtube_plugin_getVideos() function

  • Lal

    I got this error:

    Warning: simplexml_load_file() [function.simplexml-load-file]: URL file-access is disabled in the server configuration in /home/webacct/public_html/wp-content/plugins/subzane-youtube-recent-videos-widget/subzane_youtube_plugin.php on line 83

    Warning: simplexml_load_file(http://gdata.youtube.com/feeds/api/users/myyoutube/favorites?v=2&max-results=5&orderby=published) [function.simplexml-load-file]: failed to open stream: no suitable wrapper could be found in /home/webacct/public_html/wp-content/plugins/subzane-youtube-recent-videos-widget/subzane_youtube_plugin.php on line 83

    Warning: simplexml_load_file() [function.simplexml-load-file]: I/O warning : failed to load external entity “http://gdata.youtube.com/feeds/api/users/myyoutube/favorites?v=2&max-results=5&orderby=published” in /home/webacct/public_html/wp-content/plugins/subzane-youtube-recent-videos-widget/subzane_youtube_plugin.php on line 83

    Warning: Invalid argument supplied for foreach() in /home/webacct/public_html/wp-content/plugins/subzane-youtube-recent-videos-widget/subzane_youtube_plugin.php on line 87

    Warning: Invalid argument supplied for foreach() in /home/webacct/public_html/wp-content/plugins/subzane-youtube-recent-videos-widget/subzane_youtube_plugin.php on line 140

    shortcode:

    [sz-youtube value="myyoutube" type="favorites" max="5" sortorder="published"]

  • http://www.andreasnorman.se Andreas Norman

    It says: “URL file-access is disabled in the server configuration”

    You need to enable it.

  • Lal

    Thanks for the prompt reply. But how do I enable it. I am using 5.2.11. I am in a shared web environment. I need to contact my webhost for this or I can do this through Cpanel?

  • http://www.andreasnorman.se Andreas Norman

    I think you need to contact your host. I really don't know how to do this. I just code php :)

  • http://www.facebook.com/mbennett42 Michael Bennett

    Hello.. Great pulg-in I love it. I would like to autoplay my videos in 480p format is that something I can add in the shortcode? I am using this a page. Thanks

  • Ivan

    It's working beautifully, thank you so much

  • ipadblogs

    Hi there, great plugin, I was wonderig, is there any way to get the video to play on our page instead of going to the youtube page?

  • http://www.andreasnorman.se Andreas Norman

    you can install shadowbox and use the lightbox feature for the plugin.

  • http://www.andreasnorman.se Andreas Norman

    I've looked into this and it seems that it's only possible to request HD version or not.

  • ipadblogs

    Is there anyway to get this working without using flash?
    the lightbox part does not work on my ipad, and that is our target audience!

    we like the lightbox functionality for regular websites, but when I visit the link on my iPad, it does not work, is there any way to differentiate?

    say if use firefox lightbox is on, but when I visti from mobile device lightbox detects it and turns it off?

  • http://www.andreasnorman.se Andreas Norman

    send me an ipad and I'll solve your problem :D

    Just kidding, but when I get an ipad I can look into the problem as it's difficult to test and bugfix what I cannot see :)

    I'll add it on my todo-list. Make it work on ipad!

  • ipadblogs

    hehe, ok thanx, that's all I can ask! in the mean time, our website viewers should just be content to let the link open to youtube!

    is there anyway we can make it open in a new tab or new browserscreen?
    we like our page to stay open when they click the link?

  • http://www.andreasnorman.se Andreas Norman

    I think there already is a settings for open in new window from the widget settings. Doesn't it work?

  • ipadblogs

    We're using it on a page, not as a widget, is there a shortcode?

  • http://www.neutrinoinc.com Mike Karikas

    Hello, I first installed your plugin and it worked fantastically – thank you! However, after setting up and configuring your plugin, I then installed the Shadowbox JS plugin. After that was installed, your plugin disappeared! I mean, it was no long showing up in my sidebar and was no longer available (completely vanished) from the widgets setup page. I tried many things, and uninstalling Shadowbox JS was the only solution I found to get your plugin to come back (although I also had to reinstall your plugin after removing some extra entries in the wp_options table or else it wouldn't reappear). Any ideas on why this may be happening? I'd love to use shadowbox if I can.

    Thanks again for a great plugin, it's just what I needed!

  • cristina_cristina

    Hello, how I can change the size of the thumb on my sidebar widget? Before that it open full sreen? Thank you

  • chrishoughton194

    Hi – great plugin thanks very much. It's going to make our news site so much better!

    I was wondering – in the list of videos shown, is it possible to show the number of views that video has received? Thanks for your help.

  • http://youweyoucoding.com Erik Gyepes

    Hello, I got this error:

    Warning: Invalid argument supplied for foreach() in … /wp-content/plugins/subzane-youtube-recent-videos-widget/subzane_youtube_plugin.php on line 140

    When using the following shortcode in the page:
    [sz-youtube value="lshzds" type="favorites" max="0" sortorder="published"]

    Any ideas how to fix it?

    Thanks

  • http://www.twitter.com/brunosaid Bruno

    I looks like PERFECT.
    But it worked for me… It show this error:

    “simplexml_load_file(http://gdata.youtube.com/feeds/api/videos?q=brasil&orderby=published&v=2) [function.simplexml-load-file]: failed to open stream: HTTP request failed! in C:xampphtdocstesteswp-contentpluginssubzane-youtube-recent-videos-widgetsubzane_youtube_plugin.php on line 83″

    I'd like to use it… =/

  • http://www.didyouweekend.com jeff brady

    Hey:
    Great plugin – I am trying to load it on a page and I get the thumbnail images from my favorites, but when I press to play all I get is a blank shadowbox and no video here is the shortcode I am using what could be wrong?

    Thanks,
    Jeff

  • http://www.didyouweekend.com jeff brady

    FYI Here is the shortcode I am using
    [sz-youtube][sz-youtube value="lifealmostlived" type="favorites" max="0" sortorder="published" autoplay ="1"]

  • http://www.tiredofit.ca Dave C

    I'm using this without issue on my page http://www.tiredofit.ca – However, I'd like for the Widget Sidebar to have an option to display one video – RANDOMLY from a users collection of Videos. Is this possible? I'm currently doing it with Daikos widget, but it is conflicting with other lightbox plugins.

  • http://www.latinunit.net David

    Hi Id want to show ramdon videos on the sidebar, how can i acomplish this please

  • http://www.andreasnorman.se Andreas Norman

    No random support at the moment but I can add the feature in the next version maybe. I have to look into how to do this best.

  • http://www.andreasnorman.se Andreas Norman

    Are you using the latest version? I get no errors using that short code

  • http://siliticx.ca/ Charles Desaulniers

    is it normal that the widget isnt refreshing? I uploaded a new video and its stuck with yesterday's recent videos. am i doing something wrong?

  • http://siliticx.ca/ Charles Desaulniers

    oh it takes a very long whole, thats why.

  • Sureens

    Hi I love the plugin.
    Only prob is videos opens in the same page even if i selected the new window in settings

  • Sureens

    any idea how to solve it pls

  • Mark

    Any news on compatibility with wp 3.0?

  • http://www.andreasnorman.se Andreas Norman

    From what I can tell it works just fine on 3.0

  • http://twitter.com/mercatix Fabien Mercatix

    Hello,

    I'm using WP2.9.2, SubZane YouTube Plugin 1.6.4 and a php template tag.

    I randomly have this error message :

    Warning: Invalid argument supplied for foreach() in /home/name/public_html/wp-content/plugins/subzane-youtube-recent-videos-widget/subzane_youtube_plugin.php on line 143

    Thanks for your help.

    Fabien

  • http://twitter.com/TheDailyHoney Miss Singh

    Hello, I have a similar question like cristina_cristina who asked if the size of the thumbnail can be increased? (My sidebar's width is 300 so I would like the thumbnail size to be that much too)

    Thanks for the awesome plugin!

  • Anders

    Hej, finns det någon enkelt sätt att under den sista videon lägga in en länk till användarens Youtube-sida? Helst så att man själv kan välja vilken text det ska vara.

  • http://twitter.com/g3td0wn Ryan Fisher

    The widget was pulling “2.jpg” for the thumbnail use (which was the element sored in the thumbnail[0] spot of that array). I re-wrote the section there to re-write the URL and use default.jpg instead (requested by a client), and I believe that will always pull the thumbnail they have set the movie to use. Snipit of the code is below if you're interested, it starts at line 99 of the plugin's php file.

    // get video thumbnail
    $attrs = $media->group->thumbnail[0]->attributes();
    $thumb = (string) $attrs['url'];
    $thumb = preg_replace(“/[0-9].jpg/”, “default.jpg”, $thumb);

    $videoobj[$i]['thumb'] = (string) $thumb;
    $videoobj[$i]['title'] = (string) $media->group->title;
    $i++;

  • capricciolandia

    Hi, in my website I need yo view widget horizzontally, how can I do?

  • Onemorerun2003

    Hi,

    I was hoping you could point me in the right direction. I am using the widget in the sidebar. I get no critical errors. I just can't seem to get the youtube video to open in the lightbox. It just opens in a new tab. I have checked the settings in the widget.

    I am wondering if there are particular settings in the JS Shadowbox that I need to tick off. I tried to play around with the Javascript library dropdown (jquery, mootools). Anything else? I do have the appropriate

    Also, I am working on this site locally. This shouldn't make a difference should it?

  • Madsbolding

    Is it posible to show more than 50 thumbnails? I have tried with 100 but it doesn't work. any ideas?

  • Shaun

    Hi, love the plugin… works perfectly.

    Is thee anyway I can use it as a multi-widget?

    Thanks

  • 7stars

    hi, thank you for this plugin :-) can you explain how to go fullscreen with youtube video? i tried fullscreen=”1″ into the shortcode and the fullscreen icon appears…but it won't go fullscreen when i click on the icon.. Then, i read on the web and maybe only with shadowbox is not possible to do, but with JW player from Longtail…so how integrate subzane, shadowbox and JW player… or what else solution??? Thank you very much

  • 7stars

    again :-) … i noticed that sortorder “published” finds older videos while i need the reverse…that is from the latest video…and not the oldest. Is there some trick to do it? Thanks

  • Yeah

    yeah. how do we make the thumbnails bigger?

  • http://uncovery.net Uncovery

    There are two errors in the plugin that create invalid HTML: first, a title with quotes is not converted to html entities, and the ampersand in the youtube URL is not converted either into a html entitiy. I have a corrected version, please contact me at my website if you want to have it.

  • http://www.andreasnorman.se Andreas Norman

    You cannot make them larger since youtube doesn't provide any larger thumbnails.

  • Metakappa

    I use this as plugin: I included the widget in a first sidebar, ok!, but that is now no more available to be included in another sidebar…

    • Here

      I have same problem!

  • Jwrbloom

    Hello, not sure it’s working for me. I’m getting thumbnails to display and clicking the link produces the video clip, but I’m not getting a shadowbox effect. I have installed the shadowbox plugin.

    jwrbloom@gmail.com

    My site is http://hoosierhoopsreport.com.

  • Jensuzpoho

    I have this same problem…
    I get the thumbnail images from my favorites, but when I press to play all I get is a blank shadowbox and no video here. When I look at the page source the video is there, but isn’t loading into the shadowbox.

    Any ideas?

  • Cmd_nl

    Hi, I really love your plug-in. But I would like to have 2 video’s on a row in the widget, because now there is an empty white space next to the video thumbnails. Is this maybe possible to make or can you tell me how to do it? Would be great, keep up the good work!

  • http://hyveup.tv xavierv

    Can’t make the playlist display work, anything I should know about playlists and the SZ Youtube Widget ?

  • Pingback: WordPress Plugins Used On This Blog | Evan Valentine, Stay-at-Home Dad

  • http://twitter.com/ANDYATHOMAS Andy A Thomas

    Thanks for the great plugin. Any idea how to call it via a template tag? Tried but no luck

  • Stephen

    Hi,

    I’ve been using the pluging for a while, I just noticed today that the thumbnails in my sidebar are now full size – nothing I seem to do can get them back to thumbnail size. I’ve edited the $width $height variables but nothing happens.

    How do you control the width and height?

    • Lang Elliott

      I’m having the same problem. All of a sudden the thumbnails in my sidebar are now full sized. I guess this means that the current version of the Subzane widget doesn’t work in the latest version of wordpress. Is this correct?

      Lang Elliott
      langelliott@mac.com

      • http://www.andreasnorman.se Andreas Norman

        sounds more like youtube changed the feed since the thumb size has nothing to do with wordpress. I will take a look

        • Andy Mark

          I also suddenly developed the same problem – it just appeared randomly 2 days ago on every blog my organization uses. Here are a few links to our sites and thank you so much for your help!
          http://newsroom.pamf.org/
          http://www.millspeninsulanews.org/

        • Sintetica

          Any updates on how to solve the thumbnails problem?

        • David Kirsch

          you have to change the url syntax:

          $url = ‘http://gdata.youtube.com/feeds/api/videos?author=’.$url.$num_param.’&orderby=’.$sortorder.’&v=2′;

          i had to add the “&v=2″ at the end.

          • http://www.andreasnorman.se Andreas Norman

            That fixed it! Thanks!

            The plugin has been updated and submitted to wordpress plugin repository. You should all soon be able to update your installation.

          • http://www.andreasnorman.se Andreas Norman

            That fixed it! Thanks!

            The plugin has been updated and submitted to wordpress plugin repository. You should all soon be able to update your installation.

          • http://pulse.yahoo.com/_QHHI752OCQ7VQ3UPKWTZ5WMZ7Q Brendon Barnett

            I think the new update released today solved the oversized thumbnails. However, I think having access to the larger thumbnails was preferable. I override the thumbnail size with CSS and the quality of the images was much better when the plugin used the large images. Perhaps the plugin should retrieve the large images from YouTube and include a new parameter for the user to designate the size displayed?

            I removed the v=2 that was added to the new update and increased the thumbnail size to 200 px. The quality is way better. Here’s an example:

            http://www.bradleyquick.com/

          • mille

             How did you do this??? Don´t know where to change the code?

      • http://www.andreasnorman.se Andreas Norman

        I’ve updated my dev-server and the thumbs appear in normal size here. Can you provide me with a link to your websites so I can see how it renders?

    • cc

      Having the same problem on a few websites using this plugin. Hope there’s an update or a workaround soon!

  • http://www.facebook.com/profile.php?id=691100195 Björn Åström

    How to display a playlist with shortcode syntax within an article was not obvious to me with the above instructions but i figured it out and might as well put it here if anyone else wants to know.

    To display a playlist with shortcode syntax:
    [sz-youtube value="YourPlaylistId" type="playlist"]

    where “YourPlaylistId” is the id of the playlist as given by youtube

  • Sverdlov

    is there a way to embed that into a template as php code?

    • Sverdlov

      Also… when I select [sz-youtube value="WineTrailers1" type="user" lightbox="1" hd="1" autoplay="1" width="500" aspect="4:3" max="10" sortorder="viewCount"] – to show the User uploaded videos, it gives me an error! Warning: Invalid argument supplied for foreach() in /home/firstbasedv/winetrailers.com/wp-content/plugins/subzane-youtube-recent-videos-widget/subzane_youtube_plugin.php on line 140

  • Paul

    Hi, is it possible to have it working on iPad? Thanks

  • Paul

    Hi, the problem with the iPad is that shadowbox js does not work, is there a way to fix this?

  • Maria

    I am wanting the videos to be in a row side by side instead of up and down. Is this something I need to change in the editor.
    http://somebodiesdancetheater.com/captured/

    Many Thanks

  • 14 January, 2010