blob: 2d727b7fac6d8b093c4173143a8ed32becd18545 [file] [log] [blame]
<html>
<head>
<script>
function pageLoaded() {
try {
window.webkit.messageHandlers.pictureInPictureChangeHandler.postMessage('load');
} catch(e) { }
}
function play() {
document.getElementById("audio").play();
}
function didStartPlaying() {
try {
window.webkit.messageHandlers.pictureInPictureChangeHandler.postMessage('playing');
} catch(e) { }
}
</script>
</head>
<body onload="pageLoaded()">
<audio controls id="audio" src="silence-long.m4a" onplaying="didStartPlaying()" />
</body>
</html>