diff options
Diffstat (limited to 'browser/base/content/test/tabMediaIndicator/file_mediaPlayback2.html')
-rw-r--r-- | browser/base/content/test/tabMediaIndicator/file_mediaPlayback2.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/browser/base/content/test/tabMediaIndicator/file_mediaPlayback2.html b/browser/base/content/test/tabMediaIndicator/file_mediaPlayback2.html new file mode 100644 index 0000000000..890b494a05 --- /dev/null +++ b/browser/base/content/test/tabMediaIndicator/file_mediaPlayback2.html @@ -0,0 +1,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> |