0

I am following a w3school audio tutorial

The issue is that the audio file is not found. When I click on the link where the browser is looking for the audio it is showing:

file:///D:/________mySite/sounds/Silence.mp3 

Which is indeed the place where the .mp3 is.

Any ideas how to resolve this?

The code is:

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Kawasaki - ultimate superbikes</title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<link href="default.css" rel="stylesheet" type="text/css" media="screen" />
</head>
<body>
<!-- start header -->
<audio controls="controls" autoplay="autoplay" loop="loop">
  <source src="sounds/Silence.ogg" type="audio/ogg">
  <source src="sounds/Silence.mp3" type="audio/mp3">
 Your browser does not support the audio element.
</audio>
</body>
</html>
4

0 回答 0