forked from mirrors/gecko-dev
		
	 fee7fb93ca
			
		
	
	
		fee7fb93ca
		
	
	
	
	
		
			
			Add a new file "almostSilentAudioTrack.webm" and the test to prevent showing the sound indicator when playing that kinds of video. MozReview-Commit-ID: CeUhAePBuqs --HG-- extra : rebase_source : c1deb2ec749fcebeccb554b64ffe77b46a18aa3d
		
			
				
	
	
		
			18 lines
		
	
	
	
		
			545 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
	
		
			545 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <!DOCTYPE html>
 | |
| <head>
 | |
|   <meta content="text/html;charset=utf-8" http-equiv="Content-Type">
 | |
|   <meta content="utf-8" http-equiv="encoding">
 | |
| </head>
 | |
| <body>
 | |
| <video id="autoplay" src="almostSilentAudioTrack.webm"></video>
 | |
| <script type="text/javascript">
 | |
| 
 | |
| // In linux debug on try server, sometimes the download process would fail, so
 | |
| // we can't activate the "auto-play" or playing after receving "oncanplay".
 | |
| // Therefore, we just call play here.
 | |
| var video = document.getElementById("autoplay");
 | |
| video.loop = true;
 | |
| video.play();
 | |
| 
 | |
| </script>
 | |
| </body>
 |