PDA

View Full Version : Vba Dynamics - Hosted Video Player - JW Player - Black style



theproit
05-27-2010, 05:39 PM
Hello

I’m going to show you how to do a simple mod that you can use JW Player on your Vba Dynamics. This will allow you to have your own hosted player.


here is my MOD on vbulletin

Orginal Mod for vbulletin users :

http://www.vbulletin.org/forum/showthread.php?t=238755



Screens :

http://www.vbadvanced.com/forum/attachment.php?attachmentid=5857&stc=1&d=1274992440

http://www.vbadvanced.com/forum/attachment.php?attachmentid=5858&stc=1&d=1274992440

http://www.vbadvanced.com/forum/attachment.php?attachmentid=5859&stc=1&d=1274992440

http://www.vbadvanced.com/forum/attachment.php?attachmentid=5860&stc=1&d=1274992445


How to install :

1- Download JW Player From here : ( with a nice black theme )

http://www.logect.com/downloads/development-50/jw-player-black-skin-42/

2- Upload JW-Player to public_html

3- Go to vBa Dynamics/add module/template
Create new template
Title : JW Player
Template to Include: adv_dyna_player
Template Content :


<script type='text/javascript' src='/JW-Player/swfobject.js'></script>

<div id='mediaspace'>LOGECT Player</div>

<script type='text/javascript'>
var so = new SWFObject('/JW-Player/player.swf','mpl','400','260','9');
so.addParam('allowfullscreen','true');
so.addParam('allowscriptaccess','always');
so.addParam('wmode','opaque');
so.addVariable('file','http://www.yoursite.com/video.flv');
so.addVariable('image','http://www.yoursite.com/picture.jpg');
so.addVariable('frontcolor','ffffff');
so.addVariable('lightcolor','cc9900');
so.addVariable('screencolor','ffffff');
so.addVariable('skin','http://www.yoursite.com/JW-Player/beelden.zip');
so.write('mediaspace');
</script>

Red: change with your address/Size

4- save !

5- Go to vBa Dynamics/Edit Module Layouts

Add the Player to your Page.

Done.

Note : You can use this Code to any Allowed HTML Page

Vbulletin, VbaDynamics, VbaLink or etc ...


All the best
LOGECT™ (http://www.logect.com)

theproit
05-27-2010, 05:49 PM
reserved.