-
Notifications
You must be signed in to change notification settings - Fork 0
/
scratch.html
14 lines (9 loc) · 726 Bytes
/
scratch.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<html>
<body>
<!-- Sadly, this doesn't work, because we're not allowed to reach into a cross-origin iframe. -->
<iframe class="webremoteplay_iframe" src="https://scratch.mit.edu/projects/439030700/embed" allowtransparency="true" width="485" height="402" frameborder="0" scrolling="no" allowfullscreen></iframe>
<video playsinline autoplay muted style="width: 100%; height: 100%; margin: 0 auto; display: block; image-rendering: pixelated;" class="webremoteplay_video" oncontextmenu="event.preventDefault()" onmousedown="window.focus()"></video>
<script type="text/javascript" src="https://unpkg.com/[email protected]/dist/peerjs.min.js"></script>
<script type="text/javascript" src="webremoteplay.js"></script>
</body>
</html>