<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>初识音频</title>
</head>
<body>
<video controls>
<source src="./resource/video/3.mp4" type="video/mp4"></source>
<source src="./resource/video/3.webm" type="video/webm"></source>
当前浏览器不支持video播放,点击这里下载视频: <a href="#">下载视频</a>
</video>
<audio controls>
<source src="./resource/audio/1.mp3" type="audio/mp3"></source>
<source src="./resource/audio/1.aac" type="audio/aac codecs='aac'" ></source>
<source src="./resource/audio/1.ogg" type="audio/ogg codecs='vorbis'"></source>
当前浏览器不支持audio播放,点击这里下载音频: <a href="#">下载音频</a>
</audio>
</body>
</html>