summaryrefslogtreecommitdiffstats
path: root/browser/base/content/test/tabMediaIndicator/file_mediaPlayback2.html
blob: 890b494a055e3721927c1f36f78a7ca38ab0c882 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!DOCTYPE html>
<body>
<script type="text/javascript">
var audio = new Audio();
audio.oncanplay = function() {
  audio.oncanplay = null;
  audio.play();
};
audio.src = "audio.ogg";
audio.loop = true;
audio.id = "v";
document.body.appendChild(audio);
</script>
</body>