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 no 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.
Who can use this feature?
Instructions
- Navigate to the desired page
- Ensure that Live Edit Is On
- Select the Widgets tab on the left-hand side
- Add the Custom HTML Widget to your page
- In the Widget, reference the audio file
- 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>
- 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:
- Click Done
- View the Audio or Video Player
- Click Save
Feedback About the Article
Let us know what was helpful or not helpful about the article below.1 comment
Is there any way to create a marker in the audio link so it starts at a certain point in the audio?
Please sign in to leave a comment.