Adding a Vimeo Video
- Go to the Vimeo video you want to embed.
- Click the Share icon (the paper airplane symbol).
- Under the Embed Code section, copy the code provided (it starts with
<iframe>
). - 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.
Changing the Video Size and Appearance
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:
- Copy the iframe code of the video you already inserted.
- 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]
- To make it full page:
- Copy the resulting code;
- 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.