Ever wanted to have a youtube video on your website? Well this is for you, A very simple example on adding an embeded youtube video (that plays inside your website). The steps to add the embed are written out in the code, just click Run to see them!
let bodyHtml = `
Youtube Embed Example
Youtube Embed Example
To embed a youtube video to your website is super simple!
You can either read This Google Article about it
Or you can read This W3Schools Article about it
But ofc I will Explain too...
Go to the Youtube Video or playlist you want to embed, click share, click <> or embed and then copy the code it has there and paste it to your website!
Here is the newest autocode video Embeded into this page!
`;
return {
statusCode: 200,
headers: {
'Content-Type': 'text/html',
},
body: bodyHtml,
};