Daiko’s YouTube Widget

Finally Daiko’s YouTube Widget is ready for you YouTube bloggers. It displays a pre-defined number of YouTube videos as thumbnail images and plays them in a pop-up ThickBox window or my very own VideoPlayer Widget (included and integrated). This gives you the power and flexibility to play your favourite YouTube videos on your site in the format you desire. The widget also supports RSS-feeds from tag(s) and user(s). NEW from version 1.1

NEW in version 1.2.6 - localization and norwegian translation!

.

Download

Download Daiko’s YouTube Widget v. 1.2.6 here.

Install

1. Download Daiko’s YouTube Widget and unzip. 2. Drag the daikos-video-widget folder to your /wp-content/plugins/ directory 3. Activate Daiko’s YouTube Widget on your Plugins page 4. Activate Daiko’s ThickBox plugin on your Plugins page (Optional for playing videos and show images. If you don’t like it use Daiko’s VideoPlayer Widget instead) 5. Drag your new Daiko’s YouTube Widget to your sidebar and start adding content (or add more than one) 6. Optionally drag your Daiko’s VideoPlayer to the sidebar you want your videos to be played

Instructions

Most of the Widget is self-explanatory. I’ll get back to you with a more detailed run through of the functionallity. The only thing you should be aware of is that you either need ThickBox activated or the VideoPlayer widget active to play the videos. When activating the VideoPlayer, it will override the ThickBox. You can mix them and specify what pages/posts the VideoPlayer is active and the ThickBox will be used on other pages/posts. There is good support for Conditional Tags, meaning that you can specify where to show the widget. NEW in version 1.2.4 is support for “Post in Category(-ies)” where the point is to display the widget only if a post is in a specific category (or categories). It will also show in the category archive page(s). Specify the list of categories with comma separated category ID(WP<2.5) or name (WP>=2.5). To make your video-list just open the widget-control-panel and add your videos with the following syntax: {YouTubeID}@{Title}(Line Brake) Without the brackets. Like this:

FBSvtnCr8Wc@Transjoik - Gievrie
dF0kMBTwDrM@Transjoik - Mustai Amaia
vkG7psgdl1o@Sámigiella - an Arctic nature language - The Sami language
5OJPwCXsKFI@Radio and TV give vitality to the language - Electronic media
6AwZrJfyW5M@Master in our own house - The Finnmark Act
NzupjHuvACk@Yoik'n Roll - Yoik/music
yCz-7Gnp1_M@Mun ja mun
zbeEEU_X_B0@Slincraze and Aimen with saami rap
t_xQN6s_COw@Sofia ja Anna - Du Čalmmit (your eyes)
5eveNk3o1ME@VAJAS - Sparrow of the wind

Add comma separated tag(s) and/or user(s) to add rss feeds to your selection of videos from where the displayed videos will be selected. Daiko’s VideoPlayer selects its random display video from the specified videos in the 1st Daiko’s YouTube Widget (Daiko’s YouTube Widget 1). Play with it and enjoy! Be patient on the full description of the widget.

Known issues

  • The ThickBox (jQuery) tend to conflict with prototype.js and scriptaculous.js Solved with WPs script loading function for jquery.js and a noConflict version of ThickBox.
  • Some themes with a wide sidebar column on top of two columns underneath can break. Solved since I realized that I’d forgot to close a div.
  • The Thickbox plugin requires theme support for wordpress to add stuff to the header and footer. Most well built themes have that. ONLY READ ON IF YOU HAVE PROBLEMS WITH YOUR THEME
    Users can add it manually. Just test drive it with the default theme and look for the code written by Daiko’s ThickBox plugin. This is found in the header section:
    <!-- Start Daiko's ThicBox Plugin version 1.21 -->
    everything between .....
    <!-- End Daiko's ThicBox Plugin -->

    and this goes in the footer section (just before the </body>):
    <!-- This is a container for the ThickBox pop-up player in Daiko's YouTube Widget --> <div id='BigPlayer' style='display: none;'><div id='flashcontent'>Loading....</div></div> <!-- End of container for the ThickBox pop-up player in Daiko's YouTube Widget -->

If you have any sollutions for those issues, please report back…

223 Responses to “Daiko’s YouTube Widget”


  1. Sorry for the frequent update to this widget (7 updates in one day). Most of them has been bug-fixes and - surprise surprise - IE fixes in positioning the play button correctly. Thank you Microsoft again for not being standards compliant. I’m since two years back a Mac user and will not return partly due to such idiotic problems that flows into most other windows based programs too.

    Now most small fixes should be done. Latest version is now 1.0.7 and reports of other tweaks/bugs and feature requests are welcomed.

  2. 2h0n24

    Hi. Can I add Your widget to my site manually? How?

  3. Hi hon24,

    The answer is no. The widget is totally dependent on Wordpress’ built in widget engine. Sorry!

    Daiko

  4. Is there anyway to use this widget outside wordpress (in my homepage) after being installed in wordpress?

  5. How can I get rid of the white border around the video? I want the video widget on top of a gray sidebar, and the white around the video is most annoying.

  6. Hi,Daiku:

    Your widget is there but, being a noncoder,I don’t know how/where to put in my own videos.

    ONLY one video at a time will be fine.Does this mean I only need the video player?

    Thanks a lot

    Ernie

  7. Hi Justin,

    The borders (and colors) are totally css driven and can be adjusted in the dytw.css file.

    Note that there are 3 sizes in the css file so change the .DYTWWrapperOuter[small, medium or large] and .DYTWWrapperInner[small, medium or large] classes accordingly.

    Good Luck!

  8. Hi Ernie,

    To add your videos, go to presentation/widgets page and place your widget. Then add the videos in the widget control panel once it is placed.

    If you only want to display one video and you want it to be placed as a player. Try the Daiko’s Video Widget instead. You find it here on my site.

    Daiko

  9. Daiko,

    Really love the widget but something happened where the thickbox effect is broken. I’ve tried uninstalling and reinstalling, changing the theme, nothing works. I can click on the videos, but the thickbox does not render in either Firefox or IE. This is pasted into the address bar…(http://www.forcedshaving.com/#TB_inline?height=385&width
    =500&inlineId=flashcontent)but nothing renders.

    Do you have any suggestions for troubleshooting this problem?

    Slick

  10. Hi Slick Willie,

    I think you have some script conflict on your site. A peak on your source indicates that you load jquery.js twice in addition to loading prototype.js (known to conflict with jquery).

    Try disabling both the live-search-popup and the ajax-comment-posting plugin. Check if the YouTube widget works after that.

    To get rid of the conflict problem, decide on what plugin to keep. I’m hesitant to make a general fix because I haven’t found a solution that covers all variations. Keep me posted on what you choose and I’ll try to help you. I’ve managed to avoid the prototype.js conflict on my site (meaning that I might be able to help you with the live-search-plugin conflict).

    Daiko

  11. I’ve just installed this plugin on my website, it seem working but it has stop to work when I tried to change the number of videos to displat. Now I can’t do it working again.. I’ve tried to uninstall and re-install it but it doesn’t work.

    On my test blog, similar to the real one, this plugin works perfectly.
    What should I do to make it work again?

    here my site (where don’t work): faro.x10hosting.com
    here my test site (incredibly working on this!): phargon.netsons.org/blog

  12. 12ovidiu

    did anyone try this with sidebar modules?

    I use a plugi nto disable widgets and use sidebar modules instead…

  13. Hi ovidiu,

    I don’t know if it works with sidebar modules. On the other hand sidebar modules does not work in WP 2.3. At least not the version available on http://nybblelabs.org.uk/

    Keep me posted on this.

  14. Hey daiko,

    great plugin, thanx….nice design and functionality…still I’ve been trying for days now to get the popup to work…it pops up but is always empty….probably just my own blindness? any idea?

    http://www.teelanovela.de/kab/

    grokker

  15. Hi Grokker,

    The problem you have is in the theme. Most themes have a footer section with the following code:

    <?php do_action(’wp_footer’); ?>

    that allows widgets and plugins to write additional stuff in the footer. It is good that you identified that. I can check if I can come up with a solution for that.

    One very simple solution to your problem is to add a simple text widget below the Daiko’s YouTube Widget with no title and the following text:

    <!-- This is a container for the ThickBox pop-up player in Daiko's YouTube Widget -->
    <div id="BigPlayer" style="display: none;">
    <div id="flashcontent">
    Loading....
    </div>
    </div>
    <!-- End of container for the ThickBox pop-up player in Daiko's YouTube Widget -->

    If you want to change your theme you can add

    <?php do_action('wp_footer'); ?>

    just before the /body tag in footer.php.

    I hope this helps.

    Rune

  16. 16mike

    Is the new google video widget going to completely replace this? I look forward to seeing it. Also, I’m wondering if there’s a way to show a random video in the sidebar without having the second widget having to show up? thanks for the plugin - it rocks!

  17. Hi Mike,

    Well I think the new widget to some extent will replace this one but they might also live well as separate projects.

    To your second question I wonder if you have missed Daiko’s Video Widget. It seems like it would serve your need…

    Daiko

  18. Help!!

    I have been working on this all day now and am at a total loss. I have the YouTube Widget and the Thickbox Plugin installed and activated. I thought all had gone right. It showed the videos in the four boxes. Then I clicked on one and the pop up loaded as a blank screen. So I put the video widget in my sidebar. Well that was not much of an improvement. I know have the sidebar widget working somewhat. It know at least shows one of the videos but that is all it shows.

    Thanks in advanced for the help
    ~Jeff C.

  19. Hey Daiko,

    Wouldn’t you know I find the problem not even 5 minutes after asking for help. It seems that it was conflicting with another Plugin I had activated. It seems that YouTube Widget and Viper’s Video Quicktags plugin don’t play nice :(

    If anyone knows of a work-a-round for this I would love to know it.

    ~Jeff C.

  20. Hi Jeff C,

    I’ve indicated that the ThickBox player might have some problems with plugins or themes that use the prototype.js library. Usually that is the problem. I’ve tested the use of Viper’s excellent Video Plugin and that runs just fine together with the YouTube widget.

    Keep me posted if you encounter more problems….

    Daiko

  21. Daiko,

    Thank you for your reply. It is odd that you have been able to run it with Viper’s. I have tried twice now and it wouldn’t load the ThickBox either time. Unfortunately I ran into another problem that I am hopping you might be able to fix. It seems that YouTube Widget does not want to load the ThickBox on pages that have the new AdSense/YouTube video player on it.

    Thanks again,
    ~Jeff C.

  22. Hi Jeff C,

    I’ve developed a noConflict version of the ThickBox plugin. Go grab latest version of the YouTube Widget here Daiko’s YouTube Widget. The noConflict fix is in place from version 1.1.10.

    The ThickBox plugin should display version 1.2 and the YouTube Widget version 1.1.10.

    Hope that helps….

  23. Thank you for the fixes. It works fine now with both Viper’s widget and SearchEverything. It still, however, is loading an empty ThickBox when I have my AdSense/YouTube video active. So far that has not made me any AdSense clicks so I am going to test it through the end of the month and if I don’t make any money from it I’ll be tossing it and using your YouTube widget and Viper’s Widget for video.

    Thanks again for all the help
    ~Jeff C.

  24. Hi Daiko, great widget!
    Just a couple of probs:
    - when the Thickbox is activated, all the in the posts dissappear (ie no blank lines between sentences). Disable Thickbox and the paragraphs come back in the posts.
    - Whatever is activated (your video or thickbox), the section the random video thumbnails are in, is a) VERY long (is there a way to shorten it so the thumbnails are in a box, like the other elements?), and b) is there any way to fix the rounded corner on the left of the title area for “random video’s”?

    Cheers,

    Gary

  25. Hi Jeff,

    I have a hard time checking the Adsense/YouTube issue since I’m in Europe and that feature in Adsense is only available in North America. When it is released in Europe I’ll be able to test it and see what can be done. Maybe some of the other users have an answer to this?

  26. Hi Gary,

    You are experiencing two conflicts, one with javascripts (a fix for that can be found in Version 1.1.10 of Daiko’s YouTube Widget. as described to Jeff C) the other is a css problem in your theme. A fix for the css problem has been sent to you by e-mail.

    ;-)

  27. Hi Rune,
    downloaded (and uploaded) the new version. Wrote over the older version.
    No change I`m afraid. Even with your video widget de-activated, and the Thickbox activated, the paragraph breaks are lost.
    With the video widget activated, still have the super-tall column, and the corrupted header (header for section I don’t mind so much…. ).
    Didn’t get an email as yet, sorry.
    Cheers :)

  28. Great work with the plugin. I installed it and it works great but a friend told me that it doesn’t show in Internet Explorer (I’m a Firefox user), so I checked it on IE and he was right it isn’t showing. Did I do anything wrong?

    Thanks! :)

  29. Hi Kabalyero,

    I’m not sure what it is you’re experiencing but I’ve checked it in IE and it works fine. Maybe you haven’t activated javascript support in IE, that might be a problem….

    Daiko.

  30. Hi Daiko, I strongly agree with you. I rarely use IE myself. I greatly appreciates your immediate response and to those using IE, get Firefox. :)

  31. ive been trying for the last 2 days to get this working and haven’t yet been successful

    http://www.popcop.co.uk/blog

    please help

  32. Hello,

    I installed the You Tube Widget and I can’t get the videos to play, or pop up. I activated the thick box and deactivated it. Either way, the videos won’t play and their is an X next to the play button. Can you help me with what I’m doing wrong?

  33. I installed the You Tube widget and I can see the videos, but they will not play or pop up. There is an X ext to the play button, and an error message at the bottom of the page. I activated Thick box, and it still is not working. I have Wordpress 2.3.1. Can you tell me what I might be doing wrong?

  34. Hi Angela,

    It seems like you have a problem in loading the scripts and css files. Did you copy the whole folder named “daikos-youtube-widget” to your plugins folder?

    I think that is your problem…..

    Daiko

  35. Hello,

    I reloaded the file and all of the fles are copied to my plugins. I am having the same problem as before.
    I am geting this error messasge at the bottom of my web page.

    Line: 191
    Char: 1
    Error: ‘SWFObject’ is undefined
    Code: 0

  36. Hi,

    What puzzles me is that if I check your site’s code, everything seems to be OK. Several of my plugin files are supposed to load in your <head> section.

    The problem comes when I check a couple of files, for example wp-content/plugins/daikos-youtube-widget/thickbox/thickbox.css (try clicking that link) and it says “Error 404: NOT FOUND!” whereas if I try to look at another plugin you have, for example the contact form plugin’s css file: wp-content/plugins/contactforms/styling/wide_open_nb_blue.css it shows up directly.

    This tells me that you haven’t got a directory called “daikos-youtube-widget” in your plugins directory. If you downloaded it several times and unpacked it, it might have gotten another name automatically on your computer, like “daikos-youtube-widget-1″.

    Rename the folder with all the plugins files or make sure you have the exact file structure I indicated in the last mail and try again.

    Hope this helps.

    Rune

  37. 37antis3ptic

    Please W3 valid code :/

  38. Hi antis3ptic,

    Good point, comin’ up……

    That’s when you get too function-centric….

    Daiko

  39. 39antis3ptic

    yes it would be great im waiting your valid code release. thanks daiko. great helper good bless you

  40. Hi All and especially antis3ptic,

    The new version 1.2 will now validate so have fun!

    Daiko

  41. 41yatender

    hey i liked your widget very much i am building a similar widget myself

  42. 42antis3ptic

    hello i found one bug but its not with your code. its about IE(worst net browser) it wasnt showed play icons. anybody how got this error?

  43. Hi again antis3ptic,

    I’m still strugling with the IE quirks on positioning. Any suggestions from you experts on CSS and IE are welcomed. I’m a bit handicaped as I’m developing on a Mac (resent convert after being a dedicated Windows user… and I just love it…)

  44. Now I’ve posted a development version on Wordpress that uses a different method of displaying the overlay play-button simply by putting the Video jpgs as background images. This method should be almost fool proof and will work the same way in IE 4 as on other browsers. The only disadvantage with this method is that it is not possible to resize the background image (until CSS3 is in play). Please give me some feedback on this before I launch it as a stable version. Download the development version and give it a try.

  45. Thanks bro for this great plugin

  46. 46Paul

    Hi Daiko,

    Just a quick question.
    Widget works great, but i would like to center
    the video thumbs on my site. They are now on the
    left on the sidebar, and thats plain ugly ;)

    Thanks for the great work !
    Paul

  47. Hi Daiko,

    Used your widget and it works perfectly. But now
    the thumbs are on the left of the sidebar, and
    thats ugly. Is there a way to center them?

    Thanks for this great plugin,
    Paul

  48. i already install and it is work but after i add my own video it did not change to my video why?

  49. Hi tey,

    It seems like you only put the “Video Player” in the sidebar. You have to place the “Daiko’s YouTube Widget” in your sidebar and configure it. The Video Player defaults to some preconfigured videos if nothing else exist. The point of the widget is to show Thumbnails (multiple) of your favourite videos and the player is merely a place to show them as an alternative to the ThickBox player. Check out the difference between the videos shown on this page, versus clicking a video on the front page.

    If you just want a functionality with playing random videos in a player like the one you have now on your page, I suggest to use the Daiko’s Video Player instead.

    Good Luck!

  50. 50peter

    hi,
    is it possible to add to the list with a PHP script? I’ve tried to do this, but don’t really understand how the s:number changes with adding a new video.. could you pls help?
    thanks

  51. Hi Peter,
    No it is not possible to add a PHP script to the list of videos. I’m not sure what you are trying to do, but you are of course welcome to edit the code of the widget to serve your purpose!

    Good Luck!

  52. is it possible to display the widget in a main content area, rather than a sidebar? for example, i would like to create a static wp ” videos page” that contains the player.. can i activate it and NOT add it to a sidebar and add some (what?) code in a page to call the widget there?
    Thanks :)
    ps - great widget - thank you!

  53. Hi,
    I really like this widget. The only thing is how do i get the boxes to show the color scene and not the regular green that is on my site?

  54. Hi,
    I really like this widget. The only thing is how do i get the boxes to show the color scene and not the regular green that is on my site?

  55. hi there .thanks for plugin:

    Does anybody know if tis script is compatible with Wordpress 2.5.1 ?

    Thanks in advance for any help on this!

    best regards

    baron

  56. I love your plugin but it seems to conflict with the theme I’m using (Mimbo Pro). When I activate the Thickbox Plugin the page gets skewed. Do you know if there is an easy fix for this or an alternative to the thickbox plugin that could work for me? Thanks.

  57. I am designing a site. i installed the Daiko youtube plugin, but i haven never been able to get it to play in the thickbox. The thickbox popsu up and all, but nothing happens.

    http://godsblogs.morningstardesigns.com/

    Thoughts?

  58. 58michael kane

    How can I use it in blog posts?

    I have a video blog and it seems far simple solution in posting multiple videos in one post, saving space in lengthy posts.

  59. Hi Michael Kane,
    I’m sorry but it will only work as a widget. I could consider a plugin for post in similar fasion but it will not be in the immediate future (I have a job…..). Feel free though to use my code to make one……

    Daiko

  60. I love your plugin but it would be great if the plugin can display the playlist (thumbnails with description (text) beside it. At the moment I use wordtube (See my page ‘timmywong.com’). Isn’t possible for you to built this feature? as I would like to keep all my media on youtube/

  61. I feel absolutely lost with how I enter my videos in the widget. Can some one give me a live sample from the following ytube video??? Please….please.

    http://www.youtube.com/watch?v=Ki2PSYEMwk4
    I would be ever so greatful….
    Thank you

  62. 62na3s

    There are some serious problems with ThickBox Stylesheet in firefox 3. The Window seems to be positioned incorrectly, hanging from the top of the page with half of it hidden.

    To make things more annoying, the window is loading 2 videos simultaneously instead of just one, and yes, playing them at the same time.

    Any ideas on how to fix this?

    Hit me up at the email provided so I can send you the example link.

    Thanks for the plugin, wish it were working out for me a bit better … :/

  63. Hi na3s,

    Good that you found the conflict. For other users it might be good to know that the widget can conflict with other plugins that uses ThickBox, both when it comes to CSS and JS. In na3s’ case it was WP e-Commerce.

    If I get more complaints on that I’ll try to figure out a way to avoid such conflicts.

    Stay tuned.

    Daiko

  64. minor fix, the plugin is using bloginfo(’url’) instead of wpurl, was causing problems on installations using non-default wordpress url ( eg. blog.domain.com/wordpress/)

  65. 65Jeff

    how do I use it if I want to use it as content in a wordpress page?

  66. Hi lmjabreu,

    Thank you for that. I thought I fixed it. Will of course be corrected in next version….

    On vacation now…..

    Daiko

  67. Hi Jeff,

    This is a widget-only thing… have considered a plugin that adds that functionality…. but not yet….

    Daiko

  68. I am having problems with my new theme with the YouTube widget, I am getting this error code:

    Error Message

    Warning: Attempt to assign property of non-object in /home/threioco/public_html/wp-includes/rss.php on line 440

    Warning: array_slice() expects parameter 1 to be array, null given in /home/threioco/public_html/wp-content/plugins/daikos-youtube-widget/daikosyoutubewidget.php on line 120

    Warning: Invalid argument supplied for foreach() in /home/threioco/public_html/wp-content/plugins/daikos-youtube-widget/daikosyoutubewidget.php on line 121

    Warning: Attempt to assign property of non-object in /home/threioco/public_html/wp-includes/rss.php on line 440

    Warning: array_slice() expects parameter 1 to be array, null given in /home/threioco/public_html/wp-content/plugins/daikos-youtube-widget/daikosyoutubewidget.php on line 120

    Warning: Invalid argument supplied for foreach() in /home/threioco/public_html/wp-content/plugins/daikos-youtube-widget/daikosyoutubewidget.php on line 121

    I am assuming it is the theme because it worked earlier on another them with no problems. I tried the solution but I am having no success. I am not actually sure where to place the correction.

    Can you peak at my theme and give me an idea of the start and end locations to place the code?

  69. I’m adding your plugin to a site I’m working on. I would like to only display videos from a single user. I’m assuming I should just need to enter the user name. However I keep videos that aren’t in english.

    Can you elaborate on the single user syntax?

  70. Hello,

    I would like to use your plugin for the videos I have into my YouTube Playlist: http://www.referd.info/playlist/1CBAEAE40A37A6AC/rss.php

    Any help will be welcomed.

    Thanks for this great plugin

  71. This is a great plugin

  72. 72simona

    hy daiko. your plugin is fantastic. but i’ve got a problem by installing it on my website. it works perfectly but i can’t see the thumbnail images on the sidebar. there are little white box with a play botton (that works and let me watch the video properly). how can i see also the images associated to my videos?

    i put this in the code widget (for example):
    73VhdtuxH70&hl=en&fs=1@Video1

    it is right, isn’t it?

  73. Whenever the plug in is enabled it seems to mess up my rss feed. is that typical?

  74. 74kiko

    Hi man!! Good widget!! Buuut I doesn’t work on wordpress 2.6, please bro! fixe it

  75. I have followed your instructions, but the video player isn’t working. Here is what i see:
    http://i89.photobucket.com/albums/k230/tammyhart/Capture-1.jpg
    http://i89.photobucket.com/albums/k230/tammyhart/Capture2.jpg

  76. Daiko:

    Great little widget. The only question I have is what do we do if is not appearing in the theme we are using?

    I have reverted to the default, along with a couple of others, to assure the widget works fine, which it does. But when I revert back to my theme, it is nowhere to be found.

    What code do we have to add, and to what *.php page?

    Thanks & respects
    Dave

    http://firefoxnewsonline.net

  77. Hey, great plugin!

    In FireFox it works perfectly, but for everyone I know in Internet Explorer it’s not showing up at all. It’s a shame because as much as I dislike IE, it’s what most people use, any ideas on how we can make it show?

    This is the site, you can see that the plugin is not working in IE.

  78. 78Pablo

    any way to exclude videos from a feed
    excellent plugin

    salut from Uruguay

  79. This plugin is great. Do you or anybody else know of a similiar module that provides this for Drupal? Any plans on porting it :)

  80. Thanks for the great plugin , It has made my site wonderful.

  81. 81AlanT

    Everything works perfectly with Daikos YouTube Widget on my site, except that W3C markup validator reports 2 errors associated with the part of the code going into the header. The following bit of code all goes to a single line in my header, (line 41):

    from:
    to:

    the errors reported are:

    1. Line 41, Column > 80: XML Parsing Error: attributes construct error

    and

    2. Line 41, Column > 80: XML Parsing Error: Couldn’t find end of Start Tag link line 41

    Any help would be greatly appreciated.

  82. Cool widget, but, I am a bit confused. I activate the Youtube widget, enter the appropriate info, save it, and it shows up in my sidebare with the text “Activate Daiko’s ThickBox Plugin or place Daiko’s VideoPlayer Widget!” Nothing else.

    So, I add the Video Player, and, the video from the Youtube widget shows up there. How do I get it so there is only one sidebar item? Looks kinda bad with that text on the sidebar.

  83. great love it

  84. great plugin idea, I installed and tried using, but find the explanation for the code which is needed to embed each video confusing.

    Is the script below correct?

    youtubeID@youtubeuser - Title
    youtubeID@youtubeuser - Title

  85. How can I add description next to the video in the widget ?

  86. you should check the comments. as a lot of spam is here. Thanks for the widget plugin. very nice. do you know maybe how I can display my favourite youtube videos ?

  87. Hey Daiko,
    Great plugin. It works great, but for some reason the thumbnails for the small videos don’t show up properly. I just get text over a messed up image. Have a look at http://www.cactusblack.com and you’ll see what I mean.

  88. Hi,
    I’m getting the same problem as Drew mentioned - the thumbnails are not displaying correctly.
    The widget was working fine until i changed my default wordpress url - the widget stil works, it’s just the thumbnail display which is messed up.
    Any help appreciated.
    Thanks!

  89. found a solution to the thumbnails problem - it was because it wasn’t finding the play.gif. It was looking in “/wp-content/…etc” whereas it needed to look in”/wordpress/wp-content/…etc”. I manually added “/wordpress” to 4 references in the php file. Is there a more elegant solution for this directory structure?

  90. Thanks Colin!

    The fix you’re looking for can be done by changing the following code that comes right before the play.gif part you changed.

    Change:
    .get_bloginfo(”url”).

    to:
    .get_bloginfo(”wpurl”).

  91. Cheers Drew!

  92. is there a way of just pasting the code in a predefined location of a theme and have it show.

  93. 93Marco

    How can you get the search function out of the player?

  94. This is a great plugin

  95. Fresh install of WP 2.7… using a kubrik theme sharpfolio… tried removing all other plugins… the videos display, and open/play ok, but getting these errors:

    Warning: array_slice() [function.array-slice]: The first argument should be an array in /homepages/23/d91641845/htdocs/pinksox2/wp-content/plugins/daikos-youtube-widget/daikosyoutubewidget.php on line 120

    Warning: Invalid argument supplied for foreach() in /homepages/23/d91641845/htdocs/pinksox2/wp-content/plugins/daikos-youtube-widget/daikosyoutubewidget.php on line 121

    Warning: array_slice() [function.array-slice]: The first argument should be an array in /homepages/23/d91641845/htdocs/pinksox2/wp-content/plugins/daikos-youtube-widget/daikosyoutubewidget.php on line 138

    Warning: Invalid argument supplied for foreach() in /homepages/23/d91641845/htdocs/pinksox2/wp-content/plugins/daikos-youtube-widget/daikosyoutubewidget.php on line 139

    I’ve tried removing the plugin, re uploading, re activate… nothing. :( any suggestions?

  96. hello,
    thanks for the plug in. i can’t get it to work correctly - it leaves this crazy code on my sidebar - i took screenshots and you can see them here:
    http://i193.photobucket.com/albums/z154/misscrew2/misscrew5/Screenshot_2.png

    http://i193.photobucket.com/albums/z154/misscrew2/misscrew5/Screenshot_1.png

    Not only did it add code but it duplicated stuff and added a giant space (about a foot long) in the middle of my side bar. I deactivated it and it’s fine now but I’d really like to use this plugin.

    I tried adding the code you suggested but when I went to my “header” area there was no code for your plug in and I’m having a hard time finding where that is. Please help!

  97. ^^ same problem I’m having.

    and I tried it on the default theme and same thing, so it’s not the theme?

    it’s a shame cuz I cant find another plugin like this one, and it works really nice otherwise.

  98. Hello,
    i have write a post on my blog about this plugin & install the plugin at my blog but i have 1 question,
    if you see the youtube video in my blogis it take the You Tube Broadband or my server broadband?
    this is very important question ?

  99. 99ÅB

    Petra and Gabrielle: Same problem here.

    Rune, du må vakne, indianerane kjem.

  100. Hello, there is a serious problem to view the list of videos that loads the widget, just uploaded some and not all … in this example page on which the videos also are charged to do … and small click appears “unable to load the video”

    URGENT PLEASE help!

    http://www.subirimagenes.com/imagen-error-1860263.html

  101. 104colo

    plugin Error with WP 2.7

    - Don’t show Some Thumbnails
    - Dont’t play some videos

    thanks

  102. Yes.. I hate to report it but I am having the same issues with the youtube widget. It was all of a sudden, so is it possible YouTube changed something and caused it to break?

    As listed above, no thumbnails appear now and, in my case, I can’t get any videos to play. I’ve had to turn the widget off temporarily on my site.

  103. broken, need to change line 140 from:

    $item['link'] = str_replace(”http://youtube.com/?v=”, “”, $item['link']);

    to

    $item['link'] = str_replace(”http://www.youtube.com/watch?v=”, “”, $item['link']);

  104. 107colo

    lmjabreu,
    Nice tip!!
    It works fine now!!

    thanks

  105. I tried the fixes that lmjabreu gave, but the widget is still not working. I tried using some alternatives but they all suck. Please get this working again! :)

  106. Another thing: the tooltip text changes when I hover over the video boxes in the sidebar, so it is pulling down video information. Maybe it’s a problem with the ThickBox part of the plugin?

  107. I think this is the coolest plugin that I’m looking for and I really want to use it in my site but there are still too many conflict, so I’ll waiting for the next updated version which I hope would have fixed the bugs exist for now.
    I have some errors like this:
    Fatal error: Cannot use string offset as an array in /home/xxxxxx/public_html/wp-content/plugins/daikos-youtube-widget/daikosyoutubewidget.php on line 108

    Have a great work daiko…

  108. How do you delete videos off the playlist?

  109. Hi Daiko,
    The pluggin does not work within my website. I keep getting these errors.

    Please provide a solution.
    irene

    : array_slice() expects parameter 1 to be array, null given in /home/germaine/domains/openrelatie.nl/public_html/wp-content/plugins/daikos-youtube-widget/daikosyoutubewidget.php on line 530

    Warning: Invalid argument supplied for foreach() in /home/germaine/domains/openrelatie.nl/public_html/wp-content/plugins/daikos-youtube-widget/daikosyoutubewidget.php on line 531

    Warning: array_slice() expects parameter 1 to be array, null given in /home/germaine/domains/openrelatie.nl/public_html/wp-content/plugins/daikos-youtube-widget/daikosyoutubewidget.php on line 548

    Warning: Invalid argument supplied for foreach() in /home/germaine/domains/openrelatie.nl/public_html/wp-content/plugins/daikos-youtube-widget/daikosyoutubewidget.php on line 549

  110. Hi Daiko,

    I’m having the same problem as Irene above regarding the error messaging that I’m getting. The widget actually works perfectly, aside from the error message that sits above it. Could you please help with the problem?

    Warning: array_slice() expects parameter 1 to be array, null given in /home/content/c/u/d/cuddledown/html/wp-content/plugins/daikos-youtube-widget/daikosyoutubewidget.php on line 120

    Warning: Invalid argument supplied for foreach() in /home/content/c/u/d/cuddledown/html/wp-content/plugins/daikos-youtube-widget/daikosyoutubewidget.php on line 121

    Warning: array_slice() expects parameter 1 to be array, null given in /home/content/c/u/d/cuddledown/html/wp-content/plugins/daikos-youtube-widget/daikosyoutubewidget.php on line 138

    Warning: Invalid argument supplied for foreach() in /home/content/c/u/d/cuddledown/html/wp-content/plugins/daikos-youtube-widget/daikosyoutubewidget.php on line 139

  111. 114mark

    Hi Daiko,this widget is so cool! But I have some problems when adding more than 9 videos. If the number of videos is more than 8 and 9 or more to display, the homepage with IE crashes. Never opened normally. But 8 is ok. How can I solve the problems? Thank you very much!

  112. 115ricl

    It works perfectly but I get this code in the sidebar right above it:

    Warning: array_slice() expects parameter 1 to be array, null given in /home/.lembu/ricland/backdoorstuff.net/wp-content/plugins/daikos-youtube-widget/daikosyoutubewidget.php on line 120

    Warning: Invalid argument supplied for foreach() in /home/.lembu/ricland/backdoorstuff.net/wp-content/plugins/daikos-youtube-widget/daikosyoutubewidget.php on line 121

    Warning: array_slice() expects parameter 1 to be array, null given in /home/.lembu/ricland/backdoorstuff.net/wp-content/plugins/daikos-youtube-widget/daikosyoutubewidget.php on line 138

    Warning: Invalid argument supplied for foreach() in /home/.lembu/ricland/backdoorstuff.net/wp-content/plugins/daikos-youtube-widget/daikosyoutubewidget.php on line 139

  113. 116gongren

    Hi,

    How do I change the size of the large to 170×156? I did try to change that in dytw.css but the snapshot picture doesn’t show the size I want. Instead it showed a repetition of the picture to fill the space…

  114. 117jon

    Hi, I’m having the same problem as many others here. I keep getting these errors:

    Warning: array_slice() expects parameter 1 to be array, null given in /home2/jonstein/public_html/tonlist/wp-content/plugins/daikos-youtube-widget/daikosyoutubewidget.php on line 121

    Warning: Invalid argument supplied for foreach() in /home2/jonstein/public_html/tonlist/wp-content/plugins/daikos-youtube-widget/daikosyoutubewidget.php on line 122

    Warning: array_slice() expects parameter 1 to be array, null given in /home2/jonstein/public_html/tonlist/wp-content/plugins/daikos-youtube-widget/daikosyoutubewidget.php on line 139

    Warning: Invalid argument supplied for foreach() in /home2/jonstein/public_html/tonlist/wp-content/plugins/daikos-youtube-widget/daikosyoutubewidget.php on line 140

  115. Seriously looking for a solution for wordpress 2.7 as am struggling massively at the moment to come up with a solution for the errors popping up, the video player comes up but with about 30 lines of broken code

    See for yourself at http://www.thisareilliteracy.com

    example: Warning: Invalid argument supplied for foreach() in /home/fhlinux195/t/thisareilliteracy.com/user/htdocs/wp-content/plugins/daikos-youtube-widget/daikosyoutubewidget.php on line 139

  116. 119Charlene

    Hi Daiko,
    Can I make the widget display the videos in a set chronology instead of random display everytime it is loaded? THANKS!

    Charlene

  117. Hi Daiko,
    much Thx for your nice Plugin.
    It works fine, but i have a Prob with the Thumbs. They runs out the Frames. Take a look, please.
    What can i do to repais this?

  118. No more Comments here? My first Comment is away!
    Your Widget runs good, but i have a Prob with the Thumbs. They runs out of the Frames!
    Please take a look and give me a little Help!

    Thx my Friend, you do a good Job!

  119. 122Steve

    Anybody get rid of the broken code above the widget? I can not seem to find a solution yet. Thanks.

    steve@smu.edu
    http://www.advirtues.com

    Warning: array_slice() expects parameter 1 to be array, null given in /home/.lembu/ricland/backdoorstuff.net/wp-content/plugins/daikos-youtube-widget/daikosyoutubewidget.php on line 120

    Warning: Invalid argument supplied for foreach() in /home/.lembu/ricland/backdoorstuff.net/wp-content/plugins/daikos-youtube-widget/daikosyoutubewidget.php on line 121

    Warning: array_slice() expects parameter 1 to be array, null given in /home/.lembu/ricland/backdoorstuff.net/wp-content/plugins/daikos-youtube-widget/daikosyoutubewidget.php on line 138

    Warning: Invalid argument supplied for foreach() in /home/.lembu/ricland/backdoorstuff.net/wp-content/plugins/daikos-youtube-widget/daikosyoutubewidget.php on line 139

  120. 123ron

    Hi,

    I need to rotate several youtube videos randomly on a page (not in the sidebar).

    will this plugin do this?

    also is it compatible with wp 2.71

  121. 124matt

    will you widget allow a change in the size of the number of videos from a particular channel to be shown in the sidebar (widget).

    Just wondering how flexible on the size and shape of this achive (channel) could be??

  122. The
    “array_slice() expects parameter 1 to be array, null given in…” problem with wordpress 2.7 seems to be a problem with the changes made in the fetch_rss function.

    http://wordpress.org/tags/fetch_rss

    So when $feed tries to use the fetch_rss function, it’s not returning what is expected…

  123. 126ricland

    Ok everybody, here’s the solution:

    Remove the BLOCKS of rss code that starts with the “if conditional. You don’t need the rss conditional. Do the samething for the player if it’s generating error code.

    The plugin works flawlessly after that

    Make sure get all the curly brackkets so that the code that starts next is a clean if conditional that has nothing to do with rss

    Tell me that I’m the man for telling you this!

  124. I am having the same problem with this widget as Steve but I don’t understand where the code is you want me to change Richmond.

    This is such a perfect wideget for my site and I will kiss any one who makes it work!

  125. 128Ovidiu

    hello, I love your plugins but now, this one is giving me some trouble.
    I activated your youtube widget and the player widget, palced both in the sidebar, inserted videos and the videos show indeed in the player, but the youtube widget still gives me this warning:

    `Youtube only videos
    Activate Daiko’s ThickBox Plugin or place Daiko’s VideoPlayer Widget!`

    I had that warning before placing the player, but after placing it in the sidebar shouldn’t this warning disappear and instead show me the small clips?
    if I activate your thickbox plugins all is good again :-(

  126. 129Ovidiu

    otherwise I’d be willing to remove the code that checks for the player, the player itself and maybe automatically activate the thickbox player when the youtube widget is activated?

    besides, aren’t there any problems in the back end I think wordpress uses thickbox too for uploading media files?

  127. 130Ovidiu

    can’t save the widget settings :-( running wp 2.8 beta but it might be some other problems, has anyone gotten it to run with wp 2.8 already?

  128. If you are getting the problem with the PHP array errors, you can get this working by opening the script and removing the ‘else’ part of the ‘if’ statement at line 121. I’m not sure how much this breaks other functionality but everything seems to be working for me! :-)
    Enjoy.

  129. 132accountinghomework help

    Excellent resources of your topic. Good job openings and accommodation requirements. Thanking you so much

  130. If you visit lukasgrant.com you’ll notice that I’ve got an issue with the widget breaking. Can you please tell me how to fix these errors? Thanks.

  131. 134H78

    First of all,.. great widget!!

    Wjat part of the code do I have to change if I don’t want to display the videos randomly?

    I’ve been trying to do this for a long time know, but i don’t seem to be able to.. If somebody can help me, would be great!!

    Thanks, keep up the good work.

  132. Added your widget just now.

    Having some problem with configuring it. Please see it here http://healthgenie.org/blogs/
    Thanks
    Alevoor

  133. hi,
    this plugin is what i was searching,
    i’m planning a 2 month walk with a donkey in spain
    and to publish a geoblog channel..
    i choose the irresistble theme by woo theme
    i’m experiencing some problem to show the widget in the custom-home.php
    i was imagine even to use in the main part with a function like

    should be possible?
    can you help to manage this thing out
    any help will be apreciate
    thanks
    and best wishes

  134. I have WP 2.8.2 and the daiko plugins ThickBox 1.21, YouTube 1.2.6, and see the following in my sidebar near the Video widget, please help?:

    == ABOVE WIDGET ==

    Warning: array_slice() [function.array-slice]: The first argument should be an array in /homepages/43/d169631738/htdocs/roneyzone/tat/wp-content/plugins/daikos-youtube-widget/daikosyoutubewidget.php on line 120

    Warning: Invalid argument supplied for foreach() in /homepages/43/d169631738/htdocs/roneyzone/tat/wp-content/plugins/daikos-youtube-widget/daikosyoutubewidget.php on line 121

    == BELOW WIDGET ==

    Warning: array_slice() [function.array-slice]: The first argument should be an array in /homepages/43/d169631738/htdocs/roneyzone/tat/wp-content/plugins/daikos-youtube-widget/daikosyoutubewidget.php on line 530

    Warning: Invalid argument supplied for foreach() in /homepages/43/d169631738/htdocs/roneyzone/tat/wp-content/plugins/daikos-youtube-widget/daikosyoutubewidget.php on line 531

  135. Can someone tell me how to fix this ? great widget otherwise

    Warning: array_slice() expects parameter 1 to be array, null given in /home/achswres/public_html/wp-content/plugins/daikos-youtube-widget/daikosyoutubewidget.php on line 120

    Warning: Invalid argument supplied for foreach() in /home/achswres/public_html/wp-content/plugins/daikos-youtube-widget/daikosyoutubewidget.php on line 121

    Warning: array_slice() expects parameter 1 to be array, null given in /home/achswres/public_html/wp-content/plugins/daikos-youtube-widget/daikosyoutubewidget.php on line 138

    Warning: Invalid argument supplied for foreach() in /home/achswres/public_html/wp-content/plugins/daikos-youtube-widget/daikosyoutubewidget.php on line 139

  136. 139Maria

    Hi,

    I would like to know how is the php code to query the plugin from the sidebar, instead of using it as awidget.

    Thank you very much,
    Maria.

  137. Ron and Your Buddy Bill,

    Any solution to those problems you’d highlighted? I am in the same fix too.

  138. Here is a solution for the “Array-Bug”.

    Replace this line:
    if (!empty($tags)) {

    with this one:
    if ((!empty($tags)) && ($tags[0] != ”)) {

    and replace this line:
    if (!empty($users)) {
    with this one:
    if ((!empty($users)) && ($users[0] != ”)) {

    Both lines should be found two times on line 116, 135, 527 and 545.

    Greetz from Germany ;-)

  139. @Bug-Fix from Germany

    does your indicated fix, solve all problems with this plugin and wp 2.8.4?

  140. @ovidiu:
    I had only the bugs with the empty array:
    Warning: array_slice() expects parameter 1 to be array …

    Warning: Invalid argument supplied for foreach() in …

    So cant say anything about other bugs, because i havent seen any other.

  141. thanks..

  142. thankss

  143. Love the plugin but I have a small problem. Well kind of a big one. It works fine when I have it placed on my site but in between the boxes I get these huge error messages. I am new to Wordpress and not a very good coder so I could use some help. This is a copy of the error that appears in my sidebar when I have the plugin activated:

    Warning: array_slice() [function.array-slice]: The first argument should be an array in D:\Hosting\4133407\html\wp-content\plugins\daikos-youtube-widget\daikosyoutubewidget.php on line 120

    Warning: Invalid argument supplied for foreach() in D:\Hosting\4133407\html\wp-content\plugins\daikos-youtube-widget\daikosyoutubewidget.php on line 121

    Warning: array_slice() [function.array-slice]: The first argument should be an array in D:\Hosting\4133407\html\wp-content\plugins\daikos-youtube-widget\daikosyoutubewidget.php on line 138

    Warning: Invalid argument supplied for foreach() in D:\Hosting\4133407\html\wp-content\plugins\daikos-youtube-widget\daikosyoutubewidget.php on line 139

    Please help!

  144. Daiko,

    can you please help us with this array slice errors? line 138 139 548 549? PLEASE

  145. DAIKO, PLEASE UPDATE YOUR YOUTUBE WIDGET, PLEASE FOR THE LOVE OF GOD! WE NEED YOUR SUPPORT, YOU ARE THE MAN!

  146. to insert the * widget * and visualize the web page I get error

    Warning: array_slice() expects parameter 1 to be array, null given in /home/content/39/5220839/html/wp-content/plugins/daikos-youtube-widget/daikosyoutubewidget.php on line 530

    Warning: Invalid argument supplied for foreach() in /home/content/39/5220839/html/wp-content/plugins/daikos-youtube-widget/daikosyoutubewidget.php on line 531

    Warning: array_slice() expects parameter 1 to be array, null given in /home/content/39/5220839/html/wp-content/plugins/daikos-youtube-widget/daikosyoutubewidget.php on line 548

    Warning: Invalid argument supplied for foreach() in /home/content/39/5220839/html/wp-content/plugins/daikos-youtube-widget/daikosyoutubewidget.php on line 549

    my web is http://grandchampionperu.com/

    I can help!
    thanks

  147. Awesome widget

    Thanks

  148. 151Ender

    Hi,

    I do get the Warnings like others as well:
    “Warning: array_slice() expects parameter 1 to be array,
    null given in /m..”

    But if i fill in some comma-seperated words in the
    boxes below (feed from tags / feed from users) all
    warnings are dissolved. Leaving these boxes empty
    does cause the warnings.
    As i don’t wanna have randomly chosen vids, what
    is the workaround in order not to get these warnings?
    Please help.
    Ender

  149. I tried your youtube widget and used the videos on this page to try it out. That worked fine but when I try and add my own youtube videos it plays the ones I originally used at the top of this page. any ideas?

  150. To center just the video edit the plugin daikosvideowidget.php and go to line 201 commented “Put it all together”. Make this change:

    CHANGE
    $fulltext = $videotitlelink.$embeddedvideo;

    TO
    $fulltext = ”.$videotitlelink.$embeddedvideo.”;

  151. To center just the video edit the plugin daikosvideowidget.php and go to line 201 commented “Put it all together”. Make this change:

    CHANGE:
    $fulltext = $videotitlelink.$embeddedvideo;

    TO:
    $fulltext = ‘<center>’.$videotitlelink.$embeddedvideo.’</center>’;

  152. Get the following 2 lines of errors:

    Warning: array_slice() [function.array-slice]: The first argument should be an array in /nas01/HostingVol1/77/21677/pointblank.ca/public/newsite/wp-content/plugins/daikos-youtube-widget/daikosyoutubewidget.php on line 120

    Warning: Invalid argument supplied for foreach() in /nas01/HostingVol1/77/21677/pointblank.ca/public/newsite/wp-content/plugins/daikos-youtube-widget/daikosyoutubewidget.php on line 121

  153. Warning: array_slice() [function.array-slice]: The first argument should be an array in /nas01/HostingVol1/77/21677/pointblank.ca/public/newsite/wp-content/plugins/daikos-youtube-widget/daikosyoutubewidget.php on line 120

    Warning: Invalid argument supplied for foreach() in /nas01/HostingVol1/77/21677/pointblank.ca/public/newsite/wp-content/plugins/daikos-youtube-widget/daikosyoutubewidget.php on line 121

    What’s the problem?

  154. 157peripheries

    does not work…

    Warning: array_slice() [function.array-slice]: The first argument should be an array in /nas01/HostingVol1/77/21677/pointblank.ca/public/newsite/wp-content/plugins/daikos-youtube-widget/daikosyoutubewidget.php on line 120

    Warning: Invalid argument supplied for foreach() in /nas01/HostingVol1/77/21677/pointblank.ca/public/newsite/wp-content/plugins/daikos-youtube-widget/daikosyoutubewidget.php on line 121

  155. On the slice errors.. If tags field is blank, I get errors on those lines for tags. It is by-passing !empty() and still running. I’ve tried adding trim() to the $tags, nothing. I commented out the tags loop because I don’t want it. It does work though if I put in a tag. Pulling from my youtube user does not work. If I leave all options blank I still get the slice errors BUT go figure the hard coded backup example list in daikosysyoutube.php displays.

  156. I the widget by modifying the widget_daikos_youtube function. On !empty() I’m directly checking the database field instead of checking after processing as array. if (!empty($options[$number]['tags'])) same for user.

    Also the links in rss for tag and user feeds are different so I am using preg_match() instead of str_replace on the URL.

    for tag feed: preg_match(”/v=(.*)&/i”,$item['link'],$match); $item['link'] = $match['1'];

    for user feed:
    preg_match(”/v=(.*)/i”,$item['link'],$match); $item['link'] = $match['1'];

  157. Sorry for posting again but in my previous comment I made a mistake. Swap the tag and user preg_match. User feed has & more query string after the ID to be removed.

  158. How do you get the “Feed from YouTube user(s)” to function properly? It would be fantastic if I could get this to work.

    Any chance this plug-in will ever be updated? I really like it but I think many of the issues that I see could be solved if the plug-in was updated to the latest version of WP. This plug-in is even worth being a paid for type plug-in.

  159. 162Mike

    I’m getting these error messages IN the sidebar.

    The thing is, when I have your Video Player and YouTube widget in the sidebar, it actually works and looks good. It’s just surrounded by this error message…

    Warning: array_slice() expects parameter 1 to be array, null given in /home/shredits/public_html/Shreditblog/wp-content/plugins/daikos-youtube-widget/daikosyoutubewidget.php on line 120

    Warning: Invalid argument supplied for foreach() in /home/shredits/public_html/Shreditblog/wp-content/plugins/daikos-youtube-widget/daikosyoutubewidget.php on line 121

    Warning: array_slice() expects parameter 1 to be array, null given in /home/shredits/public_html/Shreditblog/wp-content/plugins/daikos-youtube-widget/daikosyoutubewidget.php on line 138

    Warning: Invalid argument supplied for foreach() in /home/shredits/public_html/Shreditblog/wp-content/plugins/daikos-youtube-widget/daikosyoutubewidget.php on line 139

  160. Yes, I am a god.

    Everywhere this is this code:
    —————————————–

    $item['link'] = str_replace(”http://youtube.com/?v=”, “”, $item['link']);

    —————————————–

    Replace it with this:

    —————————————

    $item['link'] = str_replace(”http://www.youtube.com/watch?v=”, “”, $item['link']);
    $item['link'] = substr($item['link'], 0, 11);

    ————————————–

    Everywhere there is this code:

    —————————————
    if ((!empty($users)))
    ————————————–

    Replace it with:

    —————————————
    if ((!empty($users)) && ($users[0] != ”)) {
    —————————————

    Everywhere there is this code:

    ————————————-
    if ((!empty($tags)))
    —————————————-

    Replace it with this code:

    ————————————–
    if ((!empty($tags)) && ($tags[0] != ”))
    ————————————–

    That will fix both the array_slice problem, and also make all of the tags & users functional.

  161. Hi Daikos,

    I’ve installed your plugin but since I’ve installed even javascript to footer plugin it stopped to work… Do you have any suggestion?

    Thank you

    Dimitri

    ziguline.it

  162. Various fields of life utilize lots of time and money, therefore why have we to expend life time for argumentative essay creating? That’s better to utilize some essay writing service to buy the biography term paper at, I think so.

  163. This plugin doesnt work - creates too many errors and the guidance just doesnt seem clear enough.Shame because its anice plugin

  1. [...] After sorting out the remaining issues discussed earlier, Daiko’s YouTube Widget is now finally ready for release. [...]

  2. [...] Better luck this time. Go get it here: Daiko’s YouTube Widget [...]

  3. [...] Daiko’s YouTube Widget [...]

  4. [...] Visit [...]

  5. [...] Daiko’s YouTube Widget [...]

  6. [...] Daiko’s YouTube Widget [...]

  7. [...] Daiko’s YouTube Widget [...]

  8. [...] ” name=”daikos-youtube-slug-” value=”” /> Help [...]

  9. [...] Daiko’s YouTube Widget [...]

  10. [...] Daiko’s YouTube Widget [...]

  11. [...] Daiko’s YouTube Widget Daiko’s YouTube Widget displays a pre-defined number of YouTube videos as thumbnail images and plays them in a pop-up ThickBox window or my very own VideoPlayer Widget (included and integrated). This gives you the power and flexibility to play your favourite YouTube videos on your site in the format you desire. The widget also supports RSS-feeds from tag(s) and user(s). [...]

  12. [...] Daiko’s YouTube Widget - Finally Daiko’s YouTube Widget is ready for you YouTube bloggers. It displays a pre-defined number of YouTube videos as thumbnail images and plays them in a pop-up ThickBox window or my very own VideoPlayer Widget (included and integrated). This gives you the power and flexibility to play your favourite YouTube videos on your site in the format you desire. y Rune Fjellheim [...]

  13. [...] Daiko’s YouTube Widget [...]

  14. [...] and various third party widgets that are out there. The ones I’ve got on display just now is Daiko’s YouTube Widget. Which is nifty for reasons you can see on your [...]

  15. [...] Daiko’s YouTube Widget [...]

  16. [...] Plugin Homepage [...]

  17. [...] השבוע: Daiko’s YouTube Widget [...]

  18. [...] Daiko’s YouTube Widget - Displays a pre-defined number of YouTube videos as thumbnail images. [...]

  19. [...] Daiko’s YouTube Widget [...]

  20. [...] הוספת ווידאו: Daiko’s YouTube Widget→ [...]

  21. [...] You-tube widget 1.2.4 works with this theme in Wordpress [...]

  22. [...] Daiko’s You-Tube Widget works in Wordpress 2.5 [...]

  23. [...] Daiko’s You-Tube Widget works in Wordpress 2.5 [...]

  24. [...] Daiko’s YouTube Widget - Añade sidebar widget para  random YouTube videos of your own choice. By Rune Fjellheim. [...]

  25. [...] Daiko’s YouTube Widget - Añade sidebar widget para  random YouTube videos of your own choice. By Rune Fjellheim. [...]

  26. [...] just added Daiko’s Youtube Widget to the blog. Very cool widget. Here is my collections of [...]

  27. [...] Daiko’s YouTube Widget [...]

  28. [...] Daiko’s YouTube Widget | Daikos.Net My friend Daiko har translated his YouTube video widget into norwegian. (tags: wordpress plugin youtubewidget) [...]

  29. [...] Daiko’s YouTube Widget - Daiko’s YouTube Widget mostra um número pré-determinado de Youtube videos como imagens thumbnail e os tocam em uma janela pop-up como Thickbox. [...]

  30. [...] 包含随机文章功能. AVH Amazon: 显示一份随机的你在Amozon收藏的商品名单. Daiko’s YouTube Widget: 显示来自Youtube的随机视频列表. Baltic Amber Themes & Schemes: [...]

  31. [...] Daiko’s YouTube Widget: 显示来自Youtube的随机视频列表. [...]

  32. [...] Daiko’s YouTube Widget [...]

  33. [...] Daiko’s YouTube Widget: 显示来自Youtube的随机视频列表. [...]

  34. [...] Daiko’s YouTube Widget: 显示来自Youtube的随机视频列表. [...]

  35. [...] Daiko’s YouTube Widget: 显示来自Youtube的随机视频列表. [...]

  36. [...] Daiko’s YouTube Widget: 显示来自Youtube的随机视频列表. [...]

  37. [...] Daiko’s YouTube Widget: 显示来自Youtube的随机视频列表. [...]

  38. [...] Genki Youtube Comments [...]

  39. [...] Daiko’s YouTube Widget: 显示来自Youtube的随机视频列表. [...]

  40. [...] Daiko’s YouTube Widget: 显示来自Youtube的随机视频列表. [...]

  41. [...] Genki Youtube Comments [...]

  42. [...] Daiko’s YouTube Widget: 显示来自Youtube的随机视频列表. [...]

  43. [...] Daiko’s YouTube Widget: 显示来自Youtube的随机视频列表. [...]

  44. [...] 1.Daiko’s YouTube Widget - תוסף אשר מאפשר להוסיף ווידג’ט בסרגל הצדדי ולהציג שם סירטונים מיוטיוב כמות הסירטונים מוגבלת על פי בחירת המשתמש, התוסף לקראת סיום תירגום ובחינת התירגום בצורה סופית. [...]

  45. [...] המתורגם בגירסה 1.2.6. את התוסף הזה הורידו כבר 1 פעמים. לינק לאתר היוצר של [...]

  46. [...] Plugin Homepage » [...]

  47. [...] Daiko’s YouTube Widget [...]

  48. [...] Daiko’s YouTube Widget - Display a pre-defined number of YouTube videos as thumbnail images an… [...]

  49. [...] Daiko’s YouTube Widget: 显示来自Youtube的随机视频列表. [...]

  50. [...] Daiko’s YouTube Widget: 显示来自Youtube的随机视频列表. [...]

  51. [...] Daiko’s YouTube Widget: 显示来自Youtube的随机视频列表. [...]

  52. [...] Genki Youtube Comments [...]

  53. [...] Daiko’s YouTube Widget: 显示来自Youtube的随机视频列表. [...]

  54. [...] Daiko’s YouTube Widget: 显示来自Youtube的随机视频列表. [...]

  55. [...] Daiko’s YouTube Widget – Añade sidebar widget para random YouTube videos of your own choice. By Rune Fjellheim. [...]

  56. [...] Daiko’s YouTube Widget: 显示来自Youtube的随机视频列表. [...]

  57. [...] Continued here: Daiko’s YouTube Widget | Daikos.Net [...]

Leave a Reply



Bad Behavior has blocked 1363 access attempts in the last 7 days.