Live Edit


 






Add Audio Files to Your Page

Overview

This article will show you how to embed audio files onto your page.

Currently, users can upload audio files to the Document Center and then reference the items using HTML. Users must have appropriate Document Center permissions to add or update files.

This is not a recommended practice for video files due to HTML video links not being supported on all browsers (i.e. Internet Explorer). It allows the use of small media files without linking to another site. Using large files in this way can detrimentally affect site load speeds.

The file formats supported by the same browsers as the CMS are as follows. Any other formats may not work correctly depending on the web browser.

  • Music: mp3

There is not a built-in tool or widget to house media files. Media files can be referenced using any widget or item that allows HTML editing. This includes but is not limited to Custom HTML widgets, Editor widgets or Info Advanced items.

Instructions

  1. Navigate to the desired page
  2. Ensure that Live Edit Is On
    ensure_that_live_edit_is_on.jpg
  3. Select the Widgets tab on the left-hand side
    select_widgets.jpg
  4. Add the Custom HTML Widget to your page
    select_custom_HTML_widget_to_your_page.jpg
  5. In the Widget, reference the audio file
    in_the_widget__reference_the_audio_file.jpg
    • To reference the audio file, use the relative URL of the file in the Document Center as the src. For example, to reference the following file:
      • Link: https://cp-support.civicplus.com/DocumentCenter/View/xxxx/lightsaber
      • HTML: 
        <audio controls="">
        <source src="/DocumentCenter/View/7940/lightsaber" type="audio/mpeg">
        Your browser does not support the audio tag.
        </source>
        </audio>
  6. Click Done
    select_done_to_save_custom_html.jpg
  7. View Audio or Video Player
    view_embedded_audio_file.jpg
  8. Click Save at the top of the page
    select_save_to_save_page.jpg

Resources




I'd Like to Request an Enhancement

0 out of 0 found this helpful

Updated:
Follow

Article Feedback