video-player
This component is used to play a video in stories, headers, or as components in a jig.default.
Core structure | |
---|---|
URL | Specify the URL for the video. The URL format can be:
|
Other options | |
---|---|
autoplay | Set to true will automatically start playing the video. Set to false requires you to press the play button. Default setting is false. |
loop | For continuous looping of the video set the property to true. Default setting is false. |
ratio | There are 2 options:
|
title | The title of the video. - With a 16:9 ratio, the text overlays at the bottom left of the video. - With a 4:3 ratio the text displays under the video. Title and subtitle must be configured together for the text to display on the video. Using either one on their own will result in no text being displayed. |
subtitle | The subtitle of the video. - With a 16:9 ratio, the text overlays at the bottom left of the video. - With a 4:3 ratio the text displays under the video. Title and subtitle must be configured together for the text to display on the video. Using either one on their own will result in no text being displayed. |
- We recommend using a paid Vimeo subscription which gives you access to the mp4 link that allows the byline and other attributes to be hidden. You require a paid Vimeo membership to obtain the mp4 Vimeo link. Follow the steps in Vimeo direct links to video files to copy the mp4 link.
- For Vimeo videos, set up your OAuth token once in the Vimeo app and then use it for all videos. See the following resources on creating tokens:
- When configuring video settings for Vimeo and YouTube videos, preferably use the settings within the respective apps first before setting URL parameters, this ensure videos display as expected in the .