Skip to content

Video Widget

The Video widget plays a video file on a page — from the file archive, from an external URL, or as an embedded video from a third-party provider. Use it for instructional videos, presentations, marketing material, or other moving content.

When to use this

  • You want to embed a video directly on a page
  • The video is in the file archive, on an external URL, or a YouTube/Vimeo embed
  • You want autoplay on page load — or let the user start playback
  • You want to control the video's size and placement on the page

How it works

The widget supports three sources:

SourceDescription
FilesPull the video from the Files plugin archive.
URLPoint directly at an external video file (such as MP4 or WebM).
EmbeddedPaste embed code (iframe) from a provider like YouTube or Vimeo.

Add a video

  1. Enable the Files plugin in the applet's Plugin Settings.
  2. Open the Design editor for your applet.
  3. Add the Video widget to the page.
  4. Open the widget settings.
  5. Pick Import from — Files, URL, or Embedded.
  6. Pick a video, enter a URL, or paste iframe code.
  7. Adjust Size and Position as needed.
  8. Save your changes.

Widget settings

Source

SettingDescription
Import fromPick Files, URL, or Embedded.
Select videoOpens the file picker against the file archive. Shown when the source is Files.
Enter URLThe direct URL to the video file. Shown when the source is URL. Invalid formats are flagged with a warning.
Embedded codeIframe HTML from the video provider. Shown when the source is Embedded. Invalid iframe code is flagged with a warning.

TIP

Embedded is most common for YouTube and Vimeo since they hand you ready-to-use iframe code straight from their "Share" function. Just paste it as-is.

Size

SettingDescription
SizePercentage 10–100 in steps of 5. The video's width scales relative to the page width.

Position

Adjust the video's horizontal placement on the page with the segment control — Left, Center, or Right.

Other

SettingDescription
AutoplayWhen on, playback starts automatically when the page loads. Only available for Files and URL sources — embedded videos are controlled by the provider's own settings.

WARNING

Many mobile browsers block Autoplay with sound. Autoplaying videos usually start muted — the user has to tap to enable sound.

Example

Scenario: You want to embed a YouTube intro video on the home page, centered and at full width.

  1. Add a Video widget on the home page.
  2. On YouTube — click ShareEmbed and copy the iframe code.
  3. In the widget, set Import from to Embedded.
  4. Paste the iframe code into the Embedded code field.
  5. Set Size to 100% and Position to Center.
  6. Save.

Tips

TIP

For videos in the file archive — keep files in compressed formats (MP4 with H.264) for best compatibility and load time.

TIP

Embedded videos from YouTube and Vimeo have their own player controls and show the provider's player. Use the Files or URL source when you want a clean player without the provider's branding.

Common mistakes

WARNING

Autoplay doesn't appear when the source is Embedded — autoplay for embedded videos is controlled by parameters in the iframe code. Add ?autoplay=1 (or the equivalent) to the embed URL to enable autoplay.

WARNING

If the iframe code from YouTube or Vimeo doesn't work, check that the video is public or unlisted — private videos can't be embedded.

WARNING

External URLs must point at an actual video file (MP4, WebM). Pages with an embedded player don't count — use the Embedded source for those.