Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-12-22 11:59:24

TheM
New Member
Registered: 2006-12-29
Posts: 3

[plugin] [ORPHAN] the_video - Easy video embeding

the_video is an easy way to embed videos in textpattern posts. Supports video embeding for the following sites:

Thanks to that I’ve added the output in a JavaScript, the embeded code validates the W3 standards since the <embed> tag does not validates.

Download from here

Thanks to Zeta for giving me the help with making the code validate for W3C standards.

Last edited by TheM (2007-12-22 12:27:48)

Offline

#2 2007-12-22 12:17:06

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: [plugin] [ORPHAN] the_video - Easy video embeding

TheM, you forgot to mention that the plugin (wonderful, BTW) also supports local .swf files…

Offline

#3 2007-12-22 12:30:23

TheM
New Member
Registered: 2006-12-29
Posts: 3

Re: [plugin] [ORPHAN] the_video - Easy video embeding

That is so true. Thank you for your reminder jstubbs!

Offline

#4 2007-12-22 16:18:03

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,093
Website GitHub Mastodon Twitter

Re: [plugin] [ORPHAN] the_video - Easy video embeding

theM thanks for posting your plugin here. I started using it as soon as i discovered it a few weeks ago. A real space saver!


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#5 2007-12-24 23:01:58

darock
Member
Registered: 2007-11-23
Posts: 54

Re: [plugin] [ORPHAN] the_video - Easy video embeding

does this allow for embedding of our own quicktime, flash, or mpeg?

Offline

#6 2007-12-25 09:22:42

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,093
Website GitHub Mastodon Twitter

Re: [plugin] [ORPHAN] the_video - Easy video embeding

it allows for swf embedding but not for quicktime


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#7 2007-12-26 14:41:52

candyman
Member
From: Italy
Registered: 2006-08-08
Posts: 684

Re: [plugin] [ORPHAN] the_video - Easy video embeding

Any possibility to add a custom field in which you colud write the id?
I mean: put in the custom filed (beside the article) the number of the video and see it. No video in the article if the field is lenf blank, of course.

Offline

#8 2007-12-26 16:16:24

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: [plugin] [ORPHAN] the_video - Easy video embeding

Great plugin, thank you! Would it be hard to also include flv files? Right now I’m using bas_flvplayer for that, but it would be wonderful if everything could be done with only one plugin. I know it is different because you’d also need the flvplayer, so maybe I’m asking too much. I tried converting my flv files to swf, but then the controls are lost and when the video is over you end up with a black square…

Offline

#9 2007-12-26 17:35:56

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,093
Website GitHub Mastodon Twitter

Re: [plugin] [ORPHAN] the_video - Easy video embeding

candyman wrote:

Any possibility to add a custom field in which you colud write the id?
I mean: put in the custom filed (beside the article) the number of the video and see it. No video in the article if the field is lenf blank, of course.

You could probably do this anyway with if_custom_field and asy_wondertag

ie for google video you could have something like…

<txp:if_custom_field name="googlevideo"><txp:asy_wondertag><txp:the_video from="g" id="<txp:custom_field name="googlevideo">" /></txp:asy_wondertag></txp:if_custom_field>


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#10 2008-01-13 21:15:17

grafzahl
Member
From: Magdeburg
Registered: 2006-07-28
Posts: 67
Website

Re: [plugin] [ORPHAN] the_video - Easy video embeding

The Problem is that the Feed gets invalid while the plugin is used inside an article.

Is there a walktrough or something to disable the output for feeds?

Offline

#11 2008-10-16 22:14:06

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: [plugin] [ORPHAN] the_video - Easy video embeding

TheM, will you be able to include support for Flickr, now that they have videos in addition to photos?

Offline

#12 2008-11-28 01:53:49

the1design.cn
New Member
From: CHINA
Registered: 2008-11-28
Posts: 5
Website

Re: [plugin] [ORPHAN] the_video - Easy video embeding

Good work!
Thanks!

by the way:
I am a designer form china, here is a Video share websites is [ tudou.com], same as Youtube, so i try add it share codes join your plugins the_video
eg:

add this code:
______________________________

}else if($from == “t”){ // TUDOU.com $w = ($w)? $w: ‘425’; $h = ($h)? $h: ‘350’; $video = ‘<object width=”’.$w.’” height=”’.$h.’”><param name=“movie” value=“http://www.tudou.com/v/’.$id.’”><\/param><param name=“wmode” value=“transparent”><\/param><embed src=“http://www.tudou.com/v/’.$id.’” type=“application/x-shockwave-flash” wmode=“transparent” width=”’.$w.’” height=”’.$h.’”><\/embed><\/object>’;
________________________________________________________________________

and in articles place as this code:

<txp:the_video from=“t” id=“The Movie ID” />

it looks like work good.

anway,thanks your work!

sample ues it views

Offline

Board footer

Powered by FluxBB