OLD | NEW |
(Empty) | |
| 1 <!doctype html> |
| 2 <html> |
| 3 <head> |
| 4 <meta charset=utf-8> |
| 5 <meta name="timeout" content="long"> |
| 6 <title>Encrypted Media Extensions: Successful Playback, Temporary session wi
th DRM, mp4, expired license</title> |
| 7 <link rel="help" href="https://w3c.github.io/encrypted-media/"> |
| 8 |
| 9 <!-- Web Platform Test Harness scripts --> |
| 10 <script src=/resources/testharness.js></script> |
| 11 <script src=/resources/testharnessreport.js></script> |
| 12 |
| 13 <!-- Helper scripts for Encrypted Media Extensions tests --> |
| 14 <script src=/encrypted-media/util/utils.js></script> |
| 15 <script src=/encrypted-media/util/utf8.js></script> |
| 16 <script src=/encrypted-media/util/fetch.js></script> |
| 17 <script src=/encrypted-media/util/testmediasource.js></script> |
| 18 |
| 19 <!-- Content metadata --> |
| 20 <script src=/encrypted-media/content/content-metadata.js></script> |
| 21 |
| 22 <!-- Message handler for DRM servers --> |
| 23 <script src=/encrypted-media/util/drm-messagehandler.js></script> |
| 24 |
| 25 <!-- The script for this specific test --> |
| 26 <script src=/encrypted-media/scripts/playback-temporary-expired.js></script> |
| 27 |
| 28 </head> |
| 29 <body> |
| 30 <div id='log'></div> |
| 31 |
| 32 <div id='video'> |
| 33 <video id="videoelement" width="200px"></video> |
| 34 </div> |
| 35 |
| 36 <script> |
| 37 var keysystem = getSupportedKeySystem(), |
| 38 contentitem = content['mp4-basic'], |
| 39 handler = new MessageHandler(keysystem, contentitem), |
| 40 config = { video: document.getElementById('videoelemen
t'), |
| 41 keysystem: keysystem, |
| 42 messagehandler: handler.messagehandler, |
| 43 audioPath: contentitem.audio.path, |
| 44 videoPath: contentitem.video.path, |
| 45 audioType: contentitem.audio.type, |
| 46 videoType: contentitem.video.type, |
| 47 initDataType: contentitem.initDataType |
| 48 }; |
| 49 |
| 50 runTest(config); |
| 51 </script> |
| 52 </body> |
| 53 </html> |
OLD | NEW |