clearkey-mp4-unique-origin.https.html (1426B)
1 <!doctype html> 2 <html> 3 <head> 4 <meta charset=utf-8> 5 <title>Encrypted Media Extensions: Unique origin with Clear Key, 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/utf8.js></script> 15 16 <!-- Content metadata --> 17 <script src=/encrypted-media/content/content-metadata.js></script> 18 <!-- The script for this specific test --> 19 <script src=/encrypted-media/scripts/unique-origin.js></script> 20 21 </head> 22 <body> 23 <div id='log'></div> 24 <div id='video'> 25 <video id="videoelement" width="200px"></video> 26 </div> 27 28 <script> 29 var contentItem = content['mp4-av-multikey'], 30 config = { 31 video: document.getElementById('videoelement'), 32 keysystem: 'org.w3.clearkey', 33 initDataType: contentItem.initDataType, 34 audioType: contentItem.audio.type, 35 videoType: contentItem.video.type, 36 audioPath: contentItem.audio.path, 37 videoPath: contentItem.video.path 38 }; 39 runTest(config); 40 </script> 41 </body> 42 </html>