[Pro] Audio file formats

It’s the old background music chestnut I’m afraid.

Yes I know it’s not the best thing and I’ve spent ages explaining the negatives to the client, but they are adamant - so we’re moving on.

I’m only adding music to the home page so visitors get a reprieve as they continue into the site.

My solution is to drag the audio file onto the paste board which creates the item nicely. I then cut and paste it into my page header so the site visitor can adjust, mute or stop the audio file.

I’ve created an mp3 and ogg to test this and it’s all fine. Players show, music plays and adjustments can be made. All good that is until I test it on IE. No player or sound on the full screen version of IE (windows 8) and the conventional desktop (floating window) version on Windows 8 shows the player with a warning of wrong file type. I am not currently running any previous windows versions so can’t test that at the moment.

I thought wav was no longer required for windows, but I noticed the audio player has 3 options for video files. Do I need to create a windows friendly version to keep everyone happy?

I’m using Freeway 6.* for this site, set to HTML5 if that helps.

Thanks.

Alan.

http://www.nialtoservices.co.uk/rmdecor


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Not quite sure your reasoning for doing it this way but it should work - it does for me on my server.

IE needs that the correct Mime types for your files are set on your server though - are they?

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Here is another option

http://www.actionsforge.com/actions/view/245-audiojs

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi David.

Thanks for coming back to me about this.

I did it this way because it was simple and it seemed to work. I checked the forum for background music and gave up wading through all the posts as they focused more on what’s wrong with it rather than an effective solution.

Mime types are good so I’ll look at the other method you offered there for me. Perhaps it’s just an issue in Windows eight - I wrote it that time as it got smilied last time.

Thanks for the advice.

Al.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Me again.

I bit of early morning surfing and an install of vm ware has shed more light.

On windows 7 in my newly installed virtual machine, everything plays just fine. On Windows 8 Metro and Classic - got the terms right now - No joy.

It appears that IE 10 does not support self closing audio tags. I have played around with the code to keep everything inside a single tag but still no joy.

I’ll keep searching but thought i’d bring my latest revelation to the table. :slight_smile: (intended smiley)

Al.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Did you try the audiojs action?

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Morning David.

I haven’t yet had a chance to look into audio.js but the good news is its working fine. My son had windows eight in a VM on his laptop and the player appeared and functioned perfectly. Checked the install on my Mac mini bootcamp install of Windows and there was a config error.

Thanks for all your help with this. It was a hardware issue after all. If only all browsers were the same we wouldn’t need to do all this testing. I managed to constrain the size of the giant windows player too, as it was breaking the header apart.

When I get time I’ll look into that audio.js as you suggest. I also want to learn more about using modernizr.js as I just used placeholder.js (to fix the missing placeholder text on windows) and read it could be used with modernizr to make page load more efficient. Then you keep reading what else you can use it for and you get hooked. I thought life after engineering would be dull, then I discovered Freeway and a new world of intrigue unravels. Frustrating at times, but rewarding.

Thanks for your continued help.

Regards - Al.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options