Skip navigation links

Video Player

The Video Player is available as a standalone component that can be placed on a page content area. It can also be placed in content containers, such as a Grid Container, or in other content components, such as in an Accordion tab. The Video Player includes optional title and caption fields and works with Sitecore-hosted video files and YouTube.

Screenshot of video component on page
Figure 1: Example of a Video Player component, preceded by text on the page.

Component Information

Benefits

  • Provides a means of sharing video content on a website without forcing the viewer to leave the page to watch the video. 
  • Enables a content author to provide contextual descriptive text with the video. 
  • Works with YouTube, so units can avoid having to upload video files in multiple locations and can benefit from the additional visibility of sharing videos to YouTube. 

Example Use Cases

  • Embed social media videos into a webpage from YouTube.
  • Share videos within context of related content, such as tutorials or demonstration videos with written instructions. 

Live Example

Template Data

Title (single-line text)

  • Enter a title to appear with the video.
  • Optional field.

Caption (single-line text)

  • Enter a description to appear with the video.
  • Optional field.

Variant

  • Default
  • Modal

Title Padding

  • Six levels of left and right padding (from 0 to 5)

Caption Padding

  • Six levels of left and right padding (from 0 to 5)

Video Padding

  • Six levels of left and right padding (from 0 to 5)

Play Button Style

  • Dark
  • Light

Use Modal (checkbox)

Autoplay (checkbox)

Title (single-line text)

  • Enter a title to appear with the video.
  • Optional field.

Caption (single-line text)

  • Enter a description to appear with the video.
  • Optional field.

Media

  • Click Upload to add a video file. 
  • Click Browse media library to select a video file previously uploaded. 
  • Optional field. If using a YouTube video, a file is not needed. 

Video Captions

  • Click Upload to add a caption file. 
  • Optional field. If using a YouTube video, a file is not needed. Be sure captions were added in YouTube. 

YouTube ID

  • Include the YouTube video ID from the YouTube URL. 
  • Optional field. If using a native video file uploaded to the media field, this ID field remains empty. 

Video Thumbnail Image

  • The thumbnail is the image that displays in a component before the video is played. 
  • Click Upload to add a video thumbnail file.
  • Click Browse media library to select an image file previously uploaded. 
  • Optional field. If using a YouTube video, a thumbnail file is not needed. Be sure to set the video thumbnail image in YouTube.

Frequently Asked Questions

No, the Video Player component only supports YouTube and Sitecore-hosted video files.

From a public video page, the video ID is the string of characters that appears after “watch?v=” in the video URL (available in the browser URL bar or from the Share link option on YouTube). If the video is in a list, do not include the character after the video ID starting with “&list=.” 

From the Video Details pane on an owned YouTube channel, the video ID is the string of characters at the end of the Video link, displayed under the preview panel on the right side of the Video details page.  

Instructions for Use

In Pages:

  1. Select the page in the Content Tree.
  2. Click the “+” button in any Placeholder box below the Breadcrumb links.
  3. Select the Video Player component from list.

Alternate method:

  1. Click Components tab at the top of the Content Tree.
  2. Locate the Video Player component.
  3. Drag the Video Player component to any empty placeholder area of the page or into the component that will contain the Video Player below the Breadcrumb links.

If this is new Video Player content:

  1. In the “Assign content item” dialog box, hover over “Data” until a “+” appears to the right.
  2. Click “+” and select Video Player.
  3. Give the component a unique name and click off the name area.
  4. Click Assign.

If using existing Video Player Data (content):

  1. Select the proper Video Player data source from the list.
  2. Click Assign.

In Pages:

  1. Click the Video Player component to display the toolbar.
  2. Click the Explorer icon.
Screenshot of video player toolbar
Figure 2: The Explorer icon in the Video Player toolbar.

In Explorer:

  1. In left pane, locate the Video Player and click to select.
Screenshot of video player options in Explorer
Figure 3: In this example, the second panel of Accordion 1 has been selected for editing.
  1. Locate and click the content fields to change. Make changes in the right pane.
  2. Title and Caption fields can be updated in Explorer or Pages.
  3. If using a native video, use the Media, Video Caption and Video Thumbnail field options to upload necessary files.
  4. If using a YouTube video, enter the video ID from YouTube in the YouTubeID field. The system will automatically pull in the video thumbnail from YouTube. 
  5. Return to Pages by closing the Explorer browser tab. 

In Pages:

  1. Refresh the screen in Pages.
  2. Make additional adjustments in Pages, including advanced styling, if necessary.
  3. Preview and publish the page.

Tool Use Guide

 

 PagesExplorerContent Editor
Add component to pageOptimal  
Assign YouTube video to component OptimalPossible
Upload video to host in Sitecore OptimalPossible
Add video titleOptimalPossiblePossible
Add video caption (descriptive text under video, not to be confused with open or closed captioning for the audio of the video)OptimalPossiblePossible
Add video thumbnail for Sitecore-hosted video* OptimalPossible
Add audio captioning for Sitecore-hosted video* OptimalPossible

*Upload audio captioning and video thumbnails for YouTube-hosted videos directly in YouTube.

 

Documentation updated: Aug. 18, 2024