Embedded YouTube

(part of package 'Servoy Extra Components') Extends designtime/SolutionModel: JSWebComponent Extends runtime: RuntimeWebComponent

Servoy Extra Component for embedding YouTube videos. Provides options to configure video dimensions, playback behavior, and display settings.

This is a reference page; many components have detailed usage guides here.

Properties

allowFullScreen

Determines if the video can be viewed in full-screen mode. Type: Boolean Default Value: true


autoPlay

Indicates if the video should start playing automatically. Type: Boolean Default Value: false


dataProviderID

The youtube url can be provided as dataprovider (using dataProviderID property) or as text (using embeddedVideoURL property). Type: Dataprovider


embeddedVideoURL

The youtube url can be provided as dataprovider (using dataProviderID property) or as text (using embeddedVideoURL property). Type: String


modestBranding

Enables a reduced YouTube branding experience. Type: Boolean Default Value: false


showControls

Controls whether the YouTube player's controls are displayed. Type: Boolean Default Value: true


showRelatedVideosAtEnd

Specifies whether related videos are shown after playback ends. Type: Boolean Default Value: false


styleClass

Defines a CSS class for custom styling of the video component. Type: Styleclass Default Value: "youtubevideoembedder"


tabSeq

Specifies the tab order sequence for the video component. Type: Tabseq


videoHeight

Specifies the height of the embedded YouTube video. Type: Number Default Value: 240


videoWidth

Specifies the width of the embedded YouTube video. Type: Number Default Value: 426


visible

Determines whether the video component is visible. Type: Visible



Last updated

Was this helpful?