vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Embedded media player in post (https://vborg.vbsupport.ru/showthread.php?t=72162)

Moya 03-25-2005 06:48 PM

Quote:

Originally Posted by TundraSoul
Thanks, I can download the mp3 attachment and it plays fine in my local player. It just doesn't play inline. I click the play button and nothing happens.


Do you have an example?

TundraSoul 03-25-2005 07:21 PM

<i>I fixed it! </i>I recopied all the ohject code into the bbcode record, saved it, and it worked. Good job!

Rickie3 04-14-2005 05:14 AM

hi i'm a little confused as to where this goes

Now, in your newattachmentbit template add this to the bottom and change the URL to your own.
Code:

<div style="padding:$stylevar[formspacer]px">
<table class="fieldset" cellpadding="0" cellspacing="1" border="0" width="100%">
<tr>
You may optionally add the following line by copying and
pasting it into the body of the post. This will allow it to be played in an embedded
media player inside the post.
</tr>
<br />
<tr>
<b>[MP3]http://www.yoursite.com/vb/attachment.php?attachmentid=$attach[attachmentid].mp3[/MP3]</b>
</tr>
</table>

does this go into new attachment php???? i can get the WMP to show up ok on my board but i cant get the songs to play,mp3 files are uploading ok as well,,i just dont know where to put the above file please help

ericgtr 04-14-2005 12:38 PM

No, that section goes into the newattachmentbit template only, just scroll to the bottom of the template and paste it in. Then be sure to change the url to match your site, where your vb directory is:
[MP3]http://www.yoursite.com/vbdirectory/attachment.php?attachmentid=$attach[attachmentid].mp3[/MP3]

Rickie3 04-15-2005 03:50 AM

where do i find the newattachmentbit template?????or do i paste it all below this code

<object classid="clsid:6BF52A52-394A-11d3-B153-00C04F79FAA6" id="Player" width="400" height="200"
codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,0,0" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject">

<param name="URL" value="{param}">
<param name="rate" value="1">
<param name="balance" value="0">
<param name="currentPosition" value="1">
<param name="defaultFrame" value>
<param name="playCount" value="1">
<param name="autoStart" value="0">
<param name="loop" value="-1">
<param name="currentMarker" value="0">
<param name="invokeURLs" value="-1">
<param name="baseURL" value>
<param name="volume" value="100">
<param name="mute" value="0">
<param name="uiMode" value="full">
<param name="stretchToFit" value="0">
<param name="windowlessVideo" value="0">
<param name="enabled" value="-1">
<param name="enableContextMenu" value="0">
<param name="fullScreen" value="0">
<param name="SAMIStyle" value>
<param name="SAMILang" value>
<param name="SAMIFilename" value>
<param name="captioningID" value>
<param name="enableErrorDialogs" value="0">
<param name="_cx" value="7938">
<param name="_cy" value="6482">

<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/windows95/downloads/contents/wurecommended/s_wufeatured/mediaplayer/default.asp" src="{param}"
rate=1
balance=0
currentPosition=1
playCount=1
autoStart=0
loop=-1
currentMarker=0
invokeURLs=-1
volume=100
mute=0
uiMode=full
stretchToFit=0
windowlessVideo=0
enabled=-1
enableContextMenu=0
fullScreen=0
SAMIStyle
SAMILang
SAMIFilename
captioningID
enableErrorDialogs=0
_cx=7938
_cy=6482
width=400
height=200>
</embed>
</object>

and this bit here [MP3]http://www.yoursite.com/vbdirectory/attachment.php?attachmentid=$attach[attachmentid].mp3[/MP3]
do i put my main web url??? in there eg below
[MP3]http://www.sats-general.com/vb/attachment.php?attachmentid=$attach[attachmentid].mp3[/MP3]
or my forum home page
thanx for your help so far,i'm all new to this

ericgtr 04-15-2005 03:58 AM

Please read the instructions carefully, the first part you posted is the bbcode which is added through your admin CP > bbcodes (in the left menu towards the bottom). Then you need edit the newattachmenbit template by going into admin CP > Styles and templates > Search in Templates and type in newattachmentbit which will bring up the template where you will post the code that I gave.

Rickie3 04-15-2005 06:32 AM

hi i followed your instruction,put i still cant get it to play,uploading mp3 shows exactly the same as your screen shots,but when i click play it does nothing,my main web page is www.sats-general.com,and my forum is http://www.sats-general.com/forum/index.php?
ive tried both in template
[MP3]http://www.sats-general.com/vb/attachment.php?attachmentid=$attach[attachmentid].mp3[/MP3]
and
[MP3]http://www.sats-general.com/forum/vb/attachment.php?attachmentid=$attach[attachmentid].mp3[/MP3]

what am i doing wrong??? :o

Rickie3 04-15-2005 11:16 AM

update the player doesnt like mozilla,i tried it using IE 6 i can click the play button it says connecting to media then stops in a matter of seconds,if i click on the file it opens up a seperate WMP window,ive loaded everything correctly what am i doing wrong here

ericgtr 04-15-2005 03:48 PM

Quote:

Originally Posted by 5009101694596
update the player doesnt like mozilla,i tried it using IE 6 i can click the play button it says connecting to media then stops in a matter of seconds,if i click on the file it opens up a seperate WMP window,ive loaded everything correctly what am i doing wrong here

Are you using 3.0.7? I am wondering if this doesn't have a problem with this version, can anyone else confirm?

Rickie3 04-16-2005 05:20 AM

Quote:

Originally Posted by ericgtr
Are you using 3.0.7? I am wondering if this doesn't have a problem with this version, can anyone else confirm?

i'm using 3.0.3,the embedded player wont work for me when i click the play button it goes to load media then hangs up,all my files are stored in the database could that be a problem?


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

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01359 seconds
  • Memory Usage 1,746KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete