Skip to content

Video

Video engine in action

Television Simulator can display video compatible with your browser. This includes common formats such as MP4 and WebM, as well as HTTP Live Streaming (HLS) and DASH. TVS also supports remote video playback from YouTube. It uses Vidstack under the hood to manage playback.

video: /path/to/video.mp4
video: https://www.youtube.com/watch?v=Bb0dJxCg_sw
video:
src: https://www.example.com/path/to/livestream.m3u8
provider: hls
volume: 0.85

src shorthand required

Section titled “src ”

Type: string

Description: The URL of the video file to play. This can be a local file (hosted through web server) or a remote URL.


Type: video | youtube | hls | dash

Description: The video provider to use for playback. If not specified, TVS will attempt to determine the provider based on the URL.


Type: number | false

Description: The volume level to use for playback, ranging from 0.0 (muted) to 1.0 (full volume). The default value is 1.