<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>学习媒体元素</title>
</head>
<body>
<!-- 视频和音频
src :资源路径
controls : 播放开关与控制条
autoplay : 自动播放
-->
<video src="../resources/video/wallpaper1.mp4" controls autoplay></video>
<audio src="../resources/audio/Peach Pit - Tommy's Party.mp3" controls autoplay></audio>
</body>
</html>