Monday, May 21, 2012


Another gadget for YouTube Activity Feed, works with Opera

Few days ago I finished making my first Yahoo! Pipe, which collects info from YouTube channel feed page, and republishes that info. Yesterday I noticed, that Yahoo! Pipes badge output does not support Opera – with Opera, nothing is shown. It is strange that Yahoo does not fix this, maybe it is because Pipes is a free product. About 3 % of my blogs readers use Opera.

I knew I could make a gadget that works on Opera, too. Yesterday evening I coded first a javascript version, and today morning a little tidier jQuery version.

Installation is simple: add an HTML/Javascript gadget and put the following code in it:

You can leave out the first line, if your template already loads jQuery. Make necessary configuration changes (change YouTube user name, for example). I did only very basic CSS, you can of course modify it to your liking. Code can be used also outside Blogger (in any html page).
[Hide comments] - [Show comments]
Click on a single comment to hide/show its text


Taufik Nurrohman said... [reply]

Nice! Nice! Nice! :D
<div id="ytfeed">Loading...</div>

MS-potilas said... [reply]

@Taufik Nurrohman Thanks, that was a good suggestion, I edited the source. :)

Anonymous said... [reply]

can i show only my uploaded youtube videos ?

MS-potilas said... [reply]

Hi, yes it is possible,I did a pipe for that, too. Now in line 20 there is this pipe id:


change that to:


Anonymous said... [reply]


That's a master piece its working fine.You take a blogger platform to new level soon google will hire you ;)

Om Swami said... [reply]

Excellent work! You rock!
Is there any method of fetching the summary (description/snippet) of the video?
Thx again.

MS-potilas said... [reply]

@Om Swami Thanks :) The descriptions can be fetched, but that would make either the javascript code or the pipe quite complicated. Description can be fetched using Youtube gdata API, this article explains it quite well:

Om Swami said... [reply]

Ok, no worries. I guess I'll use it without description! :) Even if I could fetch duration of each video that would be nice. Never mind.
Also, I just sent you a message too using the contact form. Hope you'll find a moment to look into that. :)

Shaan Haider said... [reply]

Thanks for an amazing widget but unfortunately it's not working properly now.

It was not able to fetch thumbnail of all the videos, just one out of eight in my case. Also there is a comma coming before the title of each video title.

Can you please fix this? This is an awesome widget and I really would love to use it on my website.

Thanks and Cheers :)

MS-potilas said... [reply]

@Shaan Haider
Hi, and thanks for reporting the bugs. It should work now. :)

Post a Comment

Related Posts Plugin for WordPress, Blogger...
See the hack
for this dynamic
views icon: