Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[SW]Simple Flash & Silver light Players BBcode Details »»
[SW]Simple Flash & Silver light Players BBcode
Version: 1.0.3, by SoltanWorld SoltanWorld is offline
Developer Last Online: Oct 2013 Show Printable Version Email this Page

Category: BB Code Enhancements - Version: 4.x.x Rating:
Released: 06-11-2010 Last Update: 07-21-2010 Installs: 36
Additional Files Is in Beta Stage  
No support by the author.

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 :









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 :







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 ....


Do not Forget : Mark As Installed For Updates

Download Now

File Type: zip [SW]Simple Flash & Silver light Players BBcode.zip (161.1 KB, 413 views)
File Type: zip [SW]Google Mp3 Player.zip (68.9 KB, 179 views)

Screenshots

File Type: jpg mp3.jpg (85.5 KB, 0 views)
File Type: jpg wmv.jpg (76.2 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 06-12-2010, 09:14 AM
SoltanWorld's Avatar
SoltanWorld SoltanWorld is offline
 
Join Date: Feb 2010
Location: Loas Angeles
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Change Log :
**************************************

- 07/05/2010 : Mp3 Player with Playlist added
Reply With Quote
  #3  
Old 06-12-2010, 10:16 AM
sulasno sulasno is offline
 
Join Date: Feb 2010
Posts: 588
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

tagged & thanks

will install them after updating vBulletin to 4.0.4
Reply With Quote
  #4  
Old 06-12-2010, 08:57 PM
tafreeh tafreeh is offline
 
Join Date: May 2008
Location: Canada
Posts: 536
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can you add this into Profile ?
Reply With Quote
  #5  
Old 06-13-2010, 05:06 AM
SoltanWorld's Avatar
SoltanWorld SoltanWorld is offline
 
Join Date: Feb 2010
Location: Loas Angeles
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What do you mean by into profile? In profile Tabs Like Visitor Message you can add this yeah by editing setting and making custom bb code enabled .
Reply With Quote
  #6  
Old 06-14-2010, 06:38 AM
n_only n_only is offline
 
Join Date: Oct 2003
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is there a way to make it only for admin group only?
Reply With Quote
  #7  
Old 06-14-2010, 09:04 AM
SoltanWorld's Avatar
SoltanWorld SoltanWorld is offline
 
Join Date: Feb 2010
Location: Loas Angeles
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

no idea abt this, but you should check permissions.
Reply With Quote
  #8  
Old 06-14-2010, 08:15 PM
sadiq6210 sadiq6210 is offline
 
Join Date: Sep 2005
Posts: 684
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks =)
Reply With Quote
  #9  
Old 06-15-2010, 09:18 AM
funmasti's Avatar
funmasti funmasti is offline
 
Join Date: Aug 2009
Location: World Wide Web
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any live demo?
Reply With Quote
  #10  
Old 06-15-2010, 02:00 PM
Dr.osamA's Avatar
Dr.osamA Dr.osamA is offline
 
Join Date: Aug 2004
Location: Syrie
Posts: 979
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent = 5 sratrs +installed

thanx
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:47 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.11646 seconds
  • Memory Usage 2,327KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (6)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (4)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete