Browse Source

add audio autoplay test

Hakim El Hattab 5 years ago
parent
commit
2b61dde83b

+ 2 - 0
test/examples/assets/beeping.txt

@@ -0,0 +1,2 @@
+Source: https://freesound.org/people/fennelliott/sounds/379419/
+License: CC0 (public domain)

BIN
test/examples/assets/beeping.wav


+ 5 - 0
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>