1 // META: script=/resources/WebIDLParser.js
2 // META: script=/resources/idlharness.js
3 // META: script=/common/media.js
8 // https://w3c.github.io/remoteplayback/
15 const media = document.createElement('video');
16 media.src = getVideoURI('/media/movie_5');
17 media.width = media.height = 10;
18 document.body.appendChild(media);
21 // Will be surfaced when media is undefined below.
24 idl_array.add_objects({
25 HTMLVideoElement: ['media'],
26 RemotePlayback: ['media.remote']