| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Adds a Javascript source tag to the document. | 5 // Adds a Javascript source tag to the document. |
| 6 function addScriptTag(src) { | 6 function addScriptTag(src) { |
| 7 document.write( | 7 document.write( |
| 8 '<script type="text/javascript" src="eme_player_js/' + src + | 8 '<script type="text/javascript" src="eme_player_js/' + src + |
| 9 '"></script>'); | 9 '"></script>'); |
| 10 } | 10 } |
| 11 | 11 |
| 12 // Load all the dependencies for the app. | 12 // Load all the dependencies for the app. |
| 13 addScriptTag('globals.js'); | 13 addScriptTag('globals.js'); |
| 14 addScriptTag('utils.js'); | 14 addScriptTag('utils.js'); |
| 15 addScriptTag('test_config.js'); | 15 addScriptTag('test_config.js'); |
| 16 addScriptTag('fps_observer.js'); | 16 addScriptTag('fps_observer.js'); |
| 17 addScriptTag('media_source_utils.js'); | 17 addScriptTag('media_source_utils.js'); |
| 18 addScriptTag('player_utils.js'); | 18 addScriptTag('player_utils.js'); |
| 19 addScriptTag('prefixed_clearkey_player.js'); | |
| 20 addScriptTag('clearkey_player.js'); | 19 addScriptTag('clearkey_player.js'); |
| 21 addScriptTag('widevine_player.js'); | 20 addScriptTag('widevine_player.js'); |
| 22 addScriptTag('prefixed_widevine_player.js'); | |
| 23 addScriptTag('file_io_test_player.js'); | 21 addScriptTag('file_io_test_player.js'); |
| 24 addScriptTag('eme_app.js'); | 22 addScriptTag('eme_app.js'); |
| OLD | NEW |