<!DOCTYPE html> | |
<title>HTML audio with controls via Web APIs</title> | |
<link rel="author" title="Mozilla" href="https://www.mozilla.org/"> | |
<link rel="help" href="https://html.spec.whatwg.org/multipage/rendering.html#embedded-content-rendering-rules"> | |
<link rel="mismatch" href="/common/blank.html"> | |
<audio id="target"></audio> | |
<script> | |
document.body.offsetTop; | |
document.getElementById("target").setAttribute("controls", ""); | |
</script> |