When I search for "image" in the Component Palette, I find many image-related components and I can use the TWebImageControl
component to add a images onto my form:
But when I search for "video" in the Component Palette, then I get nothing:
Are there no video-related components?
How can I add a video to my form?
The component for adding a video to a form is the TWebMultimediaPlayer
component.
You can then use the following properties to configure the video:
URL
: Link to the video fileAutoPlay
: Boolean to set if the content will start playing as soon as it is readyLoop
: Boolean to set if the content is played in a continuous loopControls
: Boolean to set if the playback controls are displayedThe TWebMultimediaPlayer
component will be compiled into a <video>
HTML tag.