Hoppa till huvudinnehåll

`<sf-video>`

Adds an HTML5 video.

Uppdaterad för mer än en vecka sedan

Adds an HTML5 video.

Overview

This tag is designed for background videos up to approximately 10 MB. For longer videos with playback controls, we recommend using external services like YouTube, Vimeo, or Wistia. For embedding such content, use the <sf-embed> tag instead.

Basic Example

<sf-video id=":1"></sf-video>

Customization

It is possible to customize the HTML code for this tag. See example code on GitHub for reference.

Fick du svar på din fråga?