Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(171)

Side by Side Diff: chrome/test/data/android/media/audio-play.html

Issue 1810333004: Replace proprietary codec based test media with open codec based versions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Disable test per zqzhang. Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/test/data/android/media/audio.ogg ('k') | chrome/test/data/android/media/mp3-play.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html> 1 <html>
2 <title>test</title> 2 <title>test</title>
3 <body bgcolor="Silver"> 3 <body bgcolor="Silver">
4 <audio id='audio1' src="mpthreetest.mp3" controls></audio> 4 <audio id='audio1' src="audio.ogg" controls></audio>
5 <script> 5 <script>
6 var audio = document.getElementById('audio1'); 6 var audio = document.getElementById('audio1');
7 var mediaElement = audio; 7 var mediaElement = audio;
8 8
9 function playaudio() { 9 function playaudio() {
10 mediaElement.play(); 10 mediaElement.play();
11 } 11 }
12 12
13 audio.oncanplaythrough = function() { 13 audio.oncanplaythrough = function() {
14 document.title = 'ready_to_play'; 14 document.title = 'ready_to_play';
15 } 15 }
16 16
17 audio.onended = function(e) { 17 audio.onended = function(e) {
18 document.title = 'ended'; 18 document.title = 'ended';
19 } 19 }
20 </script> 20 </script>
21 <button id="button1" onclick="playaudio()">Click me</button> 21 <button id="button1" onclick="playaudio()">Click me</button>
22 </body> 22 </body>
23 </html> 23 </html>
OLDNEW
« no previous file with comments | « chrome/test/data/android/media/audio.ogg ('k') | chrome/test/data/android/media/mp3-play.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698