How to use embed code in gmail email

To use an embed code in a Gmail email, you can follow these steps:

Method 1: Using the Gmail Compose window

  1. Compose a new email in Gmail.
  2. Click on the "Insert" menu and select "Embed" from the dropdown list.
  3. A new window will open with a text box. Paste your embed code into this box.
  4. You can also add a title and description to your embed code if needed.
  5. Click "Insert" to embed the code into your email.
  6. The embed code will be inserted into your email as a block of HTML code.

Method 2: Using the Gmail HTML editor

  1. Compose a new email in Gmail.
  2. Click on the "Compose" button to open the email in the HTML editor.
  3. Click on the "HTML" button in the top-right corner of the editor.
  4. A new window will open with the HTML code editor.
  5. Paste your embed code into the HTML editor.
  6. You can also add additional HTML code or formatting as needed.
  7. Click "Update" to save your changes.
  8. The embed code will be inserted into your email as a block of HTML code.

Tips and considerations

Here's an example of what the embed code might look like in a Gmail email:

<iframe width="560" height="315" src="https://www.youtube.com/embed/VIDEO_ID" frameborder="0" allowfullscreen></iframe>

Replace VIDEO_ID with the actual ID of the video you want to embed.