Source code

Revision control

Copy as Markdown

Other Tools

<html>
<head>
<title>MediaSessionDefaultTest1</title>
</head>
<body>
<script>
const audio1 = document.createElement("audio");
audio1.src = "audio/owl.mp3";
window.onload = () => {
audio1.play();
};
</script>
</body>
</html>