Skip to content

Embed YouTube Videos ​

Embedding a video into your RevasOS site is easy.

YouTube ​

  1. Go to the YouTube video you want to embed.
  2. Click the Share button below the video.
  3. Select the Embed option.
  4. Copy the code provided (it starts with <iframe>).
  5. On RevasOS:
    • Go to the page where you want to embed the video.
    • Click New Block and select New Code Block.
    • Paste the code into the block and save.

Change the size and appearance of the video ​

If you want to change the size of the video (for example, make it full-page or center it with padding), you can do so by editing the HTML code of the iframe. Here's how:

  1. Copy the iframe code of the video you already inserted.
  2. Paste it into a ChatGPT prompt with a request like this:
    • To make it full page: Edit this HTML to make the video full page. I only want HTML with inline CSS, no JavaScript, here's the code: [replace this space with your embed code]
    • To center it on the page: Edit this HTML to make the video centered, fairly large but with padding around it. I only want HTML with inline CSS, no JavaScript, here's the code: [replace this space with your embed code]
  3. Copy the resulting code;
  4. On RevasOS:
    • Go to the page where you want to embed the video.
    • Click New Block and select New Code Block.
    • Paste the code into the block and save.