3

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?

2 Answers 2

3

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].

4
  • I was able to embed a YouTube video by copying and pasting the embed code in the source code for the page. Thanks.
    – Gilbert
    Commented Sep 28, 2017 at 12:15
  • Exactly - great you got this working! Commented Sep 28, 2017 at 12:17
  • 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. Commented Jun 15, 2022 at 18:25
  • Well - 5y ago it worked! Commented Jun 16, 2022 at 14:31
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

1
  • That did not work. Still get the same error message.
    – Gilbert
    Commented Sep 28, 2017 at 12:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.