|
From: FlorinCB <ory...@us...> - 2008-09-10 12:27:00
|
Update of /cvsroot/mxbb/mx_music/templates/_core In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv4603/templates/_core Modified Files: music_cat_xs.tpl Log Message: fix Index: music_cat_xs.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_music/templates/_core/music_cat_xs.tpl,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** music_cat_xs.tpl 10 Sep 2008 06:05:25 -0000 1.4 --- music_cat_xs.tpl 10 Sep 2008 12:26:20 -0000 1.5 *************** *** 176,180 **** if ( navigator.appName == "Netscape" ){ //Netscape code ! document.write (' <Embed id="wmp" name="wmp" type="audio/mpeg"'); document.write (' pluginspage="http://www.microsoft.com/windows/windowsmedia/"'); document.write (' filename="{song_detail.SONG_URL}"'); --- 176,180 ---- if ( navigator.appName == "Netscape" ){ //Netscape code ! document.write (' <Embed id="wmp" name="wmp" type="{song_detail.MIME_TYPE}"'); document.write (' pluginspage="http://www.microsoft.com/windows/windowsmedia/"'); document.write (' filename="{song_detail.SONG_URL}"'); *************** *** 191,195 **** if ( navigator.appName != "Netscape" ){ ! document.write(' <embed id="wmp" name="wmp" type="audio/mpeg" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}" ShowTracker="0" ShowDisplay="0" ShowGotoBar="0" ShowStatusBar="1" ShowCaptioning="0" AUTOSTART="0" filename="{song_detail.SONG_URL}" src="{song_detail.SONG_URL}" ></embed>'); } } --- 191,195 ---- if ( navigator.appName != "Netscape" ){ ! document.write(' <embed id="wmp" name="wmp" type="{song_detail.MIME_TYPE}" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}" ShowTracker="0" ShowDisplay="0" ShowGotoBar="0" ShowStatusBar="1" ShowCaptioning="0" AUTOSTART="0" filename="{song_detail.SONG_URL}" src="{song_detail.SONG_URL}" ></embed>'); } } *************** *** 219,223 **** document.write ('<PARAM NAME="height" VALUE="{song_detail.WIDTH}">'); ! document.write (' <Embed type="application/x-mplayer2"'); document.write (' pluginspage="http://www.microsoft.com/isapi/redir.dll?prd=windows&sbp=mediaplayer&ar=Media&sba=Plugin&"'); document.write (' filename="{song_detail.SONG_URL}"'); --- 219,223 ---- document.write ('<PARAM NAME="height" VALUE="{song_detail.WIDTH}">'); ! document.write (' <Embed type="{song_detail.MIME_TYPE}"'); document.write (' pluginspage="http://www.microsoft.com/isapi/redir.dll?prd=windows&sbp=mediaplayer&ar=Media&sba=Plugin&"'); document.write (' filename="{song_detail.SONG_URL}"'); *************** *** 255,259 **** //Firefox code ! document.write (' <Embed type="application/x-mplayer2"'); document.write (' pluginspage="http://www.microsoft.com/isapi/redir.dll?prd=windows&sbp=mediaplayer&ar=Media&sba=Plugin&"'); document.write (' filename="{song_detail.SONG_URL}"'); --- 255,259 ---- //Firefox code ! document.write (' <Embed type="{song_detail.MIME_TYPE}"'); document.write (' pluginspage="http://www.microsoft.com/isapi/redir.dll?prd=windows&sbp=mediaplayer&ar=Media&sba=Plugin&"'); document.write (' filename="{song_detail.SONG_URL}"'); *************** *** 275,279 **** else { ! document.write(' <embed type="audio/mpeg" height="{song_detail.HEIGHT}" width="{song_detail.WIDTH}" AUTOSTART="0" filename="{song_detail.SONG_URL}" src="{song_detail.SONG_URL}" ></embed>'); } </SCRIPT> --- 275,279 ---- else { ! document.write(' <embed type="{song_detail.MIME_TYPE}" height="{song_detail.HEIGHT}" width="{song_detail.WIDTH}" AUTOSTART="0" filename="{song_detail.SONG_URL}" src="{song_detail.SONG_URL}" ></embed>'); } </SCRIPT> *************** *** 344,352 **** </div> <!-- ENDIF --> <!-- IF song_detail.S_ROW_TYPE eq RAM --> ! <embed src="{song_detail.SONG_URL}" align="center" ! width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}" type="audio/x-pn-realaudio-plugin" console="cons" ! controls="ControlPanel" autostart="false"></embed> <!-- ENDIF --> --- 344,368 ---- </div> <!-- ENDIF --> + + <!-- IF song_detail.S_ROW_TYPE eq X-MOD --> + <div class="wordtube playlist2" id="WT999"> + <OBJECT id="wmp" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}" style="background: url('{song_detail.U_IMG}');" classid="CLSID:06DD38D3-D187-11CF-A80D-00C04FD74AD8" type="application/x-oleobject"> + <PARAM NAME="URL" VALUE="{song_detail.SONG_URL}" /> + <PARAM NAME="AutoStart" VALUE="false" /> + <PARAM NAME="ShowControls" VALUE="1" /> + <PARAM NAME="ShowStatusBar" VALUE="1" /> + <PARAM NAME="AutoSize" VALUE="0" /> + <PARAM NAME="width" VALUE="{song_detail.WIDTH}" /> + <PARAM NAME="height" VALUE="{song_detail.WIDTH}" /> + <PARAM NAME="SendPlayStateChangeEvents" VALUE="True" /> + <PARAM name="uiMode" value="none" /> + <PARAM name="PlayCount" value="9999" /> + <EMBED id="wmp" name="wmp" TYPE="application/x-mod" SRC="{song_detail.SONG_URL}" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}" autostart="false" autonext="true" /> + </OBJECT> + </div> + <!-- ENDIF --> <!-- IF song_detail.S_ROW_TYPE eq RAM --> ! <embed src="{song_detail.SONG_URL}" align="center" width="{song_detail.WIDTH}" height="{song_detail.HEIGHT}" type="audio/x-pn-realaudio-plugin" console="cons" controls="ControlPanel" autostart="false"></embed> <!-- ENDIF --> |