Embedding video and audio

Like images, it is best practice to add new video and audio files using the File > Filelist module, which is covered in the chapter about the file module. This method means files are centrally stored and any information or metadata you add to the file is used wherever that media file is used on the site.

When you use the Select & upload files button, the media file is attached to the page, and any information or metadata is stored only for use on this page.

Add a video to a page

On the Media tab, click the Add media file button, then follow the same process as you would to Add an image to a page.

../../_images/EditContentMediaTab.png

The Media tab for a content element

Alternatively, you can click the Add media by URL button to paste a link to a video or audio file from the web.

Configure the video

Use the Autoplay setting to specify whether the video should start playing as soon as the page loads.

You can configure various settings for media files (for example, adding a border, setting page position and behavior) just as you would to configure an image.