<!DOCTYPE html>
<html>
<head>
  <title>Hello World in Etro</title>
  <script src="../../dist/etro-iife.js"></script>
</head>
<body>
  <script>
    window.addEventListener('load', () => {
      const canvas = document.createElement('canvas')
      document.body.appendChild(canvas)

      const video = document.createElement('video')
      video.src = '../assets/beach.mp4'

      window.onclick = () => {
        canvas.width = video.videoWidth // you could also do movie.width = video.videoWidth;
        canva