|
|
The Video Player is available as a widget and as web component that you can customize and import from the ThingWorx Web Component SDK.
|


|
Component
|
Button/Control
|
Keys
|
Description
|
|---|---|---|---|
|
Navigation
|
Controls navigation between the different components on the widget.
|
TAB and SHIFT+TAB
|
Move forward or backward between subcomponents in the player.
|
|
Player
|
Play/Stop Control
|
SPACE or ENTER
|
Play or stop the video
|
|
Timeline bar
|
UP or RIGHT ARROW
|
Fast forward by 10 seconds
|
|
|
DOWN or LEFT ARROW
|
Rewind by 10 seconds
|
||
|
PAGE UP
|
Fast forward by 1 minute
|
||
|
PAGE DOWN
|
Rewind by 1 minute
|
||
|
HOME
|
Go to the start of the video
|
||
|
END
|
Go to the end of the video
|
||
|
Audio
|
Mute Button
|
SPACE or ENTER
|
Mute or unmute the video
|
|
Volume Slider
|
UP or RIGHT ARROW
|
Increase the volume by 5%
|
|
|
DOWN or LEFT ARROW
|
Decrease the volume by 5%
|
||
|
HOME
|
Set the volume to 0%
|
||
|
END
|
Set volume to 100%
|
||
|
Download
|
Download Button
|
SPACE or ENTER
|
Download the video file
|
|
Fullscreen
|
Fullscreen Button
|
SPACE or ENTER
|
Enter fullscreen
|
|
ESCAPE
|
Exit fullscreen and return to windowed mode
|
|
|
A message is displayed when the download is blocked because of a security setting, such CSP rules.
|

|
Property Name
|
Description
|
Base Type
|
Default Value
|
Bindable? (Y/N)
|
Localizable? (Y/N)
|
|---|---|---|---|---|---|
|
Label
|
Specifies the text for the widget label.
|
STRING
|
Y
|
Y
|
|
|
LabelAlignment
|
Aligns the label text to the left, right, or the center of the widget.
|
STRING
|
left
|
N
|
N
|
|
VideoURL
|
Specifies the URL of the video to be played.
|
NUMBER
|
None
|
Y
|
N
|
|
EnableDownload
|
Adds a download button to the player controls that enables users to download the video.
|
BOOLEAN
|
False
|
Y
|
N
|
|
Thumbnail
|
Specifies the thumbnail image for the video.
|
NUMBER
|
None
|
Y
|
N
|
|
AutoPlay
|
Specifies whether videos play automatically when the widget loads. When AutoPlay is enabled, the video plays muted.
|
BOOLEAN
|
False
|
N
|
N
|
|
Mute
|
Mutes the video.
|
BOOLEAN
|
False
|
Y
|
N
|
|
OverlayControls
|
Overlays the player controls on the video, reducing the space the player takes in the layout. The controls are only displayed when hovering over the video. When disabled, the player controls are visible at all times.
|
BOOLEAN
|
False
|
Y
|
N
|
|
Width
|
Specifies the width of the video player.
|
NUMBER
|
480
|
Y
|
N
|
|
Height
|
Specifies the height of the video player.
|
NUMBER
|
314
|
Y
|
N
|
|
CustomClass
|
User defined CSS class to apply to the top div of the widget. Multiple classes can be entered, separated by space.
|
NUMBER
|
None
|
Y
|
N
|
|
TabSequence
|
Specifies the tab order of the widget.
|
NUMBER
|
0
|
N
|
N
|
|
Property Name
|
Description
|
Base Type
|
Default Value
|
Bindable? (Y/N)
|
Localizable? (Y/N)
|
|---|---|---|---|---|---|
|
PlaybackErrorMessage
|
The message to display when the video file is blocked because of CSP rules.
|
STRING
|
Token: [[Widgets.VideoPlayer.Validation.PlaybackErrorMessage]]
Value: Playback error
|
Y
|
Y
|
|
PlaybackErrorMessageDetails
|
The details to display under the message when the video file is blocked because of CSP rules.
|
STRING
|
[[Widgets.VideoPlayer.Validation.PlaybackErrorMessageDetails]]
Make sure the video format is supported and your network connection is working, then try again.
|
Y
|
Y
|
|
NetworkErrorMessage
|
The message to display when the video does not load because of a network error.
|
STRING
|
[[Widgets.VideoPlayer.Validation.NetworkErrorMessage]]
Network issue
|
Y
|
Y
|
|
NetworkErrorMessageDetails
|
The details to display under the message when the video does not load because of a network error.
|
STRING
|
[[Widgets.VideoPlayer.Validation.NetworkErrorMessageDetails]]
Check your network connection and try again.
|
Y
|
Y
|
|
DownloadBlockedMessage
|
The message to display when video cannot be downloaded because of an access permission issue.
|
STRING
|
[[Widgets.VideoPlayer.Validation.DownloadBlockedMessage]]
Download blocked
|
Y
|
Y
|
|
DownloadBlockedMessageDetails
|
The details to display under the message when video cannot be downloaded because of an access permission issue.
|
STRING
|
[[Widgets.VideoPlayer.Validation.DownloadBlockedMessageDetails]]
Download is blocked by the platform. Make sure the platform CSP rules are configured correctly and try again.
|
Y
|
Y
|
|
PlaybackBlockedMessage
|
The message to display when the video file is blocked because of CSP rules.
|
STRING
|
[[Widgets.VideoPlayer.Validation.PlaybackBlockedMessage]]
This content is blocked
|
Y
|
Y
|
|
PlaybackBlockedMessageDetails
|
The details to display under the message when the video file is blocked because of CSP rules.
|
STRING
|
[[Widgets.VideoPlayer.Validation.PlaybackBlockedMessageDetails]]
Contact the site owner to fix this issue.
|
Y
|
Y
|
|
ValidationFailureIcon
|
Specifies the icon to display when validation fails.
|
STRING
|
cds:icon_error
|
N
|
N
|