aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2018-10-31 08:59:47 +0100
committerHakim El Hattab <hakim.elhattab@gmail.com>2018-10-31 08:59:47 +0100
commit2b61dde83bd4882dae17acfa041b82dfeb9adb04 (patch)
tree878d85b81603e125d3ae9d691a42a22c59af8594
parent42e796afb2a4db10772cf0f4b517094c0fbec644 (diff)
downloadperl-software-in-gnu-guix-2b61dde83bd4882dae17acfa041b82dfeb9adb04.tar
perl-software-in-gnu-guix-2b61dde83bd4882dae17acfa041b82dfeb9adb04.tar.gz
add audio autoplay test
-rw-r--r--test/examples/assets/beeping.txt2
-rw-r--r--test/examples/assets/beeping.wavbin0 -> 422472 bytes
-rw-r--r--test/examples/embedded-media.html5
3 files changed, 7 insertions, 0 deletions
diff --git a/test/examples/assets/beeping.txt b/test/examples/assets/beeping.txt
new file mode 100644
index 0000000..bf41997
--- /dev/null
+++ b/test/examples/assets/beeping.txt
@@ -0,0 +1,2 @@
+Source: https://freesound.org/people/fennelliott/sounds/379419/
+License: CC0 (public domain) \ No newline at end of file
diff --git a/test/examples/assets/beeping.wav b/test/examples/assets/beeping.wav
new file mode 100644
index 0000000..38747a5
--- /dev/null
+++ b/test/examples/assets/beeping.wav
Binary files differ
diff --git a/test/examples/embedded-media.html b/test/examples/embedded-media.html
index 312c48c..91457e4 100644
--- a/test/examples/embedded-media.html
+++ b/test/examples/embedded-media.html
@@ -30,6 +30,11 @@
<h2>Empty Slide</h2>
</section>
+ <section>
+ <h2>Auto-playing audio</h2>
+ <audio src="assets/beeping.wav" data-autoplay></audio>
+ </section>
+
</div>
</div>