Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
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 |
||||
|
Sorry forgot to add - it is possible to load a mp3 when someone lands on the website, and plays in the background? Thanks again |
||||
|
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. |
||||
|
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 |
||||
|
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. |
|