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

Side by Side Diff: media/test/data/player.html

Issue 408993002: Have media content and chrome browser tests load data from media/test/data (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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 <html> 1 <html>
2 <body onload="RunTest();"> 2 <body onload="RunTest();">
3 <div id="player_container"></div> 3 <div id="player_container"></div>
4 </body> 4 </body>
5 5
6 <script type="text/javascript"> 6 <script type="text/javascript">
7 // <audio> or <video> player element. 7 // <audio> or <video> player element.
8 var player; 8 var player;
9 9
10 // Listen for |event| from |element|, set document.title = |event| upon event. 10 // Listen for |event| from |element|, set document.title = |event| upon event.
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 68
69 // Ensure we percolate up any error events. 69 // Ensure we percolate up any error events.
70 InstallTitleEventHandler(player, 'error'); 70 InstallTitleEventHandler(player, 'error');
71 71
72 // Starts the player. 72 // Starts the player.
73 player.src = media_url; 73 player.src = media_url;
74 player.play(); 74 player.play();
75 } 75 }
76 </script> 76 </script>
77 </html> 77 </html>
OLDNEW
« no previous file with comments | « media/test/data/mse_config_change.html ('k') | media/test/data/test_key_system_instantiation.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698