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

Side by Side Diff: trunk/src/content/test/data/media/encrypted_media_player.html

Issue 383063009: Revert 282795 "Have media content and chrome browser tests load ..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <title>Encrypted Media Player</title> 4 <title>Encrypted Media Player</title>
5 </head> 5 </head>
6 <body onload="runTest();"> 6 <body onload="runTest();">
7 <video controls></video> 7 <video controls></video>
8 <script src="media_utils.js" type="text/javascript"></script> 8 <script src="media_utils.js" type="text/javascript"></script>
9 <script src="media_source_utils.js" type="text/javascript"></script> 9 <script src="media_source_utils.js" type="text/javascript"></script>
10 <script src="encrypted_media_utils.js" type="text/javascript"></script> 10 <script src="encrypted_media_utils.js" type="text/javascript"></script>
(...skipping 17 matching lines...) Expand all
28 // The test completes after playing the encrypted media for 1 second and 28 // The test completes after playing the encrypted media for 1 second and
29 // getting the ended event or when an error occurs at any time. 29 // getting the ended event or when an error occurs at any time.
30 function runTest() { 30 function runTest() {
31 loadEncryptedMediaFromURL(video); 31 loadEncryptedMediaFromURL(video);
32 video.addEventListener('timeupdate', onTimeUpdate); 32 video.addEventListener('timeupdate', onTimeUpdate);
33 video.play(); 33 video.play();
34 } 34 }
35 </script> 35 </script>
36 </body> 36 </body>
37 </html> 37 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698