PDA

View Full Version : Trying to put a music player in profile


Emeralda
02-11-2012, 05:36 PM
<vb:if condition="$post['field7']">
<object type="application/x-shockwave-flash" data="audio-player/dewplayer.swf" width="200" height="20" id="dewplayer" name="dewplayer"> <param name="wmode" value="transparent" /><param name="movie" value="audio-player/dewplayer.swf" /> <param name="flashvars" value="mp3={vb:raw post.field7}&amp;autostart=1&amp;showtime=1" /> </object>
</vb:if>

Pretty much what I got so far. I set it up so that field7 is where you put a link to your mp3. I put a link in the field and... it doesn't show. Is the conditional wrong? Because without it, the player was showing on the profile.

EDIT: nevermind, I had to replace $post with $userinfo, but now it doesn't want to play >.<
EDIT2: please delete this thread, I feel so stupid now