Audacity mp3 file not working in Google Chrome
Posted: Tue Dec 18, 2012 9:44 pm
Hi
I am new to Audacity.
I have downloaded Audacity 2.0.2 and I have created an mp3 file.
It works in IE, a different code works in FF, but no code works in Google Chrome.
Here is the reason why I think it's the mp3's fault.
I found the following code on w3schools:
<!DOCTYPE html>
<html>
<body>
<audio controls="controls" style="margin-top:70px;">
<source src="horse.ogg" type="audio/ogg" />
<source src="horse.mp3" type="audio/mpeg" />
Your browser does not support the audio element.
</audio>
</body>
</html>
which works in Google Chrome.
They have a Try-It editor, where you can make changes and see what happens.
When I changed horse.mp3 with the address of my mp3 file it did not work.
If I add this to the code on w3schools:
<embed height="20" width="300" autostart="false" src="http://mysite.com/song.mp3">
I can link to my file in IE and I can listen to it,
So:
the w3school code (horse.mp3) works in Google Chrome - so the code is correct,
my link works in IE so the address of the file is correct,
so I think the problem is with the audacity mp3 in Google Chrome.
Can somebody please help me solve this problem?
Thamks.
I am new to Audacity.
I have downloaded Audacity 2.0.2 and I have created an mp3 file.
It works in IE, a different code works in FF, but no code works in Google Chrome.
Here is the reason why I think it's the mp3's fault.
I found the following code on w3schools:
<!DOCTYPE html>
<html>
<body>
<audio controls="controls" style="margin-top:70px;">
<source src="horse.ogg" type="audio/ogg" />
<source src="horse.mp3" type="audio/mpeg" />
Your browser does not support the audio element.
</audio>
</body>
</html>
which works in Google Chrome.
They have a Try-It editor, where you can make changes and see what happens.
When I changed horse.mp3 with the address of my mp3 file it did not work.
If I add this to the code on w3schools:
<embed height="20" width="300" autostart="false" src="http://mysite.com/song.mp3">
I can link to my file in IE and I can listen to it,
So:
the w3school code (horse.mp3) works in Google Chrome - so the code is correct,
my link works in IE so the address of the file is correct,
so I think the problem is with the audacity mp3 in Google Chrome.
Can somebody please help me solve this problem?
Thamks.