Link to Audio File (HTML 4.1 Transitional)

For general web development questions that are not specifically related to CSS HTML Validator. This includes (but is not limited to) general HTML, CSS, Accessibility, JavaScript, and SEO questions.
Post Reply
paulp575
Rank IV - Intermediate
Posts: 170
Joined: Tue Aug 09, 2005 1:20 pm
Location: Spokane WA
Contact:

Link to Audio File (HTML 4.1 Transitional)

Post by paulp575 »

I am trying to insert a link to an audio file, but nothing seems to be working.

What would be the coding necessary to accomplish the following:

1. Audio file would NOT play until user clicks on the file (no autostart).
2. Want only text to show as the link.
3. Use has VLC Media Player installed.
4. Audio file is an mp4 file.
5. It is okay if the file opens in a new (small) window with a graphic displayed while audio file plays).

Thanks,
paulp575
User avatar
Albert Wiersch
Site Admin
Posts: 3785
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

Re: Link to Audio File (HTML 4.1 Transitional)

Post by Albert Wiersch »

Albert Wiersch, CSS HTML Validator Developer • Download CSS HTML Validator FREE Trial
paulp575
Rank IV - Intermediate
Posts: 170
Joined: Tue Aug 09, 2005 1:20 pm
Location: Spokane WA
Contact:

Re: Link to Audio File (HTML 4.1 Transitional)

Post by paulp575 »

Changed the direction I want this to go.

I'd like to link to a mp4 video file.
I have VLC Media Player installed and the mime(?) type in Firefox set to play mp4 files using the VLC Web Player plugin.
If I to a link to the file, I get an error message the file can not be played because it is corrupt - yet I can play it if I just click on the file (it opens VLC Media Player) and plays to the end.
paulp575
User avatar
Albert Wiersch
Site Admin
Posts: 3785
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

Re: Link to Audio File (HTML 4.1 Transitional)

Post by Albert Wiersch »

For video on your website, what about uploading it to YouTube and embedding it on your page? It's probably the easiest way to go and the most robust (let YouTube handle all the hairy details of compatibility and playback on all the devices and platforms that are out there now).
Albert Wiersch, CSS HTML Validator Developer • Download CSS HTML Validator FREE Trial
Post Reply