Back to vBulletin 4.x Template Modifications

JW video player
Mod Version: 1.00, by gyaronn

vB Version: 4.0.2 Rating: (6 votes - 4.83 average) Installs: 50
Released: 24 Mar 2010 Last Update: Never Downloads: 719
Not Supported Additional Files Is in Beta Stage  

this is the first time i post a mod so... i hope it is good :-)

http://www.longtailvideo.com/players/jw-flv-player/™ Overview

The http://www.longtailvideo.com/players/jw-flv-player/ is the Internet's most popular and flexible media player. It supports playback of any format the Adobe Flash Player can handle (FLV, H.264, MP4, MP3, AAC, JPG, PNG and GIF). It also supports various streaming and playlist formats (including RMTP, HTTP, live streaming and more), a wide range of flashvar settings and an extensive JavaScript API.

The XML-based skinning functionality allows you to completely customize its look and its plugin architecture allows you to easily extend the player with features such as sharing, recommendations, searching, analytics and ad serving.

Installation :
1) Download attachment
2) Unzip
3) Upload to forum root
4) Add-in Custom BBCode
5) Done

Titel : JW Player:Video Player

Tag : JW

Replacement :
PHP Code:
<script type='text/javascript' src='/video/swfobject.js'></script>
<
div id='mediaspace'>This text will be replaced</div>
<
script type='text/javascript'>
  var 
so = new SWFObject('/video/player.swf','mpl','470','320','9');
  
so.addParam('allowfullscreen','true');
  
so.addParam('allowscriptaccess','always');
  
so.addParam('wmode','opaque');
  
so.addVariable('file','{param}');
  
so.addVariable('backcolor','CCCCFF');
  
so.addVariable('frontcolor','000000');
  
so.addVariable('lightcolor','000000');
  
so.addVariable('screencolor','000000');
  
so.write('mediaspace');
</
script
Example : [JW]http://www.yourdomain.com/video/video.flv[/JW]
Description : JW Player:Video Player
Use {option}: No
Button Image (Optional) : http://icons3.iconfinder.netdna-cdn.com/data/icons/UltimateGnome/24x24/mimetypes/video-x-ms-wmv.png
Remove Tag If Empty: No
Disable BB Code Within This BB Code : No
Disable Smilies Within This BB Code : no
Disable Word Wrapping Within This BB Code : No

to use this as a widget do the next steps:
Go to admincp->vbulletin CMS->Widgets->Create new widget
Widget type : static HTML
Title : Player
after doing this press configure and add this code remember to change this line http://www.your-domain-name.com/video/video.mp4 and you can change the size of the player by changing this numbers '215','157'

PHP Code:
<script type='text/javascript' src='/video/swfobject.js'></script>
<
p id='preview'>The player will show in this paragraph</p>
<
script type='text/javascript'>
var 
so = new SWFObject('/video/player.swf','player','215','157','9');
so.addParam('allowfullscreen','true');
so.addParam('allowscriptaccess','always');
so.addParam('flashvars','file=http://www.your-domain-name.com/video/video.mp4');
so.write('preview');
</
script

Download

File Type: %1$s video.zip (304.5 KB, 1004 downloads)

Similar Mods

vBulletin CMS Widgets [ Widgets ] CMS Player - Hosted Video - JW Player vBulletin 4.x Add-ons

vblts.ru supports vBulletin®, 2022-2024