Media Player
The Media Player component is used to embed audio content directly on a web page. You can also use it to embed videos hosted on Pegasus.
It can also be used to embed videos hosted on the Pegasus server, like this one:
Note:
- To embed a YouTube video on a page, use the YouTube Video component.
- To embed a Vimeo video, use the External component.
Best practices
Multiple audio or video files
- It's technically possible to include multiple Media Player components on a page, but doing so may overwhelm your visitors.
- If you have multiple audio or video files, speak with your Communications Advisor. They'll help you achieve your communication goals while providing a great visitor experience.
Audio
- Prepare the audio transcript. It should capture speech word for word and include any other meaningful information that would add context, e.g. describe sound effects or background music.
- Save the audio as an .mp3 file.
- Submit a Video/audio file upload request to Studio. Once the audio file's uploaded, Studio will send you a link to it.
- Add a Media Player component to an appropriate place on your page.
- Open the component for editing.
- In the Medium tab:
- Set Medium type to Audio.
- Add a clear Tracking title for the audio, e.g. Loyola's Legacy narrated by Julian McKenzie, BA '16. This helps your page rank higher in Google searches.
- Click Add item, then add the link from Studio.
- Click OK.
- Just below the Media Player component, provide the transcript in a WYSIWYG, in a WYSIWYG within an accordion panel, or as a downloadable text file.
Video
- Save the video as a .mp4 file.
- Submit a Video/audio file upload request to Studio. Once the video's uploaded, Studio will send you a link to it.
- Add a Media Player component to an appropriate place on your page.
- Open the component for editing.
- In the Medium tab:
- Set Medium type to Video.
- Add a clear Tracking title for the video. This helps your page rank higher in Google searches.
- Click Add item, then add the link Studio gave you.
- In the Image tab, add an appropriate image from the DAM. (If you don't, there will be a black rectangle, which doesn't look good!)
Video with an image added to the Media Player component
Video without an image added to the Media Player component
- Click OK.
- Preview and refresh the page. The ‘play’ button and video controls are automatically superimposed over the image.