Chrome-performance-bug-mute.../index.html
2023-02-18 19:09:25 +01:00

35 lines
No EOL
772 B
HTML

<!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>Mute and Unmute me</title>
</head>
<body>
<div class="svgwrapper">
<svg id="svgCanvas" style="width:100%;height:100%" viewBox="0 0 355 1920" preserveAspectRatio="none"></svg>
</div>
<button onclick="main()">start</button>
<a href="https://github.com/djkato/Chrome-performance-bug-muted-window">Source code</a>
<audio id="audio"></audio>
</body>
<style>
.svgwrapper {
width: 100vw;
height: 50vh;
}
body {
margin: 0;
padding: 0;
}
</style>
<script src="index.js"></script>
</html>