Back to vBulletin 4.x Add-ons

[ Widgets ] CMS Player - Hosted Video - JW Player
Mod Version: 1.00, by nextslit

vB Version: 4.0.x Rating: (2 votes - 5.00 average) Installs: 20
Released: 21 Mar 2010 Last Update: Never Downloads: 0
Not Supported Uses Plugins Additional Files Re-usable Code Is in Beta Stage  

Hello

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

First you need to downloadhttp://www.longtailvideo.com/players/jw-flv-player/
Flash Video Player for FLV, H.264/MPEG-4, MP3
and YouTube Videos on your website

How to install :

1- Download JW flash player
2- unzip mediaplayer.zip
3- Upload swfobject.js to your js folder
4- Upload Player.swf and yt.swf to your home root
5- Creat a folder to upload you videos ( call it video )
6- Go to admincp/vbulletin CMS / Widgets / Creat new widget
7- Widget type : static HTML / Title : Player
8- Paste :

Code:
<p id='preview'>The player will show in this paragraph</p>
<script type='text/javascript' src='js/swfobject.js'></script>
<script type='text/javascript'>
var s1 = new SWFObject('player.swf','player','400','300','9');
s1.addParam('allowfullscreen','true');
s1.addParam('allowscriptaccess','always');
s1.addParam('flashvars','file=video/video.flv');
s1.write('preview');
</script>
and save .

9 - go to Layout manager and then add your Player widget to your page .

Note : you can use this HTML code to every page ( CMS post - Thread Post - Blogs and anywher ) just remember to allow HTML code .

Note : It should work with any version of vbulletin .

Download

No files for download.

Similar Mods

Integration with vBulletin Player vs Player Gaming Network (PvPGN) Integration vBulletin 3.7 Add-ons

vblts.ru supports vBulletin®, 2022-2024