Hi I'm trying to Play an MP3 file from my web site, Nothing works, Can someone help me do that ???? Your help is greatly appreciated. Raj
See : http://community.discountasp.net/default.aspx?f=24&m=17538&g=17625#m17625 Vikram DiscountASP.NET www.DiscountASP.NET
Thanks for the reply Vickram, i tried this but doesnt work, I dont think i am doing it the rioght way, Do you mind, just walk thru me step by step to implement this, please. thanks in advance raj
What i do is I have the mp3 uploaded in music folder under my project, and have the webpage.cs created under the root. and this is the code i have. PseudoMP3_1.Src = @"\music\"+song + ".mp3"; PseudoMP3_1.Stream = true; PseudoMP3_1.AutoStart = true; Still doesnt work.
In the Forum post i mentioned earlier,I have a download link to a sample application.Check that out! Vikram DiscountASP.NET www.DiscountASP.NET
Vikram sorry if i bother, but i followed exactly the same way as your code , but it doent play the song. Im not even getting an error message either.... any advice ?
I was able to play MP3?s using the embed statement on my DiscountASP aspx pages. For example: </o> <EMBED src="SoundFiles/ThePinkPanther.mp3" autoStart="TRUE" hidden="FALSE"/> </o> Admittedly, the keywords ?autostart? and ?hidden? will throw compiler errors, but they work just fine anyway. </o> The ?hidden? keyword hides the player if true, which means folks can?t turn off the sound. Might not want to do that. </o> You can also play <st1lace w:st="on">MIDI files too, e.g., ?ThreeStooges.mid?. </o> Good luck, </o>Lar