PDA

View Full Version : Youtube Video



michael_s
04-23-2009, 04:52 AM
Installation:


1. upload youtube.php to /catalog/includes/boxes/ via ftp
1b)upload utube.html to /catalog/ via ftp (ROOT)


3. Edit /catalog/includes/languages/english.php and add the following:

//Random Video Youtube Box v2.0
define('BOX_HEADING_YOUTUBELOGO','Video');

4. Edit /catalog/includes/column_right.php or column_left.php depending on which side you want the logos to reside.


//Random Video Youtube Box v2.0
include(DIR_WS_BOXES . 'youtube.php');

---------------------------------------------------------------------
OPTIONAL:

Edit /catalog/includes/languages/german.php and add the following:

//Random Video Youtube Box v2.0
define('BOX_HEADING_YOUTUBELOGO','Video');
---------------------------------------------------------------------

Change Video (Youtube Embed Javascript)
Edit /catalog/utube.html
add youtube links
Sample:
you want to insert this video
http://www.youtube.com/watch?v=m2RssWzI8G0

then you need this part m2RssWzI8G0 add here banners[0] = 'm2RssWzI8G0';

the size you need to change the very bottom
document.write('