blob: e512f17ff0f8877f23c0c7e44fe5792970b4ab43 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
<script src=/common/media.js></script>
<script src=/permissions-policy/resources/picture-in-picture.js></script>
<script>
'use strict';
window.addEventListener('load', () => {
isPictureInPictureAllowed().then(enabled => {
window.parent.postMessage({ type: 'availability-result', enabled }, '*');
});
}, { once: true });
</script>
|