The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Music in profile.
Basically I want to set it up where a user can put a link to a music file in a profile bit and then when someone views their profile, the music would start up as they view it. Doing the profile bit is easy BUT I can't seem to figure out how to make it autoplay in their profile. I think Id have to edit memberinfo but I don't know what code to put in there.
|
#2
|
||||
|
||||
try
Quote:
|
#3
|
|||
|
|||
Wait how would I incorporate that? I know id have to involve [fieldx] but I dont know how I can make it so it just commands that field to autostart?
|
#4
|
||||
|
||||
Ok, wait........do you have it coded at all?
|
#5
|
|||
|
|||
Nope. T_T Give me a sec and let me see if I can come up with anything. To be honest, Im just being lazy here. I just need a push and I can figure it out myself.
|
#6
|
||||
|
||||
Ok, well when and if you do....let me/us know
|
#7
|
|||
|
|||
Im working on the profile that will have this feature... wont be coming for a month though...
|
#8
|
|||
|
|||
Would something like this work?
<embed src="$userinfo[fieldx]" autostart="true" loop="true" width="2" height="0"> </embed> Meh, my limited knowledge of HTML. I dont think that would work though...I think Im using the wrong tags. And this is just to add into the profile, nothing too fancy. Im not sure what you are planning to do. |
#9
|
||||
|
||||
Not sure, but I can tell you that this is what I use for the video in the profiles....
HTML Code:
<td class="alt2" align="center" valign="middle"> <OBJECT id="VIDEO" width="225" height="176" CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" type="application/x-oleobject"> <PARAM NAME="URL" VALUE="$userinfo[field17]"> <PARAM NAME="SendPlayStateChangeEvents" VALUE="True"> <PARAM NAME="AutoStart" VALUE="False"> <PARAM name="uiMode" value="full"> <PARAM name="PlayCount" value="9999"> <PARAM name="enabled" value="true"> <embed name="MediaPlayer" type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" width="225" height="176" AutoStart="true" src="$userinfo[field17]" /></object> </td> |
#10
|
|||
|
|||
See that brings up a video player right? Mine is much simpler as I just want the music to be playing, without any music player to show up...if the user doesnt want to hear it...then they can just not look at the profile. =P So Im gonna try out the piece of code and see if it works.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|