I am trying to built a pretty powerful cms but really stuck in this small part and can't figure out how to do this. I have some .mpg clips stored under /home/myusername/clips/. So you will see the folder clips is not under the www or public_html folder.
At the moment I am just testing if I can play the media files outside of the www folder and here's what my quick PHP file looks like.
<object id=\"MediaPlayer\" width=320 height=286 classid=\"CLSID:22D6f312-B
4C7E95\" standby=\"Loading Windows Media Player components...\" type=\"application/x-oleob
<param name=\"filename\" value=\"/home/myname/clips
<param name=\"Showcontrols\" value=\"True\">
<param name=\"autoStart\" value=\"True\">
" name=\"MediaPlayer\" width=320 height=240></embed>
You will see the filename parameter has the full path to the file... for some reason it isn't working. I am sure there is a way to play this file, and will really appreciate if someone could help me out here :).