Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#16 2006-10-04 21:10:51

akokskis
Plugin Author
From: Baltimore-ish, USofA
Registered: 2004-11-28
Posts: 230
Website

Re: [plugin] [ORPHAN] ako_youtube

Whoops. Sorry about that one.
Updated the plugin file so all should be well. Same download link as before.

Good catch Prax.


My Photoblog, and my personal site. Got nav? ako_nav.
Thanks for taking the time to look…

— vc3 —

Offline

#17 2006-10-05 01:26:46

oldcodger
New Member
Registered: 2006-08-29
Posts: 7

Re: [plugin] [ORPHAN] ako_youtube

akokskis wrote:

h2. ako_youtube
Easily embed YouTube videos into your TXP site.

Well, here’s another quick and easy one from me, myself and I. It does pretty much what it states – embeds a YouTube video based on the attributes. Those attributes are:

  • v – The YouTube video ID (in the url, after either “v=” or “/v/”).
  • height – The height of the embeded video. Defaults to 425px.
  • width – The width of the embeded video. Defaults to 350px.
  • vmode – The vmode attribute in the embeded code. This defaults to transparent.
  • xhtml – Either 0 or 1, 1 produces XHTML valid output (as per suggestion by cbeyls). By default, it produces XHTML invalid code (that is, just the plain old code that YouTube gives out.
  • urlonly – This attribute, if set to 1, will only output the URL of the page with the video on YouTube, and nothing more.
  • link – This attribute, if set to 1, will allow you to use this as a wrapping tag, creating a link with to the YouTube page, with the text that you’ve wrapped with this plugin.
  • linkclass – This attribute will add a class to the link made if you’re using the “link” attribute.

Download v.2.1
(no help file yet)

Enjoy.

Fantastic!

I will have alot of fun with this..and so will my teenage daughter!

Thank you.

Offline

#18 2006-11-06 20:59:57

silent7
Member
From: Los Angeles, CA
Registered: 2005-03-25
Posts: 17
Website

Re: [plugin] [ORPHAN] ako_youtube

I am trying to you this plugin which works great.

You Tube Plugin

but i was just wondering if there was any way to play from a youtube group? Has anyone had any luck with this?

Offline

#19 2006-12-09 23:37:37

amordecosmos
Plugin Author
From: London (Hometown: Vancouver)
Registered: 2004-08-03
Posts: 121
Website

Re: [plugin] [ORPHAN] ako_youtube

I’m having fun with this plug-in but I would like my contributers to suggest YouTubes themselves.

Does anyone know a way to use the contents of a Custom Field as the V attribute?

(Yep, already tried <txp:custom_field name=“id” /> and “rei_custom_field” )

- AdC

Offline

#20 2006-12-09 23:51:36

wet
Developer Emeritus
From: Vöcklabruck, Austria
Registered: 2005-06-06
Posts: 3,421
Website GitHub Mastodon

Re: [plugin] [ORPHAN] ako_youtube

asy_wondertag can do that.

Offline

#21 2006-12-10 01:09:14

amordecosmos
Plugin Author
From: London (Hometown: Vancouver)
Registered: 2004-08-03
Posts: 121
Website

Re: [plugin] [ORPHAN] ako_youtube

Works perfectly. Thank you. (And thank you, Asy)

Offline

#22 2007-01-31 05:58:31

pastafiend
New Member
Registered: 2007-01-26
Posts: 7

Re: [plugin] [ORPHAN] ako_youtube

Hi, I’m sure I missed something fully obvious…. well, after installing this plugin and following its very easy unstructions, I tried a test video, but instead of seeing the video, I just got a big white box in it’s place. http://www.agent-gamer.com/15/the-cat-came-back

Did I do something obviously wrong that you can fix right here and now or would you need more information? Any help appreciated!

Offline

#23 2007-01-31 06:09:45

akokskis
Plugin Author
From: Baltimore-ish, USofA
Registered: 2004-11-28
Posts: 230
Website

Re: [plugin] [ORPHAN] ako_youtube

Can you post here the code that you’re using to call the plugin?
Based on that site, I think I see what the error is, but I just want to check.
Cheers,
/ako


My Photoblog, and my personal site. Got nav? ako_nav.
Thanks for taking the time to look…

— vc3 —

Offline

#24 2007-01-31 06:14:17

pastafiend
New Member
Registered: 2007-01-26
Posts: 7

Re: [plugin] [ORPHAN] ako_youtube

“<code><txp:ako_youtube v=“8Df4ANDb0TE” /></code>

If you are seeing this classic cartoon short, then the plugin is working correctly.”

Offline

#25 2007-01-31 06:21:40

akokskis
Plugin Author
From: Baltimore-ish, USofA
Registered: 2004-11-28
Posts: 230
Website

Re: [plugin] [ORPHAN] ako_youtube

And you’re using the latest version?

Try enclosing the ako_youtube plugin call with <notextile><txp:ako_textile ... /></notextile>.

The problem, it seems, is that textile is catching the quotations and making them into “smary quotes”, and well, that just won’t do.

Last edited by akokskis (2007-01-31 06:23:04)


My Photoblog, and my personal site. Got nav? ako_nav.
Thanks for taking the time to look…

— vc3 —

Offline

#26 2007-01-31 06:32:18

pastafiend
New Member
Registered: 2007-01-26
Posts: 7

Re: [plugin] [ORPHAN] ako_youtube

Hmm, didn’t seem to work. I’m using v.2.1, thats the newest correct? Aside from setting the plugin to “Active” is there anything I’m supposed to do after the install? Sorry, I just started using textpattern a few days ago.

Offline

#27 2007-01-31 06:39:44

akokskis
Plugin Author
From: Baltimore-ish, USofA
Registered: 2004-11-28
Posts: 230
Website

Re: [plugin] [ORPHAN] ako_youtube

Could you try just turning textile off for me?

I see one place in the code where such an error might occur, but it isn’t in this use case. So I beleive that it’s something to do with your install.


My Photoblog, and my personal site. Got nav? ako_nav.
Thanks for taking the time to look…

— vc3 —

Offline

#28 2007-01-31 06:44:14

pastafiend
New Member
Registered: 2007-01-26
Posts: 7

Re: [plugin] [ORPHAN] ako_youtube

Alright, its turned off in the admin tab and the specific article.

Offline

#29 2007-01-31 06:52:52

pastafiend
New Member
Registered: 2007-01-26
Posts: 7

Re: [plugin] [ORPHAN] ako_youtube

Alright, I feel like a fool. I needed to remove the quotes around the V field, once I did that it worked fine. Thanks for your help, I really appreciate your patience and the great plugin.

Offline

#30 2007-01-31 16:35:16

akokskis
Plugin Author
From: Baltimore-ish, USofA
Registered: 2004-11-28
Posts: 230
Website

Re: [plugin] [ORPHAN] ako_youtube

Sure thing. Glad to help.


My Photoblog, and my personal site. Got nav? ako_nav.
Thanks for taking the time to look…

— vc3 —

Offline

Board footer

Powered by FluxBB