Video Properties

These properties affect the video component.

For a guide to using the video component, see Video.

Video components are also affected by Common Properties.

Video properties
The Video properties in the Property Inspector

URL

URL

URL
Specifies the path where the video is located. Click the folder icon to select or upload an image, or enter a relative URL within the project, such as assets/video.mp4. You can also enter any absolute URL, even if it is outside of your project or DGLux.

You can also drag the file from your computer:

  1. Drag the image onto DGLux5.
  2. When prompted to upload the image, click Yes. Your image is uploaded. It can be found under the assets folder in the Project Tree.

You can use any video format that is supported by the user's browser.

The URL property
The URL property

Video Controls

Video Controls

Video Controls
Specifies whether video controls are shown to the user.

The Video Controls property
The Video Controls property

Autoplay

Autoplay

Autoplay
Specifies whether the video starts playing automatically when the video player is loaded on the page.

The Autoplay property
The Autoplay property

Play

Play

Play
Plays the video. You can bind to this button, or click it as part of a recorded action.

The Play property
The Play property

Pause

Pause

Pause
Pauses the video. You can bind to this button, or click it as part of a recorded action.

The Pause property
The Pause property

Stop

Stop

Stop
Stops the video. You can bind to this button, or click it as part of a recorded action.

The Stop property
The Stop property

Restart

Restart

Restart
Restarts the video. You can bind to this button, or click it as part of a recorded action.

The Restart property
The Restart property

Volume

Volume

Volume
Changes the video player’s volume. You can bind to this property, or modify it as part of a recorded action.

The Volume property
The Volume property

On Ended

On Ended

On Ended
Triggers an event on completion of this video. Can be used to invoke actions.

The On Ended property
The On Ended property