]> danix's work - danix2-hugo-theme.git/commit
feat: add video shortcode and documentation
authorDanilo M. <redacted>
Sun, 5 Apr 2026 07:38:47 +0000 (09:38 +0200)
committerDanilo M. <redacted>
Sun, 5 Apr 2026 07:38:47 +0000 (09:38 +0200)
commit7de9682e8f3d6a1a6819c1a26c332ff72dbeaaa4
tree684e8042f3f36e0a132b9be09ff84fefd0fd2563
parentfcf2f6f50ce06e9d2e8e49b7a3c1095169a43076
feat: add video shortcode and documentation

Ported video shortcode from previous theme. Embeds HTML5 videos with optional autoplay, loop, and muted controls. Supports mp4, webm, and other HTML5 video formats.

Usage: {{< video src="video.mp4" width=800 height=450 autoplay=true loop=true muted=true >}}

Also updated CONTENT_GUIDE with comprehensive usage examples and parameters.

Co-Authored-By: Claude Haiku 4.5 <redacted>
CONTENT_GUIDE.md
layouts/shortcodes/video.html [new file with mode: 0644]