Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
[ORPHAN] arc_recent_youtube
NOTE: Plugin isn’t working any longer due to API changes from Youtube. Please adopt!
ORIGINAL POST:
Retrieve recent videos from the popular Youtube website and embed them into your website.
Main features:-
- show a Youtube user’s recent uploads or favourites, etc.
- outputs valid XHTML mark-up
- customise the look of the player, choosing colours, dimensions and border
- choose player’s language (default: English)
- link to the Youtube video pages
arc_recent_youtube uses SimplePie, the files for which are included in the download.
Full details on the plugin’s information page.
Last edited by uli (2015-05-15 16:11:35)
Offline
Re: [ORPHAN] arc_recent_youtube
has anyone been using this plugin? simplepie never fails to give me a headache. simplepie is in the lib folder, and it also even made its own cache folder called simplepie_cache. now visit the page where it’s supposed to get called and:
Fatal error: require_once() [function.require]: Failed opening required ‘/editedPath/public_html/textpattern/lib/simplepie.inc’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /editedPath/public_html/textpattern/lib/txplib_misc.php(594) : eval()’d code on line 37
Offline
Re: [ORPHAN] arc_recent_youtube
How does this plugin display all the recent videos?
Admin Themes Prometheus | Stung | <txp:coder/
My Portfolio | ɹǝpuɐz.com | @MrMartineau
<txp:coder /> – Convert your designs into Textpattern-based websites
jQuery Style | @jquerystyle
Offline
Re: [ORPHAN] arc_recent_youtube
rathersplendid wrote:
How does this plugin display all the recent videos?
Ages since I last looked at this plugin, but as far as I remember the videos are output separated in the standard Textpattern way by defining the break tag using the break attribute. By default it separates videos using a new line (<br />). Does this answer your question?
Offline
Re: [ORPHAN] arc_recent_youtube
Is it possible to display them horizontally?
- presumably it should be easy to modify the code a little to achieve this, but I’ve no idea how to do that.
Offline
Offline
Re: [ORPHAN] arc_recent_youtube
Thanks. I don’t know.
I thought that might be css – googled it and apparently its not.
Then noticed break in the code
Tried these:
break="0"
break =
break = ""
deleting the entire line
- none of them worked. I’m assuming if you remove the break the video players will flow horizontally.
Offline
Re: [ORPHAN] arc_recent_youtube
……not sure that’s clear. So far as I can see the relevant code to edit is this:
'simplepie' => $txpcfg['txpath'].'/lib/simplepie.inc',
'vlabel' => '1',
'vlabeltag' => 'h4',
'break' => 'br',
'wraptag' => '',
'class' => __FUNCTION__
),$atts));
etc
And possibly this:
return doLabel($label, $labeltag).doWrap($out, $wraptag, $break, $class);
Offline
Re: [ORPHAN] arc_recent_youtube
OK now I’m getting somewhere. For some reason I had to disable vlabel:
'vlabel' => '0',
Offline
#10 2015-03-25 16:18:43
- uli
- Moderator

- From: Cologne
- Registered: 2006-08-15
- Posts: 4,316
Re: [ORPHAN] arc_recent_youtube
I guess Oleg/etc meant adding break="" as an attribute to your arc_recent_youtube tag.
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
Re: [ORPHAN] arc_recent_youtube
Thanks. I don’t understand that, however. The tag is this –
<txp:arc_recent_youtube user=“bbc” />
So would it simply be this?
<txp:arc_recent_youtube user=“bbc” break=""/>
- I’ll try that. However, I’ve got other problems and can’t do anything at the moment
Last edited by jameslomax (2015-03-25 19:04:48)
Offline
Re: [ORPHAN] arc_recent_youtube
Watch your smart quotes, James–
<txp:arc_recent_youtube user=“bbc” />
…should be:
<txp:arc_recent_youtube user="bbc" />
I’m not sure what effect it would have to use whizzy quotes, but Bad Stuff might happen. Brrr.
Offline
#13 2015-05-08 19:05:29
- mFrance
- New Member
- Registered: 2014-08-01
- Posts: 6
Re: [ORPHAN] arc_recent_youtube
Good day dear author!
Dou you know that Youtube has changed the API?
The plugin now does not work…
Offline
Re: [ORPHAN] arc_recent_youtube
mFrance wrote #290582:
Good day dear author!
Dou you know that Youtube has changed the API?
The plugin now does not work…
In all honesty I’d completely forgotten about the existence of this plugin. I discovered earlier today that Youtube have deprecated their RSS feeds (it caused an issue with a client’s site unrelated to Textpattern).
I don’t really have the time or motivation to fix this plugin; it would involve some pretty major changes and it’s not a plugin I have any use for personally. If someone would like to pick it up and develop it feel free.
arc_youtube should still work and is a plugin I am happy to continue supporting.
Offline
Re: [ORPHAN] arc_recent_youtube
Hmm that’s a shame.
It was working nicely at my site – finally – so I’ll miss it.
Only just worked out why it was broken.
Offline
Pages: 1