Following on from a topic within the 4images site on how to add Google and Youtube videos to the 4images gallery script. I wondered just how to add other video sites to this. This is an addon to that and allows you to add videos from the
Disclose.tv website.
The original topic on 4images is
here for you all to read.
This modification can be installed either with or without
Integrate Google and YouTube VIDEOFiles to modify
template/details.html
includes/db_field_definitions.php
lang/your_language/main.php
Step 1.Upload disclose_install.php (Attached to this post) to your web site, and run it. http://yoursite/disclose_install.php once the script has finished DELETE THE FILE.
Step 2.Open db_field_definitions.php
Find ?>
Add before
1 $additional_image_fields['disclosetv_id'] = array($lang['disclosetv_video'], "text", 0);
(If you have Integrate Google and YouTube VIDEO add below that modification)
Step 3.Open details.html
After {image} add
1 {if disclosetv_id}
2 <object width="450" height="370"><embed src="http://disclose.tv/embedPlayer.php?vid=4e2a6330465c8ffcaa696a5a1" FlashVars="config=http://disclose.tv/videoConfigXmlCode.php?pg=video_{disclosetv_id}_no_0_extsite" quality="high" bgcolor="#000000" width="450" height="370" name="flvplayer" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" allowFullScreen="true" /></object>
3 {endif disclosetv_id}
Step 4.Open lang/your_language/main.php
Find ?>
add before
1 $lang ['disclosetv_video']="Disclose.tv ID";