Categories:
Author:
Current version:
0.8
About It:
Get it:
Rate it:
Flag it:
the_video
Easy way to embed videos in textpattern posts. Supports video embeding for the following sites: Google Video, YouTube, Break, Dailymotion, Metacafe, Vimeo, Collegehumor, Yahoo! Video, iFilm and MySpaceTV, and also local .swf files.
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.
- Tag:
- <txp:the_video />
Keywords/tags:
article,
audio,
break,
collagehumor,
dailymotion,
embed,
examples,
google,
ifilm,
media,
metacafe,
movie,
myspace,
video,
w3,
w3c,
yahoo,
youtube
Initially released:
14 Feb 2007Posted here:
14 Feb 2007Article modified:
22 Dec 2007









You may want to leave your comments/questions at the Forum thread for quicker feedback. Otherwise, comment away:
Commented (20)
It does not work. Any configuration that avoids the display?
Torsten:
What is it that does not work?
How does your txp tag look like?
What “from” value do you use?
Where do you put the the_video tag?
Please specify the issues as detailed as possible. Thank you in advance.
I’m sorry, it was my fault… Please download again and tell me if there are any problems with the plugin.
Pls apologize the missing details. Now it works. Great plug-in! See it here
Lovely!
Thanks for this great Plugin. Do you think it´s possible to include some Tags for Metacafe? The Metacafe Links can include a “showStats”, “blogName” and “blogURL” which are usefull to Link your Blog with the Video.
This would be great. If not, no Problem. I will use it anyway because it´s so easy ;-)
Does it support custom fields for the ID?
Could you add support for videos from Vimeo and Collegehumor?
Since the video hosts have different attributes I’ve decided not to take these specifics with in the code. Maybe in a later release.
I have added some new video hosts though! Have fun!
What parameters should be set if a file is local? The help file does not say where the file should reside nor what should be placed in the tag…??
Hi Jonathan,
Sorry for my late respons.
Just upload the .swf in the files tab, and use the ID for the uploaded file in the the_video plugin. If local .swf is used the width and height must be set.
Hi,
Using your extension of the shell would not give a valid page in W3C validator.
It’s seems that having CDATA tags helps:
Juste replace the last ligne before the return by
$output = ‘<script type=“text/javascript”>
//<![CDATA[
document.write(\’‘.$video.’\’);
//]]>
</script>’;
The Magnus – this looks cool! I was about to write something similar for my plugin, but this should work well.
The plugin is now updated with the example from Zeta.
Thank you all for your feedback!
Thanks for the update Magnus. Great plugin! Can you add a forum thread for the plugin?
Jonathan: Forum thread is added!
It makes the feed to a invalid xml. Feedburner.com says
Hi again, would you be able to add Flickr support, now that they offer videos?
Is there a reason I get the error ‘Badly formed or empty plugin code.’ on v 4.2.0 of txp when I try and install the plugin?
same problem here. 0.7 worked fine, now it seems to be broken somehow. can’t install it.
Subscribe to this article's comments RSS feed. [ ? ] View Recent Comments across the site.
Would you care to write a comment or visit the forum discussion?