inTHEtube - a YouTube video search Module
What is the inTHEtube:
inTHEtube is a tiny (zipped in less then 30kb zip file) - but very colorful module to your xoops site, letting you add YouTube search and/or custum-keywords videos to your site.
Search results from youTube are presented as thumbnails in your site and also the real-size videos are presented in your site (future version will let you choose if to embed the movies in your site or lead to the video @
YouTube.
inTHEtube is great for spicing up your sites
Adding colors and movements ...
Module features:
- you can choose as much keywords as you want, each keyword with the number of videos you want it to show is defined in the admin side and presented at the user side (scroll-down menu with the the keywords).
- you can choose which keyword(s) will be the default and it's videos will be shown in the first module page.
- you can choose it to show search box or not (at the admin)
- you can choose if to show custum keywords or not (in the fron-end side).
- you can call the module with a url - means other modules can wake the inTHEtube from withing .... (details below).
- you can limit the results to your YouTube account only (see the code below, will be @ the admin in future versions).
- thumbnails are pulling the "alt" and "title" of the movie from youtube.
- Search is AJAX based with no reaload of your page.
- When making a new search, a new results line is apearing without deleting your last search.
- More to come ...
compability:
xoops version 2.0.x , 2.2.x
(tested just with 2.2.4 , but should work with all versions)
The module is ready for production, so it better serve the one that need a little spice for their site :-)
and I'll improove it later on - in future versions (hope time will let me do it soon)
Installation:
Upload to modules directory and install as usual...
Change the title of the block from gifts to whatever keyword you choose as your default keyword.
Set up other config options in the Xoops Preferences for the module...
Interaction with other modules:
You can call inTHEtube from anywhere (or any other xoops module) with a url call (like: http://www.mysite.com/modules/inthetube/index.php?keyword=<your_keyword>&num=<number_of_videos_to_show>
so it's easy to add it to xoops search or cbb search or any other module (tags , article and so on ...)
Issues/bugs:
No known bugs (yet?) ... but there are some Ajax issues with some charsets, and the module won't send the keywords to Youtube as it should ...
Versions (changelog)
version 0.9.4:
Added one important block:
Watch Youtube Videos
The block let you put the thumbnails anywhere you want in your site
from the block admin you can choose the folowing:
- How many videos to show
- Choose keyword to show
- Show only from specific Youtube account? (Yes/No)
- Write the youtube account number
- Show videos inline (Yes/No)
(If not inline, clicking the thumbnails will lead to the video in YouTube)
- Define how your inline video 'Close div' will look:
Close line background + Close line text color
In addition, a new language file for the blocks lang vars was added, this is the first step for removing all hardcoded laguage into the lang files.
In the next version all hardcoded language will turn into lang files for easy translation.
version 0.9.3:
Added first 2 blocks:
- keywords jumpbox
- keywords links list
version 0.9.2:
Added help file (admin).
Added sanitation for 2 vars
version 0.9.1:
Added titles of the movies in thumbnails.
Language has been cleaned a bit.
Added instructions of how to limit results to your youtube account (readme file)
Added instructions of how to lead results to youtube instead of opening in your site (overlay) (readme file)
version 0.9.0:
First realease.
The module code is still a bit masssy and should be cleaned.
Most of the language vars are hardcoded.
Still no blocks.
[b]Still - it's ready for production/[b], so it better serve the one that need a little spice for their site.
Expected in the next version:
- more blocks
- lang vars will be added to the lang files.
- more options will enter the admin.
Enjoy