Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Embed Music in Slide Show 1

Status
Not open for further replies.

BobbaBuoy

Instructor
May 25, 2003
75
US
I have a site that allows users to create their own slide shows and I want them to be able to embed music that starts automatically (and, hence, needs no controls). I want them to be able to upload a file (that I will store the link to in a db) so that when their slide show starts the music starts automatically. Here are my questions:

1) Is there a preferred file type (*.wav for instance)?
2) What is the best way (html) to embed that music.

Thanks~

Bobba Buoy
Just trying to make sense of it all ...
 
The two questions your asking are not really relevant for ASP. You need to look into what client-side object you are going to embed inyour web page to play the music, that will define what types of file formats you can use, how the link has to be defined, etc. This would be best asked in the HTML forum or the web designers forum.

The question you didn't ask (how to upload the music file) would be to find a server-side upload control or to use a pure ASP upload method. Using the search tab above (or the FAQs) you can find several examples of server-side upload components and scripts. Google is another good resource. Most downloadable scripts and components have examples and such.

The other question you haven't asked (why am I being taken to jail/fined/subpoened) is because you need to either password protect your site, limit the upload file size, or probably a combination of both. If you don't someone will come along and start uploading anything they can get their hands on, basically hijacking your site to use as their own free download area. The reason they can do this is because after a file has been uploaded and you display whatever music player your using, you also set the path to the music file in the player, telling anyone who can view source on a web page exactly where their files are being stored so they can link to them later.

-T

Best MS KB Ever:
 
Wow! Thanks.... I will look into all of that. I have an asp upload control that I have been using and it works fine but I am unaware that the security issue was such when allowing files to be uploaded.

Thanks for answering questions that I didn't ask but should have! :)

Bobba Buoy
Just trying to make sense of it all ...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top