Back to vBulletin 4.x Add-ons

[SW]Simple Flash & Silver light Players BBcode
Mod Version: 1.0.3, by SoltanWorld

vB Version: 4.x.x Rating: (2 votes - 5.00 average) Installs: 36
Released: 12 Jun 2010 Last Update: 22 Jul 2010 Downloads: 327
Not Supported Additional Files Is in Beta Stage  

Flash Player :

JW Flash Player can Play :
FLV, H.264/MPEG-4, MP3 and YouTube Videos on your website



1. Single Mp3 Player BBcode :


Title : Mp3 player
Tag Name : mp3
Replacement :
Code:
<script type='text/javascript' src='forum/swplayers/flash/swfobject.js'></script>
<div id='mediaspace'>This text will be replaced</div>
<script type='text/javascript'>
  var so = new SWFObject('forum/swplayers/flash/player.swf','mpl','300','24','9');
  so.addParam('allowfullscreen','true');
  so.addParam('allowscriptaccess','always');
  so.addParam('wmode','opaque');
  so.addVariable('file','{param}');
  so.write('mediaspace');
</script>
Example : [mp3]http://www.soltanworld.com/downloads/Music/Single/Soltane_Ghalbha.mp3[/mp3]

Button Image :

http://soltanworld.com/swplayers/flash/mp3.png


2. Flash Video Player


Title : Flash Video player
Tag Name : media
Replacement :
Code:
<script type='text/javascript' src='forum/swplayers/flash/swfobject.js'></script>
<div id='mediaspace'>This text will be replaced</div>
<script type='text/javascript'>
  var so = new SWFObject('forum/swplayers/flash/player.swf','ply','470','320','9','#000000');
  so.addParam('allowfullscreen','true');
  so.addParam('allowscriptaccess','always');
  so.addParam('wmode','opaque');
  so.addVariable('file','{param}');
  so.write('mediaspace');
</script>
Example : [media]Your Link[/media]
Button Image :

http://soltanworld.com/swplayers/flash/mp3.png

3. Flash Mp3 Player with Playlist

Title : Mp3player with playlist
Tag name : mp3p
Replacement :

Code:
<script type='text/javascript'  src='forum/swplayers/4-6/swfobject.js'></script>    <div id='mediaspace'>Install Flash Player</div>   <script type='text/javascript'>   var so = new  SWFObject('forum/swplayers/4-6/player.swf','mpl','240','400','9');    so.addParam('allowfullscreen','false');   so.addParam('allowscriptaccess','always');   so.addParam('wmode','opaque');    so.addVariable('file','{param}');    so.addVariable('playlist','bottom');   so.write('mediaspace'); </script>
Example : [mp3p]http://www.soltanworld.com/swplayers/4-6/mp3.xml[/mp3p]


Silver Light


1. Single WMV Player

Title : WMV Player

Tag name : wmv

Replacement :

Code:
<script type="text/javascript" src="forum/swplayers/silverlight/silverlight.js"></script>
<script type="text/javascript"  src="forum/swplayers/silverlight/wmvplayer.js"></script>
<div id='mediaspace'></div>
<script type='text/javascript'>
 var cnt = document.getElementById('mediaspace');
 var src = 'forum/swplayers/silverlight/wmvplayer.xaml';
 var cfg = {height:'250', width:'470', file:"{param}"};
 var ply = new jeroenwijering.Player(cnt,src,cfg);
</script>
Example : [wmv]http://www.soltanworld.com/downloads/Movie/Persian/Classic/2_Marde_Khashen_01.wmv[/wmv]

Google Mp3 Player

This player i have seen through attachment player and i use this as mp3 player which is so much better than mine

Replacement :


Code:
<embed type="application/x-shockwave-flash" src="http://yourdomain.com/swplayers/google/audio-player.swf?audioUrl={param}&amp;d={vb:raw attachment.dateline}" width="400" height="27" allowscriptaccess="never" quality="best" bgcolor="#ffffff" wmode="window" flashvars="playerMode=embedded" />


Attention : IF you have a problem first of all change the address of file to full address like :

Code:
http://sitename/forum/swplayers/flash or silverligh ....
Demo :
http://soltanworld.com/forum/local_links.php?catid=23&linkid=106
http://soltanworld.com/forum/local_links.php?catid=9&linkid=89
http://soltanworld.com


Do not Forget : Mark As Installed For Updates

Download

File Type: %1$s [SW]Simple Flash & Silver light Players BBcode.zip (161.1 KB, 415 downloads)
File Type: %1$s [SW]Google Mp3 Player.zip (68.9 KB, 181 downloads)

Supporters / CoAuthors

  • SoltanWorld

Screenshots

Click image for larger version
Name:	mp3.jpg
Views:	803
Size:	85.5 KB
ID:	118366   Click image for larger version
Name:	wmv.jpg
Views:	827
Size:	76.2 KB
ID:	118367  

Similar Mods

Simple Light vBulletin 3.6 Styles

vblts.ru supports vBulletin®, 2022-2024