Paul Rudd's Tayne computer sequence, kept here as prior art for Wimble apps that embed ordinary external web content.
1234567891011121314151617181920212223242526272829303132// @ts-check
/** @param {{ args: string[], accept: string[] }} context */export default function priorArt({ args, accept }) { if (args.includes("--help")) return "Paul Rudd's Tayne computer sequence.\n\nUsage: run.js\n"; for (const type of accept) { if (type === "text/html") return new Response(html(), { headers: { "content-type": "text/html; charset=utf-8" }, }); if (type === "text/plain") return "https://www.youtube.com/watch?v=a8K6QUPmv8Q\n"; }}
function html() { return `<!doctype html><html lang="en"><head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <title>Paul Rudd's Tayne computer sequence</title> <link rel="stylesheet" href="./style.css"></head><body> <div class="frame"> <iframe title="Paul Rudd's Tayne computer sequence" src="https://www.youtube.com/embed/a8K6QUPmv8Q?rel=0" allow="autoplay; encrypted-media; picture-in-picture; fullscreen" allowfullscreen ></iframe> </div></body></html>`;}