Content last modified Monday 6 March 2017
hop to #bottom
Categories:
Author:
Current version:
1.1
About It:
Get it:
Rate it:
  • Helpful?
  • 0 Yes
  • 0 No
Flag it:

If you'd like to provide updated information and do not have access to directly edit, please contact the site admin; thanks!

youtube_videos

This plugin shows a video from a tag given as parameter. An example could be

txp:youtube_videos tag:“hora chanante”

Now you can specify more than one word into the tag parameter. Don’t forget to use double quotes!!

Now it uses a cache system to avoid loading the same data files from youtube services. It needs to create a table into the database and you can use this syntax:

CREATE TABLE `txp_youtube_videos` (
`id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`search` VARCHAR NOT NULL ,
`id_youtube_video` VARCHAR NOT NULL ,
`time` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
) TYPE = MYISAM ;

Let me know if you find a problem or another new suggestion.

One you have downloaded the file and installed into your textpattern, you must edit the plugin for changing the data of the username and password for your database.

Article Request Count:
Keywords/tags:
Initially released:
27/06/06
Posted here:
10 Oct 2006
Article modified:
11 Dec 2006

If there is a comment form at the Information URL, you may want to leave your comments/questions there for quicker feedback. Otherwise, comment away:

Your comment will NOT be submitted until you click the 'Submit' button on the next pageload.

Commented (3)

Dorian:
hm gives me a number 500, internal server error. even with the example “football”.
I think I installed it correctly and everything. You know that the problem might be?
I´ve found some information about the error and maybe you don´t have the possibility to access an url file like in this case. You can try to switch the variable allow_url_fopen to on. If you have this variable to off, maybe it causes this error.

You can change this variable into the file php.ini of your server. If you don´t have access to this file, you can try to write something like this ini_set('allow_url_fopen', 'on'); into the php script where you call the plugin.

Let me know if that works.

Viel Glück!
Hi Dorian,

I´ve found some information about the error and maybe you don´t have the possibility to access an url file like in this case. You can try to switch the variable allow_url_fopen to on. If you have this variable to off, maybe it causes this error.

You can change this variable into the file php.ini of your server. If you don´t have access to this file, you can try to write something like this ini_set('allow_url_fopen', 'on'); into the php script where you call the plugin.

Let me know if that works.

Viel Glück!

Subscribe to this article's comments RSS feed. [ ? ]   View Recent Comments across the site.

You know you want to visit the Archives.

Browse

Categories


Articles

There are also tag clouds, 'cause those are fun.
Published with Textpattern