The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
[SW]Simple Flash & Silver light Players BBcode Details »» | |||||||||||||||||||||||||||||||||||
[SW]Simple Flash & Silver light Players BBcode
Developer Last Online: Oct 2013
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> Button Image : 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> Button Image : 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> 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> 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}&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 .... Do not Forget : Mark As Installed For Updates Download Now
Screenshots
Supporters / CoAuthors Show Your Support
|
Comments |
#12
|
||||
|
||||
This can create a security issue... the flash file being linked to could execute code to read the users cookies and gain their log on info to your site.
|
#13
|
||||
|
||||
Uh oh...security issue?
|
#14
|
||||
|
||||
not with the code here but in the flash file itself.
|
#15
|
||||
|
||||
Live Demo Link has been added
Quote:
|
#16
|
||||
|
||||
Mp3 Player with Playlist Added.
Enjoy |
#17
|
|||
|
|||
For some reason, no matter what url I enter, I get the same video (from the target directory on my website) playing?! Please, any advice?
|
#18
|
||||
|
||||
I think you have not place the {param} in link tag, it should be like this in BB code
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> |
#19
|
|||
|
|||
Nope, that's in there (I just copied and pasted it)... weird.
|
#20
|
|||
|
|||
Fixed and working
|
#21
|
||||
|
||||
Dear Beferrel would you please link me to see ?
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|