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.









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:
Commented (3)
I think I installed it correctly and everything. You know that the problem might be?
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!
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. Get a Gravatar.