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

Bu cevap yeterince yardımcı oldu mu?

 Bu dökümanı yazdır

Also Read

javascript dies in php

Posted by ti_nhatrang, 01-17-2008, 06:49 AMHi guys, I can't seem to put this in a echo...

Joomla HELP!

Posted by Snitz, 09-15-2008, 12:33 PMI'm having a weird problem here. I'm using MusicBox 2.0...

WHM/Cpanel Exim issue - how to better secure a partially open relay

Posted by MnMNmN, 02-14-2008, 10:04 PMHi all, I have a WHM/CPanel server. I have done some...

Set up file that will be called up in cron

Posted by ninak, 03-09-2010, 10:10 AMI am kind of embarrassed asking this question but I hope...

What is SAP?

Posted by TajByte, 03-22-2007, 05:02 AMWhat is SAP? Posted by 24x7os, 03-22-2007, 05:25...