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,
Link to Audio File (HTML 4.1 Transitional)
-
- Rank IV - Intermediate
- Posts: 170
- Joined: Tue Aug 09, 2005 1:20 pm
- Location: Spokane WA
-
- Site Admin
- Posts: 3785
- Joined: Sat Dec 11, 2004 9:23 am
- Location: Near Dallas, TX
Re: Link to Audio File (HTML 4.1 Transitional)
Are you using the audio element?
https://www.htmlvalidator.com/help.php?m=2&h=audio
https://developer.mozilla.org/en-US/doc ... ment/audio
https://www.htmlvalidator.com/help.php?m=2&h=audio
https://developer.mozilla.org/en-US/doc ... ment/audio
Albert Wiersch, CSS HTML Validator Developer • Download CSS HTML Validator FREE Trial
-
- Rank IV - Intermediate
- Posts: 170
- Joined: Tue Aug 09, 2005 1:20 pm
- Location: Spokane WA
Re: Link to Audio File (HTML 4.1 Transitional)
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.
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
-
- Site Admin
- Posts: 3785
- Joined: Sat Dec 11, 2004 9:23 am
- Location: Near Dallas, TX
Re: Link to Audio File (HTML 4.1 Transitional)
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