Answers.Body: <p>You probably won't have much luck embedding the actual video into a mailing due to restrictions in email clients. One workaround could be embedding a screenshot of the video which is then linked to the webpage where the video can be played (so when the screenshot is clicked, they are sent to the website to view).</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-08-21T16:16:50.433Z
Answers.Text: Thank you - yes that is my current workaround but I was hoping I was just missing something!
Answers.UserDisplayName: Ren Fou
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-08-20T15:25:34.850Z
Answers.LastActivityDate: 2019-08-20T15:25:34.850Z
Answers.UserDisplayName: Laryn
Answers.Body: <p>As Laryn said, email clients don't like iframes. This is because of the potential for malicious content, so if you use iframes in your email not only will they not function but they could flag your entire message as junk and lower your delivery rate.</p>
  
  <p>Laryn's answer is the best answer for basic inclusion of a video in your email (link an screenshot to the video).</p>
  
  <p>However, you might want to use the public archive of the Civi Mailing on your website, i.e. the link for joomla will be something like <a href="https://[yourdomain]/index.php?option=com_civicrm&amp;task=civicrm/mailing/view&amp;reset=1&amp;id=[CIVI" rel="nofollow noreferrer">https://[yourdomain]/index.php?option=com_civicrm&amp;task=civicrm/mailing/view&amp;reset=1&amp;id=[CIVI</a> Mailing ID]. (That's also the "read in your browser" link that might show at the top of your emails.) And for that, you may want to embed the video rather than having a link. To do that --after the mailing has been completely sent! --, you would need to edit the code in the database to replace the linked image with the appropriate iframe. A careful layperson who knows something of html can do this:</p>
  
  <ol>
  <li>In your webhost's control panel (not Joomla, the host) use the utility phpadmin to access your database.</li>
  <li>Find the table civicrm_mailing and Browse</li>
  <li>Find the line for your mailing and Edit.</li>
  <li>In the body_html field, find the ...image here... tag of the linked image. Wrap those tags in the appropriate iframe like so:</li>
  </ol>
  
  <p><code>&lt;iframe [details of the embedded content]&gt;
  &lt;a&gt;...image here...&lt;/a&gt;
  &lt;/iframe&gt;</code></p>
  
  <ol start="5">
  <li>Click "Go" to save your changes.</li>
  </ol>
  
  <p>The point of wrapping the iframe around your original content is so that any browsers that don't support iframes will then show the original linked image.</p>
  
  <p>If you do this, be aware that if you then reuse that mailing in Civi, you may have to deal with an inappropriate iframe. Not sure how Civi handles this.</p>
  
  <p>Here's <a href="https://justhope.org/news/march-2019-newsletter" rel="nofollow noreferrer">an example</a> from our website. I've not only changed the body_html of the mailing to include the iframe, but I've embedded the actual mailing in a joomla article so it is better integrated into our website.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-08-21T16:17:37.327Z
Answers.Text: Thank you! This will be something I can try out!
Answers.UserDisplayName: Ren Fou
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-08-20T17:39:31.837Z
Answers.LastActivityDate: 2019-08-20T17:39:31.837Z
Answers.UserDisplayName: Phil Morice Brubaker
Body: <p>I am a novice with Joomla and have recently taken the position at an organization managing the CMS.</p>
  
  <p>We are writing a newsletter and I want to embed a youtube video within the mailing. After following the steps for updating Joomla's iframe restrictions (tinyMCE extension), I see the video embedded in the mail, but when it is actually sent, the video is not accessible.</p>
  
  <p>All the articles I am finding are for embedding a youtube video into a Joomla page.</p>
  
  <p>Any advice will be appreciated!
  And since I am so new to this, Layman's Terms would be appreciated!
  Thank you kindly.
  Renee F</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-08-20T17:20:23.307Z
Comments.Text: As Laryn says, this isn't possible.  A good rule of thumb for what you can embed in an email is, "Have I ever seen this in an email I've received?" Given that email marketers will add everything they possibly can, you can be sure that if you've never seen an embedded video, a signup form/survey, etc., it's because it's not possible.
Comments.UserDisplayName: Jon G - Megaphone Tech
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-08-20T17:22:03.393Z
Comments.Text: The workaround I've seen, which I don't generally endorse because it's misleading, is to take a screenshot of the video while paused in Youtube (such that it has the controls and the central "Play" button in the image).  Embed the image, and link the image to Youtube.  When someone goes to press "Play" it will open the video in their web browser.
Comments.UserDisplayName: Jon G - Megaphone Tech
Tags: <civimail>
Title: Joomla - Embedding youtube video in CIVI mailing
ThreadText: # Joomla - Embedding youtube video in CIVI mailing
  
  (Asked by: username_0 on 2019-08-20)
  
  I am a novice with Joomla and have recently taken the position at an organization managing the CMS.
  
  We are writing a newsletter and I want to embed a youtube video within the mailing. After following the steps for updating Joomla's iframe restrictions (tinyMCE extension), I see the video embedded in the mail, but when it is actually sent, the video is not accessible.
  
  All the articles I am finding are for embedding a youtube video into a Joomla page.
  
  Any advice will be appreciated!
  And since I am so new to this, Layman's Terms would be appreciated!
  Thank you kindly.
  Renee F
  
  **Tags:** civimail
  
  > **Comments:**
  > **username_1**: As username_2 says, this isn't possible.  A good rule of thumb for what you can embed in an email is, "Have I ever seen this in an email I've received?" Given that email marketers will add everything they possibly can, you can be sure that if you've never seen an embedded video, a signup form/survey, etc., it's because it's not possible.  
  > **username_1**: The workaround I've seen, which I don't generally endorse because it's misleading, is to take a screenshot of the video while paused in Youtube (such that it has the controls and the central "Play" button in the image).  Embed the image, and link the image to Youtube.  When someone goes to press "Play" it will open the video in their web browser.  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_2 on 2019-08-20. Score: 3
  
  You probably won't have much luck embedding the actual video into a mailing due to restrictions in email clients. One workaround could be embedding a screenshot of the video which is then linked to the webpage where the video can be played (so when the screenshot is clicked, they are sent to the website to view).
  
  > **Comments:**
  > **username_0**: Thank you - yes that is my current workaround but I was hoping I was just missing something!  
  
  ---
  
  ### Answer by username_3 on 2019-08-20. Score: 0
  
  As username_2 said, email clients don't like iframes. This is because of the potential for malicious content, so if you use iframes in your email not only will they not function but they could flag your entire message as junk and lower your delivery rate.
  
  username_2's answer is the best answer for basic inclusion of a video in your email (link an screenshot to the video).
  
  However, you might want to use the public archive of the Civi Mailing on your website, i.e. the link for joomla will be something like <https://[yourdomain]/index.php?option=com_civicrm&task=civicrm/mailing/view&reset=1&id=[CIVI> Mailing ID]. (That's also the "read in your browser" link that might show at the top of your emails.) And for that, you may want to embed the video rather than having a link. To do that --after the mailing has been completely sent! --, you would need to edit the code in the database to replace the linked image with the appropriate iframe. A careful layperson who knows something of html can do this:
  
  1. In your webhost's control panel (not Joomla, the host) use the utility phpadmin to access your database.
  2. Find the table civicrm\_mailing and Browse
  3. Find the line for your mailing and Edit.
  4. In the body\_html field, find the ...image here... tag of the linked image. Wrap those tags in the appropriate iframe like so:
  
  `...image here...`
  
  5. Click "Go" to save your changes.
  
  The point of wrapping the iframe around your original content is so that any browsers that don't support iframes will then show the original linked image.
  
  If you do this, be aware that if you then reuse that mailing in Civi, you may have to deal with an inappropriate iframe. Not sure how Civi handles this.
  
  Here's [an example](https://justhope.org/news/march-2019-newsletter) from our website. I've not only changed the body\_html of the mailing to include the iframe, but I've embedded the actual mailing in a joomla article so it is better integrated into our website.
  
  > **Comments:**
  > **username_0**: Thank you! This will be something I can try out!  
  
  ---
  
  