The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Java player used in custom BBcode??
Hay guys does anybody know of a way to use incorporate a java player in the custom Bbcodes?
So if my guys want to add in music on there build thread all they need to do is click the button for the code in one of there posts, and it will stick it on that page? Here is the code I have so far. It works in a standard html page. But when I drop it in BBcode I get a black box of the correct size and I click it it will give me the info on java player 10.6.5 or what ever. Link to test html that works. http://mightyram50.net/jwplayer/start.html If you go there you will see and here it. Link to see black box. http://www.mightyram50.net/vbulletin...=9430#post9430 All I get after using the code in the BBcode is a black box the correct size. Any Ideas??????? Or am I heading into uncharted water on this one. Where is the custom BBcodes held after being submitted? Is there a file they go to. Or the DB, If so I might need to upload the scripts to it. Code:
<title>test music</title> <head> <script type="text/JavaScript"> <!-- function timedRefresh(timeoutPeriod) { setTimeout("location.reload(true);",timeoutPeriod); } // --> </script> <script src="http://mysite.com/jwplayer/swfobject1.js"></script> <script type="text/javascript"> var flashvars = { 'file': 'http://www.mysite.com:8000/;stream.nsv', 'title': 'My Stream', 'type': 'sound', 'duration': '28800', 'frontcolor': '000000', // text & icons (green) 'backcolor': 'ffffff', // playlist background (blue) 'lightcolor': '000000', // selected text/track highlight (red) 'screencolor': '161410', // screen background (black) 'id': 'playerID', 'autostart': 'true' }; var params = { 'allowfullscreen': 'false', 'allowscriptaccess': 'always', 'bgcolor': '#161410' }; var attributes = { 'id': 'playerID', 'name': 'playerID' }; swfobject.embedSWF('player.swf', 'player', '300', '20', '9.0.124', false, flashvars, params, attributes); </script> </head> <body><br /> <div id="playercontainer" class="playercontainer"><a rel="nofollow" id="player" class="player" title="Get Adobe Flash" href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" target="_blank"><b>Get Adobe Flash</b></a></div> </body> </html> |
#2
|
|||
|
|||
Oh ya if you fallow the link above to see the black box, you can see it with IE but not Fire Fox
|
#3
|
|||
|
|||
I got it working. I will relese soon. Now you can have streaming radio to your your VB
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|