Dynamic rich media component for ASP.Net Flash, Video and Audio controls for C# and VB.Net
Welcome Guest Search | Active Topics | Members | Log In | Register

Can't play audio from file system but can from Http:// Options · View
jsirota
Posted: Tuesday, February 23, 2010 4:54:00 AM
Rank: Newbie
Groups: Member

Joined: 1/15/2010
Posts: 1
Points: 3
Location: LA
I'm able to play audio like this:
ASPNetMedia.Audio("MediaPlayer1").LoadMedia ("http://mySite.com/AllMP3s/" + TrackTitle);

But that's just a temporary directory that we set up.

I want to be able to pull audio from a mapped network drive (z:\). I've tried everything and can't get it to play. Like the following below:
ASPNetMedia.Audio("MediaPlayer1").LoadMedia ("Z:\\Audio%20ALL\\AllMP3s\\sh_12_Rock.mp3");


Does the audio have to be in an IIS folder, or can I pull it from the local network? Please advise.
Jake
Posted: Thursday, February 25, 2010 7:04:27 AM
Rank: Administration
Groups: Administration

Joined: 7/26/2007
Posts: 676
Points: 1,728
Location: USA
Yeah - you cant play a file tats not in your IIS.
Otheriwse people could request ANY file off your PC - that would be dangerous!

techy solution - Set up a Virtual Directory in yoru website such as /music and map it to z:\

Its a server setup issue - so if its giving your grief - im sure MSDN can help or any Network Admin dude.

http://www.aspnetmedia.com
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.