Quote:
Originally Posted by elricstorm
Okay I got it to work with CMPS even if the page is outside of the forum. Here's what I did. I'm using latest CMPS and vb 3.6.0.
I created a module template called adv_portal_ipod and you can use the following code:
Code:
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<thead>
<tr>
<td class="tcat">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('ipod')"><img id="collapseimg_ipod"
src="$stylevar[imgdir_button]/collapse_tcat$collapseimg_ipod.gif" alt="" border="0" /></a>
<span class="smallfont"><strong>$vba_style[portal_blockbullet] IPOD</strong></span></td>
</tr>
</thead>
<tbody id="collapseobj_ipod" style="$collapseobj_ipod">
<tr>
<td class="$getbgrow">
<!-- Custom Code Start -->
<div align="center">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="190" height="430" align="top">
<param name="movie" value="vbPlayer.swf">
<param name="quality" value="high">
<embed src="vbPlayer.swf" width="190" height="430" align="top" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>
</object>
</div>
<!-- Custom Code End -->
</td>
</tr>
</tbody>
</table>
<br />
I then placed the playlist and the vb player on my root and on my root/forum. This is because my cmps is not in the forum. It works great.
fyi.. 
|
Cool elricstorm - thanks!

My coding is slightly different, and I've resized the actual player dimensions to fit the default side blocks of 175 px. I've also incorporated a javascript 'fix' when viewing flash objects in Internet Explorer 6.0 and above.
Would it be okay to modify your code, and add the javascript I've used in the new package?
Bit busy at the moment moving a website, but I could do this a little later.