mp3 player in profile with auto play option :
Code:
<!-- SW profile Musicplayer Start -->
<vb:if condition="$userinfo['fieldX']"> <div class="underblock"></div>
<div class="block mainblock">
<div id="userinfoblock" class="floatcontainer">
<div class="blocksubhead" colspan="5">Music Player</div>
<div class="blockbody userprof_content userprof_content_border">
<div class="blockrow member_blockrow">
<script src="forum/sw/silverlight/silverlight.js" type="text/javascript">
</script>
<script src="forum/sw/silverlight/wmvplayer.js" type="text/javascript">
</script>
<div id="mp3profilepl">
Profile mp3 Player by : SoltanWorld</div>
<script type="text/javascript">
var cnt = document.getElementById('mp3profilepl');
var src = 'forum/sw/silverlight/wmvplayer.xaml';
var cfg = {height:'20',volume:'40',width:'200',file:'{vb:raw userinfo.fieldX}',autostart:'false',usefullscreen:'false',autostart:'true'};
var ply = new jeroenwijering.Player(cnt,src,cfg);
</script>
</div>
</div></div></div>
<div class="underblock"></div><br/></vb:if>
<!-- SW profile Musicplayer End -->