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
  #22  
Old 07-21-2010, 11:05 AM
bferrell bferrell is offline
 
Join Date: Nov 2007
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'd removed the BBcodes when the didn't work, and now when I try to add them back I get a "The connection to the server was reset while the page was loading." error?? I'm kind of freaked out, any thoughts and might cause this? I don't have this happen anywhere else in my admin cp...
Reply With Quote
  #23  
Old 07-22-2010, 04:09 AM
SoltanWorld's Avatar
SoltanWorld SoltanWorld is offline
 
Join Date: Feb 2010
Location: Loas Angeles
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm wonder what you have done, this mod is just a simple BBcode which doesnt hurt your forum or sth else, i believe that you have done sth wrong coze This kind of errors are not related to the Mod and it's server or hosting issue.

One more thing : If you have the same Video every where you go there are 2 thing that you maybe have done

1. You maybe have change the code where it render the file address
2. your file link has been cached which mean You have to clear your cache I have the same problem in Vba, but in Vbulletin no.

And dear friend as you can see other people are using this with out any problem as they follow the Installation. So read it and just let me know when you add the files and the BB codes does the player shown up? can you link me to see ?
Reply With Quote
  #24  
Old 07-22-2010, 07:50 AM
manutdvn manutdvn is offline
 
Join Date: Jul 2005
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I can make it work. It just shows the text line: This text will be replaced

Nothing happens .

Can you tell me how to fix?
Reply With Quote
  #25  
Old 07-22-2010, 08:09 AM
SoltanWorld's Avatar
SoltanWorld SoltanWorld is offline
 
Join Date: Feb 2010
Location: Loas Angeles
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Check the links, and other options and aslo This wil be shown when your player file has sth wrong with it.

make sure that in script you have enter the correct address :

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>
to make it sure that your address work you can use as full URL like :

http://yourdomain.com/forum/swplayers/flash/player.swf

and one more thing , for mp3 players i will update this mod to google player which in more faster and no error whitin it will you have.
Reply With Quote
  #26  
Old 07-22-2010, 08:27 AM
SoltanWorld's Avatar
SoltanWorld SoltanWorld is offline
 
Join Date: Feb 2010
Location: Loas Angeles
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Google mp3 Player added.
Reply With Quote
  #27  
Old 07-22-2010, 10:12 AM
manutdvn manutdvn is offline
 
Join Date: Jul 2005
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SoltanWorld View Post
Check the links, and other options and aslo This wil be shown when your player file has sth wrong with it.

make sure that in script you have enter the correct address :

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>
to make it sure that your address work you can use as full URL like :

http://yourdomain.com/forum/swplayers/flash/player.swf

and one more thing , for mp3 players i will update this mod to google player which in more faster and no error whitin it will you have.
Of course, I checked the path link but the same as before. I tried with link:

http://mydomain.net/diendan/swplayers/flash/player.swf

It worked.
Reply With Quote
  #28  
Old 07-22-2010, 10:56 AM
bferrell bferrell is offline
 
Join Date: Nov 2007
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't know why it's happening, nor do I claim it makes any sense, but it seems related to this bbcode because when I paste your replacement into my 'Test your BB Code' box I get the "The connection was reset" error. When I test other replacements like the one below, they test fine.

If I could get the bbcode reinstalled I would send you a test link, but right now I can't get it to even store the entries. I uninstalled some other mods I wasn't really using to see if they were causing an issue. I have your files in my cms 4.0.4 root (/www/www/swplayers). I tried deactivating all of my plugins, and I'm going to upgrade to 4.0.5 next to see if that helps.

Brett
www.velocityxl.com
JS
SWF



<object type="application/x-shockwave-flash" data="/misc/audio-player/player.swf" id="audioplayer" height="24" width="290">
<param name="movie" value="/misc/audio-player/player.swf">
<param name="FlashVars" value="playerID=audioplayer&amp;soundFile={param}" >
<param name="quality" value="high">
<param name="menu" value="false">
<param name="wmode" value="transparent">
</object>
Reply With Quote
  #29  
Old 07-22-2010, 09:11 PM
kkingg's Avatar
kkingg kkingg is offline
 
Join Date: Feb 2009
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks but, it doesnt open facebook video on the internet explorer,


firefox and chrome is not problem working

example: http://www.myformtr.com/macera-aksiy...le-2010-a.html
Reply With Quote
  #30  
Old 09-19-2010, 05:20 AM
SoltanWorld's Avatar
SoltanWorld SoltanWorld is offline
 
Join Date: Feb 2010
Location: Loas Angeles
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I couldn't find the reason for it's problem with IE but i think it's IE bugs.
Reply With Quote
  #31  
Old 12-02-2010, 01:10 PM
marshal_ramdev marshal_ramdev is offline
 
Join Date: Mar 2009
Location: Ludhiana
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks ..
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 11:15 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.14350 seconds
  • Memory Usage 2,352KB
  • Queries Executed 27 (?)
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
  • (8)bbcode_code
  • (1)bbcode_quote
  • (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
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (4)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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