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.