Answers.Body: <p>I have not tested this but it may be as simple as adding mp4 as a safe file ending here: /civicrm/admin/options/safe_file_extension?reset=1</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-09-28T12:14:16.907Z
Answers.Text: That did not work. Still get the same error message.
Answers.UserDisplayName: Gilbert
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-09-26T16:37:05.480Z
Answers.LastActivityDate: 2017-09-26T16:37:05.480Z
Answers.UserDisplayName: Fabian
Answers.Body: <p>Native CiviCRM -> try uploading your video to a third party service (like Vimeo or YouTube) and then embed the reference to it in an iFrame [where you describe/details of the Event].</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-09-28T12:15:28.777Z
Answers.Text: I was able to embed a YouTube video by copying and pasting the embed code in the source code for the page. Thanks.
Answers.UserDisplayName: Gilbert
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-09-28T12:17:01.183Z
Answers.Text: Exactly - great you got this working!
Answers.UserDisplayName: KarinG - Semper IT
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-06-15T18:25:09.800Z
Answers.Text: It seems like CiviCRM is blocking this embed code somehow. If I try this in a Drupal page, it works fine, but in the CiviEvent, the code never makes it to the actual event page even though the video preview is shown when editing the event.
Answers.UserDisplayName: spontarelliam
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-06-16T14:31:51.440Z
Answers.Text: Well - 5y ago it worked!
Answers.UserDisplayName: KarinG - Semper IT
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-09-26T16:33:29.243Z
Answers.LastActivityDate: 2017-09-26T16:33:29.243Z
Answers.UserDisplayName: KarinG - Semper IT
Body: <p>We are running CiviCRM version 4.7.24 on a Drupal 7 site. My client would like to add an MP4 video to an event page. I tried a simple upload of the video using the image button and I get the warning "Unknown image format/encoding" and the file is not uploaded. Is it possible to use video in CiviCRM event pages? If so, how do I do it?</p>
  
Tags: <civievent>
Title: How do I add a video file to an event?
ThreadText: # How do I add a video file to an event?
  
  (Asked by: username_0 on 2017-09-26)
  
  We are running CiviCRM version 4.7.24 on a Drupal 7 site. My client would like to add an MP4 video to an event page. I tried a simple upload of the video using the image button and I get the warning "Unknown image format/encoding" and the file is not uploaded. Is it possible to use video in CiviCRM event pages? If so, how do I do it?
  
  **Tags:** civievent
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_2 on 2017-09-26. Score: 3 | Accepted answer
  
  Native CiviCRM -> try uploading your video to a third party service (like Vimeo or YouTube) and then embed the reference to it in an iFrame [where you describe/details of the Event].
  
  > **Comments:**
  > **username_0**: I was able to embed a YouTube video by copying and pasting the embed code in the source code for the page. Thanks.  
  > **username_2**: Exactly - great you got this working!  
  > **username_3**: It seems like CiviCRM is blocking this embed code somehow. If I try this in a Drupal page, it works fine, but in the CiviEvent, the code never makes it to the actual event page even though the video preview is shown when editing the event.  
  > **username_2**: Well - 5y ago it worked!  
  
  ---
  
  ### Answer by username_1 on 2017-09-26. Score: 0
  
  I have not tested this but it may be as simple as adding mp4 as a safe file ending here: /civicrm/admin/options/safe\_file\_extension?reset=1
  
  > **Comments:**
  > **username_0**: That did not work. Still get the same error message.  
  
  ---
  
  