Back to vBulletin 3.8 Add-ons

easy way to integration a perfect player to you vbulletin
Mod Version: 1.00, by c0der

vB Version: 3.8.7 Rating: (1 vote - 5.00 average) Installs: 6
Released: 04 Apr 2012 Last Update: Never Downloads: 34
Supported Additional Files Re-usable Code Translations  

hey

today i playing with my player

Jw player

its good player with all u need to show any video from any where

example player

http://www.shbab4ever.com/youtube/t795

some picture for player at attachment

before use this plz make install

this player work with all video and at phone ..

let start

from your admincp area

Custom BB Codes

Add New BB Code

and use this

Title : Video Player
BB Code Tag Name : JW

Replacement :
PHP Code:
<script type='text/javascript' src='http://www.shbab4ever.com/youtube/player/swfobject4.js'></script>
<
div id='mediaplayer'><h1>Your Browser Does Not Support Flash Player</h1><h2><a href="http://www.macromedia.com/go/getflashplayer">Click Here To Download</a></h2></div>
<
script type='text/javascript'>
//this code was edit by c0der WwW.Shbab4Ever.CoM
//Please Use It At Your Risk
  
var so = new SWFObject('http://www.shbab4ever.com/youtube/player/player4.swf','video_div','660','420','9');
  
so.addParam('allowfullscreen','true');
  
so.addParam('allowscriptaccess','always');
  
so.addParam('wmode','opaque');
  
so.addVariable('file','{param}');
  
so.addVariable('backcolor','C0C0C0');
  
so.addVariable('frontcolor','000000');
  
so.addVariable('plugins','related-1,hd-2,timeslidertooltipplugin-2,sharing-1');
  
so.addVariable('related.file','http://www.shbab4ever.com/youtube/related169.xml');
  
so.addVariable('related.onclick','link');
  
so.addVariable('stretching','fill');
  
so.addVariable('volume','100');
  
so.addVariable('logo','http://www.shbab4ever.com/youtube/player/logo.png');
  
so.addVariable('logo.position','bottom-right');
  
so.addVariable('logo.hide','false');
  
so.addVariable('logo.link','http://www.shbab4ever.com/youtube');
  
so.addVariable('enablejs','true');
  
so.write('mediaplayer');
  
//so.write('mediaspace');
</script
Example : [JW]http://www.youtube.com/watch?v=qAgpz9rtAH0[/JW]
Description : JW Player:Video Player
Use {option} : no
Button Image (Optional) : http://pjd.mscui.net/Images/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
Disable Automatic Link Parsing Within This BB Code : no

then save

now let see

how we config this player like we want

this at last we need to edit

PHP Code:
var so = new SWFObject('http://www.shbab4ever.com/youtube/player/player4.swf','video_div','660','420','9'); 
this for load player to page when js calling so u just need edit 660 and 420 for size of player

PHP Code:
so.addVariable('plugins','related-1,hd-2,timeslidertooltipplugin-2,sharing-1'); 
this is plugins for Jw player (i use related-1 for show more video and u can delete it , timeslidertooltipplugin for show time when u move mouse at line bar , sharing-1 for make link of where video share any where and hd-2 for show video at high quality

PHP Code:
so.addVariable('related.file','http://www.shbab4ever.com/youtube/related169.xml'); 
if u delete plugin related-1 u need to delete this line 2 or u can use your xml

PHP Code:
so.addVariable('related.onclick','link'); 
like i say this work only with related-1

PHP Code:
so.addVariable('volume','100'); 
the degree of sound

PHP Code:
so.addVariable('logo','http://www.shbab4ever.com/youtube/player/logo.png'); 
if u want add logo u can replace link to your logo

PHP Code:
so.addVariable('logo.position','bottom-right'); 
where the logo show

PHP Code:
so.addVariable('logo.hide','false'); 
if when video playing u can make logo hide if u replce false to true

PHP Code:
so.addVariable('logo.link','http://www.shbab4ever.com/youtube'); 
what a link when click at logo

that it

at end u can host player and js file at u site

ver of Jw player 5.8

download from attachment

and edit this 2 line

PHP Code:
<script type='text/javascript' src='http://www.shbab4ever.com/youtube/player/swfobject4.js'></script
PHP Code:
var so = new SWFObject('http://www.shbab4ever.com/youtube/player/player4.swf','video_div','660','420','9'); 
to your link of player and js file

ps : for coder u can use player any where like example

good luck guys

i missing some lines and now edit

Download

File Type: %1$s Desktop.zip (108.0 KB, 57 downloads)

Screenshots

Click image for larger version
Name:	1.JPG
Views:	140
Size:	74.5 KB
ID:	137538   Click image for larger version
Name:	2.jpg
Views:	96
Size:	58.6 KB
ID:	137539   Click image for larger version
Name:	3.jpg
Views:	143
Size:	111.5 KB
ID:	137540  

Similar Mods

New Posting Features Tigur MP3/Media Player Post Integration - Integrate MP3/FLV Player into Post vBulletin 3.6 Add-ons
Integration with vBulletin Player vs Player Gaming Network (PvPGN) Integration vBulletin 3.7 Add-ons

vblts.ru supports vBulletin®, 2022-2024