1 2 3 4 5 6 7 8 9 10 11 12
<!DOCTYPE html> <meta name="viewport" content="initial-scale=1"> <script src="pixel_video_from_canvas.js"></script> <script> function main() { runTest("2d", true); } </script> <body onload="main()"> <canvas id='cnv' width='101' height='101'></canvas> <video id='vid' muted></video> </body>