1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23

media / test / data / eme_player_js / app_loader.js [blame]

// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Adds a Javascript source tag to the document.
function addScriptTag(src) {
  document.write(
      '<script type="text/javascript" src="eme_player_js/' + src +
      '"></script>');
}

// Load all the dependencies for the app.
addScriptTag('globals.js');
addScriptTag('utils.js');
addScriptTag('test_config.js');
addScriptTag('fps_observer.js');
addScriptTag('media_source_utils.js');
addScriptTag('player_utils.js');
addScriptTag('clearkey_player.js');
addScriptTag('widevine_player.js');
addScriptTag('unit_test_player.js');
addScriptTag('eme_app.js');
addScriptTag('mse_player_utils.js');