Calmaris
01-08-2004, 01:19 PM
Can you access an mp3 file and play it using asp.net? I know you can with Html.
|
Click to See Complete Forum and Search --> : Is it possible to run an mp3 using asp.net? Calmaris 01-08-2004, 01:19 PM Can you access an mp3 file and play it using asp.net? I know you can with Html. CardboardHammer 01-08-2004, 02:23 PM Anything you can do with HTML, you can do with ASP.NET. PeOfEo 01-08-2004, 04:30 PM You would just use html on your asp.net page, heck you can even play it from a data base if it makes you happy. But you cant hower play it from a users machine, the same security limits still apply. Calmaris 01-08-2004, 07:51 PM Ok great, so I can access the mp3 and play it but can I make it so that the user can still browse the site going from page to page without the mp3 restarting on every new page? And it will stop playing when the user either logs out or closes the page. Could I perhaps Use session for this? And if I do make this work what impact will it have on the server as I'm concerned with it's speed? PeOfEo 01-08-2004, 09:21 PM open it in a 1px frame and the user can navigate and it will play as long as that from is open. I do not like doing this because it is annoying (I do not like site music at all) but it should do what you want. Calmaris 01-08-2004, 09:24 PM hey good idea....the user has the option to turn it off...lol I've already thought of that. CardboardHammer 01-09-2004, 08:04 AM Maybe you should switch it to leaving it off by default and allowing users to turn it on if they're so inclined. Pages that make noises at me piss me off... I'm probably not the only one. Calmaris 01-09-2004, 03:20 PM Oh I've realized this, the way I have it set up is that it's a simple drop down box full of songs and one that says none. It's defaulted to none but the user can choose when to play the songs....but I seem to have run into a problem(I used the frame Idea) everytime the user switches pages on the bottom frame the top frame reloads and starts another instance of the dam music so it keeps starting new instances on top of each other and I have 10 songs playing at once....well I was up till 5:00 in the morning trying to figure this out and it was mentioned to me to scrap the frames idea and pick up css....which I am presently starting to teach myslef. CardboardHammer 01-09-2004, 04:59 PM I'd be willing to bet that you're going to be stuck with having to use a frame to get seamless results. You need to have the bottom frame navigate independantly of the top. Here's how Hotmail does it when you open a message: <html> <head> <title>MSN Hotmail - More Useful Everyday</title> </head> <frameset rows="50,*" border=0> <frame name="navigate" src="/cgi-bin/dasp/offhm.asp?_lang=EN" scrolling = "no" marginheight=1 noresize style="border-bottom: 2px solid #333366;"> <frame name="partner" src="http://www.fedex.com/" marginheight=1> </frameset> <noframes> The link that you are following will take you to a non-Hotmail location. To continue click <A HREF="http://www.fedex.com/">here</A>. </noframes> </html> webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |