Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
| Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 26th, 2006, 10:31 AM
Registered User
 
Join Date: Oct 2006
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to play mp3 file stored outside root folder

Hi,

I hope someone can help me out with this one. I am working on a web application that plays mp3s. The mp3 player I'm using is PseudoMP3, a free .net mp3 player server control. My problem is that i'm trying to secure the mp3 files by saving them in a folder outside of my root, but I can't access the files from my application. My site is hosted by an ISP. My syntax for getting the files is:

PseudoMP3Pick.Src = @"d:\websites\sampleDomain\mp3s\Superman.mp3";

This is how I choose the mp3 file to be played. When the page loads, the player says "Buffering..." and never stops. When I play mp3 files within the root, the player would say "Buffering..." for a few seconds and then starts playing the song.

I'm using C#. Thanks for the help!






Similar Threads
Thread Thread Starter Forum Replies Last Post
How to upload mp3 file using php abhi.sharma05 PHP How-To 4 November 1st, 2011 11:59 PM
Programmatical "Pick-n-Play" for MP3 oldmainframehack VBScript 0 June 18th, 2008 03:00 PM
How to access .mp3 File properties in V.B 6.0 shehryar Beginning VB 6 0 January 30th, 2008 08:18 AM
Can't Run JSTL Outside of Root Folder incogito73 JSP Basics 1 October 13th, 2004 07:06 PM
.htaccess file in root folder hopenpray Beginning PHP 1 September 8th, 2003 02:39 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.