Log in

View Full Version : Music on Site.



DJ-Whoeva
26-04-2007, 04:04 PM
How do i put a player on my website that will play a song that i want.

I tryed this but it wont work for other people


<object codebase="/CODEBASE=http:/activex.microsoft.com/activex/controls/mplayer/
en/nsmp2inf.cab#Version=6,4,5,715" height="41" standby="Loading" width="158" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" name="player">
<param value="LINK HERE" name="URL">
<param value="1" name="rate">
<param value="0" name="balance">
<param value="5.0102064" name="currentPosition">
<param value="" name="defaultFrame">
<param value="0" name="playCount">
<param value="-1" name="autoStart">
<param value="1" name="ShowControls">
<param value="0" name="ShowStatusBar">
<param value="0" name="currentMarker">
<param value="-1" name="invokeURLs">
<param value="" name="baseURL">
<param value="50" name="volume">
<param value="0" name="mute">
<param value="mini" name="uiMode">
<param value="0" name="stretchToFit">
<param value="0" name="windowlessVideo">
<param value="-1" name="enabled">
<param value="-1" name="enableContextMenu">
<param value="0" name="fullScreen">
<param value="" name="SAMIStyle">
<param value="" name="SAMILang">
<param value="" name="SAMIFilename">
<param value="" name="captioningID">
<param value="0" name="enableErrorDialogs">
<param value="3387" name="_cx">
<param value="741" name="_cy"></object>

Edited by L&#181;ke (Forum Moderator): Thread Moved from Website Designing. Please post in the correct section next time, Thanks :).

Recursion
26-04-2007, 04:18 PM
<object classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" name="player" width="209" height="33" standby="Loading" codebase="/CODEBASE=http:/activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715">

<param name=" id="player="player"" url="http://YOURSITEHERE" value="true" />
<param name="CONTROLS" value="Imagewindow" />
<param name="ShowStatusBar" value="false" />
<param name="src" value="IP:PORT" />
<param name="url" value="IP:PORT" />
<param name="autostart" value="true" />
<embed src="LINK TO ASX FILE." width="209" height="33" autostart="True" controls="playbutton" showstatusbar="false" url="LINK TO ASX FILE" autoplay="true" uimode="mini"></embed>
</object>


ASX File:



<ASX version = "3.0">
<Entry>
<title>You're listening to YOURSITEHERE!</title>
<AUTHOR>YOURSITEHERE</AUTHOR>
<COPYRIGHT>© YOURSITEHERE 2007</COPYRIGHT>
<!--
<Logo href = "" Style = "MARK" />
-->
<Ref href = "IP:PORT" />

<BANNER HREF="">
<ABSTRACT>Click here to visit YOURSITEHERE!</ABSTRACT>
<MOREINFO HREF="http://www.YOURSITEHERE" />
</BANNER>
</Entry>
</ASX>


Works in Firefox too :)

Luckyrare
26-04-2007, 04:21 PM
Best using flash tbh. Then it supports all browsers that support flash

Recursion
26-04-2007, 04:22 PM
More complicated. Also most computers have WMP. Not all have flash :)

redtom
26-04-2007, 04:27 PM
More complicated. Also most computers have WMP. Not all have flash :)

Hmmm that sounds werid;

'most computer have WMP' = not all computers have WMP

'not all have flash' = most computers do

DJ-Vimto
26-04-2007, 06:17 PM
doesnt WMP come with windows anyway?

Want to hide these adverts? Register an account for free!