Page 1 of 1

serving files outside webroot via media player need help thx

Posted: Sat Apr 21, 2007 11:16 am
by homerjsimpson
here is the code but it does not work.

Code: Select all

<OBJECT ID="MediaPlayer" WIDTH=320 HEIGHT=240
classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Vers$
standby="Loading Microsoft Windows Media Player components..."
type="application/x-oleobject">
    <PARAM NAME="FileName" VALUE="some.mp3">
    <PARAM NAME="ShowControls" VALUE="1">
    <PARAM NAME="ShowDisplay" VALUE="1">
    <PARAM NAME="ShowStatusBar" VALUE="1">
    <PARAM NAME="AutoSize" VALUE="1">
    <Embed type="application/x-mplayer2"

pluginspage="http://www.microsoft.com/windows/windowsmedia/download/AllDownloads.asp$
        filename="some.mp3"
        src="/home/me/dir/some.mp3"
        Name=MediaPlayer
        ShowControls=1
        ShowDisplay=1
        ShowStatusBar=1
        width=320
        height=240>
    </embed>
</OBJECT>
I think the player is searching for a dir named home within the mydomain.com which is not desired. also what if I supply a .m3u file with /home/me/dir/some.mp3 as the src? will that work?

how do i do this? thanks

Posted: Sat Apr 21, 2007 11:32 am
by John Cartwright
Why is this in a seperate thread?

Topic Locked.