Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > WebsitePainter
Music Files

andyz99
Registered User
Quote
2011-12-28 16:48:32

My question is... How can I add media files such as mp3, so on the click of a button the music plays? The music files will be stored along with the webfiles on a server.

Happy Christmas and the very best wishes for 2012.

Many thanks

Andy


andyz99
Registered User
Quote
2011-12-28 16:59:19

Sorry forgot to add - it is possible to load a mp3 when someone lands on the website, and plays in the background?

Thanks again


niko
Moderator
Quote
2011-12-29 06:56:24

Hi,
yes, that's possible. You can for example do this with the HTML5 audio element. (It's under 'more'). The only drawback is that not all browsers support all audio file formats. Firefox for example doesn't like mp3. (ridiculous, I know).
See here: http://www.w3schools.com/html5/h... for a table listing which browser supports which format. If you use that HTML5 audio element, you can also select 'Play' to make it play when the site loads.


andyz99
Registered User
Quote
2011-12-29 15:26:44

Niko,
Many thanks as always, but can you clarify how to get it to play upon loading?

Also you hint towards an update, will it sort the IE9 issue, where a centre aligned page loads left aligned, but not in any other browser as it loads correctly - centred..?

Many thanks again


niko
Moderator
Quote
2011-12-30 08:08:53

To start playing automatically, simply check the 'Play' option in the property window.
The center-problem is a bug in IE9, we'll see what can be done about that.


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Internatio?al" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact