TubePress
TubePress has moved to TubePress.org!
TubePress is a free, highly configurable WordPress plugin that displays YouTube videos in an embedded gallery in your posts and/or pages. Here’s a working demo.
Screenshots of TubePress in action
TubePress has moved to TubePress.org!
TubePress is a free, highly configurable WordPress plugin that displays YouTube videos in an embedded gallery in your posts and/or pages. Here’s a working demo.
Screenshots of TubePress in action
[…] It was fun and easy. It’s called TubePress. It displays YouTube favorites galleries in WordPress posts. See how awesome it is. It’s also free, so please download it. Filed under: Uncategorized | […]
Hi.. I’ve just downloaded and installed tubepress for my website but I’ve found some problems during installation and configuration. Now it works but I’m not be able to select videos other than first: if I click on first video it works but if I click any others they does’nt. Can you help me? my experimental website is http://sardina.homelinux.org/wordpress and the link where I’ve just inserted the [tubepress] tag is http://sardina.homelinux.org/wordpress/corsi-di-apnea/
I’m waiting your support
thans for all
Matteo
Thanks very much for pointing out that bug. It was something I mistakenly thought I had fixed in a previous version. Please download the latest version (0.3) of tubepress from http://dev.wp-plugins.org/file/tubepress/tags/tubepress_0.3.zip?rev=6630&format=raw
This update should fix your issue. Your version of the plugin didn’t know where to find the Javascript and CSS files that it needed since the include directives were missing absolute paths. The plugin also assumes that your tubepress directory is laid out in the following manner: WP-ROOT/wp-content/plugins/tubepress. This is the norm for most installations.
New verson works fine!!!!
thank you!!!
Is also possibile to use two or more playlists previously created in my youtube account? In example: I’ve created two playlist (myplay_one and myplay_two) well… now I must copy video from each playlist to “My Favorities” or can I link each playlist directly keeping them separated? I’d like to use playlist instead of “My Favorities” but I don’t know if it’s possible…
Thanks a lot… it’s a very powerful plugin!!!
Unfortunately, YouTube doesn’t yet support this in their API: http://youtube.com/dev
If they do come out with that kind of functionality, I’ll definitely be incorporating it into TubePress.
Ok.. so can I only use “My Favorities” or are there any others places in which the plugin search?
Right now it just pulls your favorites. Besides this, the YouTube API supports pulling videos by tag and by user. In future versions I’ll be making these available as options, but for now, this is all there is
Sorry for my insistance eheh… can you also adjust xhtml validation for this plugin?
Thanks
Matteo
would love to use this plugin but I have no idea how to actually implement it once I’ve enabled the plugin. Is there a “how to” file somewhere? what’s the syntax for including a youtube video in a WP post??
help.
Sorry the documentation is so immature at this point. I’m working on new docs for future versions.
To enable the plugin, first configure the plugin (YouTube username, developer id, trigger word, etc) under Site Admin > Options > TubePress. Anywhere you insert the trigger word into a post or page, your YouTube gallery will be displayed. The default trigger word is [tubepress]. You can edit the CSS to change the appearances to your liking.
Does this help? If you’re just interested in embedding a single video or two, there’s other easier ways to do this: http://wordpress.com/blog/2006/01/26/youtube-support/
hi,
i have a problem too.
This error message appears, when i use the trigger word:
Fatal error: Cannot instantiate non-existent class: simplexmlelement in /www/htdocs/v108906/blog/wp-content/plugins/tubepress/tubepress.php on line 158
http://www.andyostsee.de/youtube/
Can you help me?
Thanks,
Andreas
[…] TubePress Demo […]
Thank you for your good plugin, it work well in my site now. haha, if you have other new updates, please notice me, many thanks!
Hey - great plugin, thanks! I’d love to be able to have multiple galleries with various options. For example, if i pass [Tubepress tag=share_one] it will generate a gallery using the tag ’share_one’, and [Tubepress user=myusername] generates a gallery based on that user’s videos. Any chance of something like this? I’m poring through your code to see if it’s something I could do myself.
This functionality will be released in the next version. Stay tuned!
TubePress is teh weak. I think my 2-yo retarded cousin wrote something like this in a week this past summer. Propz 2 Cm|_|guzzl3r, n0td|2un|
hi, the plugin works great on my blog if I open it with Firefox but the galleries doesn’t work if I open my website with IE 6. I created a page just for the plugin. Do you know why? I use plaintxtBlog theme. Thanks.
wonderful plugin … I tried all the others .. this one just does what I want it to do … thank you ..
small problem …works fine in firefox, no problems using safari on a mac but destroys all my page using IE … any ideas why ?
thanks again
ciao
db
Thanks for pointing this out. I’ll get started on a fix ASAP.
This bug is fixed as of version 1.0.5
Hi,
Great plugin, thank you.
I’m trying to get the gallery to work on a page on my blog, and I have no problem at all getting a display, but in the Options, it doesn’t matter how many times I enter my developer ID/username, your ID and username continue to show up, and I can only display your videos.
Not sure what’s going on - I’ve tried to update the information several times, each time I save the changes, it says my changes have been saved and alas, your ID and username show up in the fields again.
Any suggestions are greatly appreciated. I’m using a plain [tubepress] tag on an individual page in k2. See it at http://swoon.us/?page_id=185#
Thanks!
Same problem here.
As for the options problem that Paige and Fabien are having, I’m actively trying to track down exactly what the issue is. It *could* be a PHP4/5 issue, though I still need to test for that. Could you provide me with more information regarding your server setup?
Diarmuid, TubePress isn’t designed to show just a single video. I would use something like Extreme Video Plugin for that: http://www.rossgerbasi.com/2006/01/21/extreme-video-plugin-20/
OK, I can now reproduce the error. It’s a PHP4/5 issue, and I’ll start working on a fix right away. Stay tuned!
[…] So how do we do this? I searched Google and ended up on the wordpress site chasing down a plugin that didn’t work… after looking little further we ended up at ehough.com. He has a fantasic youtube plugin that works like a charm. Download his script, add it to your blog and start tubin’! Latest post: Jeff Han on TED Talks (9:31) […]
Hi
Nice plugin but I have one problem. I must be missing something but I cannot figure out a way just to post one video and nothing else ? Is this possible?
Diarmuid
Thanks for your work, now I’m having a problem with Youtube returning only 10 random videos from my favorites.
But it’s a Youtube related problem, I’ve tried to call the api directly with something like this : http://www.youtube.com/api2_rest?method=youtube.users.list_favorite_videos&dev_id=xxxxxxxx&user=blingblog
and I get only 10 random entries in the XML.
I don’t know if I am the only user affected.
Great plugin!
Nope, you’re not the only user affected. This is a new development in YouTube’s API, and unfortunately there’s not much that we can do about it other than email YouTube and ask them to bring back the full functionality.
A YouTube plugin for the rest of us!
After searching for a long time, I have found a Wordpress plugin that EASILY integrates YouTube clips into a post or a page! I had tried both MyTube and YouTube Favorites with limited success. Rane’s MyTube has a great deal of functionality, bu…
This is a great plugin! Thanks!
Hey–it turns out that I have another plug in that uses [ and ] to function. This other plugin takes the brackets over and doesn’t let your plugin function. Any chance you could switch to (or some other characters) in the next version of your plugin? Otherwise, your plugin looks sweet! Good work!
Hi I was wondering how do you get rid of the white background round the main video? You will see it if you place it onto a dark background.
You can modify tubepress.css (found in the /wp-content/plugins/tubepress directory) to change the plugin’s appearance. To change the background of the main video display, just modify the “tubepress_mainvideo” class. For instance, to make the background blue…
.tubepress_mainvideo {
text-align:center;
background: blue;
}
The flash file of the YouTube video itself does maintain a thin white border along the top and bottom of the video, so your results may be less than perfect for any background color other than white.
Is there anyway I can call this from my template, I need the call from my php file and I cannot figure out how to call this:
[tubepress mode=tag tagValue=basketball comments=true]
but using a php call… and not the brackets..please help
At the moment, I don’t know exactly how you might invoke tubepress from within a template. It’s using the “the_content” filter hook, but you might want to try changing the hook to “single_template” or something like that. I have no experience with these other hooks, so they may or may not work.
The hook is identified at the bottom of tubepress.php. See this site for the full API: http://codex.wordpress.org/Plugin_API#Current_hooks_for_filters
[…] So how do we do this? I searched Google and ended up on the wordpress site chasing down a plugin that didn’t work… after looking little further we ended up at ehough.com. He has a fantasic youtube plugin that works like a charm. Download his script, add it to your blog and start tubin’! […]
Hey, I love the plugin but I can’t get it to work for my youtube videos. I did everything I was supposed to do. No matter how many times I change your default information to my own it reverts back to yours. What am I missing?
It sounds like you’re having the same problem that some users were having with an older version of the plugin. The latest version is 0.8, so make sure that you’re running this version and let me know if that fixes it for you. Any older versions are vulnerable to a PHP 4 bug that produces the behavior that you’re describing.
[…] TubePress This one I have installed but have yet to use. You can put a number of YouTube videos on your site. This may be the plug-in you want to use for your YouTube stuff. There may be others though that you may want to look into. […]
Hi there. I have a little question. Can you maybe change your program to show a playlist instead of favorites??
so i have playlist called nickelback
and when i for example put this in my page
[tubepress mode=playlist playlistValue=Nickelback]
it shows the playlist nickelback.
or maybe make it possible to do this
[tubepress username=3hough devID=qh7CQ9xJIIc mode=favorites mode=tag tagValue=nickelback]
so it takes the user 3houg then looks in favorite and take everything with the tag nickelback
i hope yo hear from you soon
and happy holidays
berry
I am waiting for YouTube to finally give me a way to list videos by playlist. There’s just no way to do that for the time being: http://youtube.com/dev_docs
[…] Gestern habe ich in meinem Blog ein Plugin installiert, mit dem sich eine kleine YouTube-Clip-Galerie erstellen lässt. Ich kann damit zehn beliebige YouTube-Clips anzeigen lassen. Eine nette kleine Spielerei. Nicht alle WordPress Plugin taugen wirklich was. Manche haben mein Blog bereits jämmerlich zum abstürzen gebracht, oder man fummelt endlos lange an dem Plugin rum, um es überhaupt in das eigene Designe einbinden zu können. Ich bin dennoch begeistert von WordPress, es wird herrlich dokumentiert, man findet viele Infos, Hilfestellungen und Ratschläge. […]
Eric,
Great plugin. I was wondering if it was possible to do more customization of tubepress. Specifically, I would like to remove the iframe (or at least the scroll) and have each video open up on a page of its own (not a pop-up) like the page here
Thanks for everything!
You can remove the scroll bars by modifying the CSS for the plugin, which is found in wp-content/plugins/tubepress/tubepress.css. Specifically, you’ll want to play around with the “tubepress_video_thumbs” class. Modify the “overflow” and “height” attributes to your liking.
As for opening videos in a new window, this is something that I have planned for the next version of the plugin, which I’m hoping to release in a week or two. I’m going to try to provide as many options as I can think of for opening up and displaying the videos.
i am not able to change your developer id and username from yours to mine… everytime i click on save, after inputing my username and id, the changes are not saved.
any suggestions?
It sounds like you have an older version of the plugin that was vulnerable to a bug in PHP4. Please delete your “tubepress” directory from plugins, download the latest version from here, reinstall, and you should be good to go.
I got this message:
“Could not retrieve any videos from YouTube. Please check your configuration.”
I got my developers id and configurated everything good…
Thanks
for some odd reason… i am not able to post to my blog from youtube…. i know your plugin wasn’t set up for this.. but since you know more about youtube than me… i figure you may have some ideas…
hello, i have a question.
what can i set page’s metatags? because some charecters isn’t looking. for example ; ç ş ı ü ğ ö
thanks
Very nice plugin.Thank you!
Can you maybe change your program to show a playlist?
Keep up the good work.
@challenger
Yes, I’m putting the final touches on the next version of the plugin which has playlist support (w00t). Planning to release it by this weekend…
I see 1.05 now works with specific searches. Is there a way to keep the thumbnails in an iframe with scrollbar? I have a blog where the post section is 450 pixels wide and the thumbnails go everywhere? I know previous versions tamed the thumbnails and provided a defined area for them. Thank you
If you provide a link to the page with the problem, I’ll try to help you out. Version 1.0.5. *should* not break any thumbnail layouts.
This is a CSS bug that was fixed in version 1.1.0
nice plugin…for an amateur. just kidding! is there a way i could put apache on windows? also, i’m having trouble with the Java compiler for Mac. suggestions?
I am receiving the following message on my page:
YouTube contacted successfully, but no videos were returned. If you think this is a mistake, please check your configuration.
I assume that it is in the default configuration, is there documentation where I can review the inital setup?
Thanks,
Ty
Please provide the exact syntax of the tag you are using in your post. As of this version, 1.1.0, this message could mean a syntax error in the tag. In future version I’ll make the error message more descriptive.
any time I use anything other than the default settings, I receive “YouTube contacted successfully, but no videos were returned. If you think this is a mistake, please check your configuration.” Can you tell me how to work around this?
Thanks,
Ty
Sorry, I left out the tag:
[tubepress mode=”related”, relatedValue=”music”, playerLocation=”new_window”]
thanks,
Ty
Turns out that some editors will put somewhat odd characters in for double quotes, so if you’re having this kind of problem, just switch to single quotes and you should be good to go.
You have done some great work!
Would you be interested in doing some customizations to this script for me (of course i would pay you)? Please email me at the email I have provided!
Wow, the new version is out!!!
Thanks a lot Eric.
I will test it asap!!
Thanks for your efforts!
This is really a great plugin, Thank you so much.
One question : how can i display a search reasunt in youtube, like I seach “Monkey” at youtube, I got I list of Videos, how can I display this searched result.
Thanks again
Even more, if seach in you tube “music”, hoe can I display this sraeched list, even more, if I sort the searched result by posted date, how can I display the key word “music” and most recently posted result?
Thanks again.
Unfortunately this plugin is limited to the API that YouTube provides, and “searching” is not supported by the API. See http://youtube.com/dev for more information on what the API can do. For now you’ll be limited to using the “tag” or “related” modes of the plugin, which should work almost equally as well as a search string.
Would it be possible to use SQL to sort videos by their uploaded date? Let me know what you think about that… So far I’m seeing that the pages query the wp-posts database. I am not too sure if the “uploaded date” field, from the tubepress plugin, can be used in a SQL query. If so, can you please explain how?
Thanks,
The “date uploaded” field is retrieved from YouTube, and is not stored in the WP database anywhere. So no, you couldn’t sort via SQL using TubePress. Sorting ability in general is a feature request that others have expressed interest in. I’ve got that written down for a future version of TubePress, but it’s not in the works just yet.
Ityied : [tubepress mode=”related”, relatedValue=”kazakh monkey”, playerLocation=”new_window”]
But it says:
YouTube contacted successfully, but no videos were returned. If you think this is a mistake, please check your configuration.
Try using single quotes instead. See my reply to Ty Keenum’s comments above.
Hi, Eric,
Thank you very mcuh for your reply and email to me.
I tried sinle quotes, it worked great now.
Thanks again
Hi,
This looks to be a great plugin, but I have a problem.
I am using this in my blog:
[tubepress mode=’tag’, tagValue=’football’, playerLocation=’popup’]
The thumbnails display correctly, but when I click one it takes ma back to the top of the page without playing the video. The link it uses is http://mysite.com/blog/#
I am using latest Firefox and Wordpress. Any help appreciated.
Warning: fsockopen() [function.fsockopen]: unable to connect to http://www.youtube.com:80 in /home/u2/spiritbuzz/getwebdesigner.com/html/BLOG/wp-includes/class-snoopy.php on line 1150
Fatal error: Call to a member function on a non-object in /home/u2/spiritbuzz/getwebdesigner.com/html/BLOG/wp-content/plugins/tubepress/tubepress_utility.php on line 46
A little help please…
Thanks.
I noticed that my gallery was down with a similar error a couple of days ago.
It’s a massively widespread problem. Just Google the words …
“Tubepress Fatal error: Call to a member function on a non-object”
Any fix would be appreciated
See my comment in reply to Diopter on Feb 23. This is fixed as of version 1.1.5.
I use http://www.savetube.com to save any youtube videos. They also got a latest saved section.
This a great plugin and seems to work well. However on Safari, the prev/next buttons at the bottom do not work - the scroll the page up to where the video is. Also any links after the [tubepress] tag on the page do the same thing. Any ideas? I’ve been going through the source and the only problem I found was a div id for the prev/next divs were being used twice, change those to classes didn’t seem to fix it.
I’m adding this to the “known bugs” list until I come up with a fix. A temporary workaround would be to change tubepress.css to prevent the thumbnail area from scrolling (changing overflow to auto perhaps).
Need Help!
Got this error after youtube maintenance
Fatal error: Call to a member function CDATA() on a non-object in E:\www\wordpress\wp-content\plugins\tubepress\tubepress_classes.php on line 80
I noticed the same bug today and a fix is already out. Still haven’t figured out exactly what changed with YouTube but the latest version of TubePress (1.1.5) handles it just fine.
Thanks! It’s works now!
After upgrading to 1.1.5, I’m getting the following error:
YouTube contacted successfully, but no videos were returned. If you think this is a mistake, please check your configuration.
Options look okay, plugin files are unmodified, trigger tag syntax is correct, corresponding videos are still on YouTube, and these galleries worked before the CDATA() bug. What could be the problem?
Hey Eric,
I had it working fine, then suddenly nothing showed up. Not even an error. I updated to the most recent version and I still have a blank page. Strange!
http://flux-rad.com/video
I’m double checking to make sure the issue isn’t on my end …
This issue was fixed with version 1.2.0
Hey Eric,
Is there anyhow that I can insert it using a ” instead of [tubepress] under a static page?
Hmm that would be tricky. The plugin relies very heavily on the Wordpress environment, both for the options and the actual invocation of the plugin itself. It would be possible to run it outside of Wordpress but frankly would take quite a bit of reworking.
Hi Eric,
Great plugin. 2 questions:
1. When pulling videos for a user, does the plugin automatically select the latest/most recent videos? If not, is there a way to configure the plugin to do this? For example, if I want to display my 5 latest videos in the gallery.
2. I like the gallery/page functionality, but I actually happened upon Tubepress while searching for a WordPress sidebar widget to display thumbnail-links of my 3-5 most recent YouTube videos. Any thoughts whether this kind of sidebar plugin functionality could be achieved by extending Tubepress?
Thanks for your efforts.
Dan
1. I’m not actually sure in which order the videos are actually returned from YouTube. My hunch is that the videos are returned in the order in which they were actually uploaded to YouTube with the latest videos coming back first. Might be a neat feature for future versions of the plugin to be able to configure sort options. Thanks for the idea!
2. I also don’t know much about writing Wordpress widgets, but will do some investigation. Hopefully it wouldn’t be too difficult to make the plugin widget-enabled. Again, thanks for the idea.
Is it possible to insert some PHP in the sidebar that calls tubepress (tubepress_showgallery), but only displays the video thumbnails?
Right now that’s not possible, unfortunately. Might be a neat feature for future versions.
Hi
Great plugin, I’m trying to make it so that on every page, there is a different set of videos like this site http://www.nbabench.com/atlanta-hawks/
The problem is, whenever I change the tags in the options, they change the tags on every page adding and changing the video results
I can’t put quotes ” or ‘ in the option fields either
what am I doing wrong?
thanks
When you change things in the TubePress options page, you’re changing the “default” behavior of the plugin; what it will do if you just insert a plain old [tubepress] tag in your posts or if you don’t override any of those options on a per-page basis. The real power of the plugin comes from the ability to specify, within the tag, which videos you want to display on each page and how you want to display them.
You don’t want to put quotes in on the Tubepress options page; quotes are just for the tags themselves that you insert into your page content.
Hi
I’m having problems with the tags
How do I make it so that each page is a different tag like on this site
http://www.nbabench.com/cleveland-cavaliers/
As an example, on one page you could insert (as the page’s content) the following:
[tubepress mode=’tag’ tagValue=’Pittsburgh Steelers’]
Which as you might guess will display a gallery of videos with tags ‘Pittsburgh’ and ‘Steelers’. On another page you could insert
[tubepress mode=’tag’ tagValue=’Aqua Teen Hunger Force’]
and you’d get a different gallery. This is the simplest example - there are dozens of options to choose from here in terms of which videos get displayed and how they’re played. See the