Hello,
this is hopefuly an easy one again. What is the easiest way to play a mp3, when the user press a button?
Thanks for your help
best regards
Manfred
Play MP3 and / or AVI
Moderators: Jon, Steve, Ian, Dave
-
Steve
- Moderator

- Posts: 423
- Joined: Fri Sep 07, 2007 3:44 pm
- Location: Sandy, UK
- Contact:
Hi Manfred,
I think you can do this:
Create a hidden HTML control on the page (Control name: MP3_CONTROL) with content:
On the button click, then show the control and this should play the file.
Using JavaScript....
Steve
I think you can do this:
Create a hidden HTML control on the page (Control name: MP3_CONTROL) with content:
Code: Select all
<embed height="50" width="100" src="myMp3.mp3">
Using JavaScript....
Code: Select all
controls.MP3_CONTROL.show();
0 x
-
Pnirff
- Ebase User
- Posts: 21
- Joined: Fri Jan 25, 2013 8:36 am
Who is online
Users browsing this forum: No registered users and 46 guests