Autoplay mp3 on page load

Posted by bambinou, 11-16-2012, 07:12 AM
Hello, I have a 5 second greeting mp3 I would like to start on page load. With the below code it works on firefox, chorome and safari but not IE(Latest). Any idea why please? Thank you, Ben

Posted by dcdan, 11-16-2012, 11:00 AM
Please please do not do that.

Posted by Herasil, 11-16-2012, 11:11 AM
Check out: http://www.w3schools.com/html/html_sounds.asp Some of the problems that it lists are "Different browsers support different audio formats" and "If a browser does not support the file format, the audio will not play without a plug-in" It provides a solution using HTML5 and an HTML fallback that might work for you. But dpdp is right, autoplaying sounds can be really annoying for visitors.

Posted by bambinou, 11-17-2012, 04:19 AM
Hi, In understand what you mean but when your boss asks you something and tell you to do it, you have to.........I am not in a position to decide what I want unfortunately as my boss will not let me explain what we should do or not do. I must do what "he" wants without questioning. Thank you, Ben

Var dette svaret til hjelp?

 Print

Les også disse

Remount back up hard drive

Posted by Peter_Net, 09-15-2007, 07:41 PMHello, I have a second hard disk for cpanel back up...

htaccess redirect dynamic URL to dynamic URL

Posted by Badie, 12-29-2007, 07:51 AMHi I have a page that show articles in my site , the url...

Include and run a script within a program

Posted by Sammyboy99, 02-18-2011, 06:53 PMSo I've made a program that executes a script the only...

lxadmin dns template

Posted by paul-naama, 09-15-2007, 06:36 PMhello all. i just signed up for a new vps host...

Open Source Video Blogging

Posted by CoolRock, 01-18-2008, 07:50 AMHi, I am currently looking for an open source video...