| OLD | NEW | 
| (Empty) |  | 
 |   1 <!doctype html> | 
 |   2 <html> | 
 |   3   <head> | 
 |   4     <meta charset=utf-8> | 
 |   5     <title>Encrypted Media Extensions: Encrypted fired on encrypted media file w
    ith DRM, mp4</title> | 
 |   6     <link rel="help" href="https://w3c.github.io/encrypted-media/"> | 
 |   7  | 
 |   8     <!-- Web Platform Test Harness scripts --> | 
 |   9     <script src=/resources/testharness.js></script> | 
 |  10     <script src=/resources/testharnessreport.js></script> | 
 |  11  | 
 |  12     <!-- Helper scripts for Encrypted Media Extensions tests  --> | 
 |  13     <script src=/encrypted-media/util/utils.js></script> | 
 |  14     <script src=/encrypted-media/util/fetch.js></script> | 
 |  15     <script src=/encrypted-media/util/testmediasource.js></script> | 
 |  16     <script src=/encrypted-media/util/utf8.js></script> | 
 |  17  | 
 |  18     <!-- Content metadata --> | 
 |  19     <script src=/encrypted-media/content/content-metadata.js></script> | 
 |  20  | 
 |  21     <!-- The script for this specific test --> | 
 |  22     <script src=/encrypted-media/scripts/onencrypted.js></script> | 
 |  23  | 
 |  24   </head> | 
 |  25   <body> | 
 |  26     <div id='log'></div> | 
 |  27  | 
 |  28     <div id='video'> | 
 |  29         <video id="videoelement" width="200px"></video> | 
 |  30     </div> | 
 |  31  | 
 |  32     <script> | 
 |  33         var contentItem = content['mp4-av-multikey'], | 
 |  34             config = { | 
 |  35                 video: document.getElementById('videoelement'), | 
 |  36                 content: contentItem, | 
 |  37                 audioType: contentItem.audio.type, | 
 |  38                 videoType: contentItem.video.type, | 
 |  39                 audioPath: contentItem.audio.path, | 
 |  40                 videoPath: contentItem.video.path, | 
 |  41                 initDataType: contentItem.initDataType, | 
 |  42                 keys: contentItem.keys | 
 |  43             }; | 
 |  44         runTest(config); | 
 |  45     </script> | 
 |  46   </body> | 
 |  47 </html> | 
| OLD | NEW |