Button to play mp3/audio
-
- 3StarLounger
- Posts: 293
- Joined: 26 Mar 2010, 10:53
Button to play mp3/audio
Does anyone have any recommendations for how to set up a button so that it will play an audio file if pressed? Is it still necessary to use flash or are there other options nowadays? Thanks.
-
- Administrator
- Posts: 78391
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: Button to play mp3/audio
HTML5 can play audio without needing a plugin such as Flash: see Different Ways to Play a Sound from a Web Page. All modern browsers support HTML5, and all should be able to play .mp3 audio files. Support for .wav and .ogg varies - see HTML Audio - How It Works.
Best wishes,
Hans
Hans
-
- 3StarLounger
- Posts: 293
- Joined: 26 Mar 2010, 10:53
Re: Button to play mp3/audio
Thanks for the links, Hans. I'll check them out.