Local Video
Render the academy-theme local-video shortcode.
1 minute read
The local-video shortcode embeds an HTML5 <video> player for a locally hosted video file.
{{< local-video src="/path/to/video.mp4" muted="true" autoplay="true" loop="true" >}}
Parameters:
| Parameter | Description | Default |
|---|---|---|
src | Path to the video file | (required) |
muted | Mute the video | false |
autoplay | Auto-play the video | false |
loop | Loop playback | false |
Sample video not included
This shortcode requires a locally hosted.mp4 video file. Add your video to static/examples/ and update the src path.