- Change default from 400px to 60vh (viewport-relative is more responsive)
- Add hint placeholder showing "e.g. 60vh or 400px"
- Update description to explain both px and vh units
Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Joomla does not reliably translate language keys in <name> and
<description> manifest elements — the .sys.ini may not be loaded
when these are first read. Hardcode the values instead.
Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Joomla's Module Manager loads mod_mokojoomhero.ini (not .sys.ini) when
rendering the configuration form fields. All param labels were only in
.sys.ini, causing raw constants to show in the admin edit screen.
Duplicated all param label/description strings into both .ini and
.sys.ini for en-GB and en-US locales.
Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- en-GB: British English (Colour, Centre)
- en-US: American English (Color, Center)
- Both locales declared in manifest <languages> section
Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The video field now accepts any URL format and auto-detects the source:
- YouTube: watch, embed, shorts, youtu.be (extracts video ID)
- Vimeo: vimeo.com/ID, player.vimeo.com/video/ID
- Local/direct: relative paths or direct URLs render as <video>
Also fix videoFile filter from url to string to allow local paths.
Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The url filter rejects local relative paths like images/video.mp4.
Changed to string filter to support both local paths and YouTube URLs.
Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Detect YouTube URLs (youtube.com/watch, youtu.be, youtube.com/embed)
and render a privacy-enhanced iframe embed instead of a <video> tag.
Local video files still work as before via the <video> element.
- Extract YouTube video ID via regex in entry point
- Render iframe with autoplay, muted, looped, no controls
- Use youtube-nocookie.com for privacy
- Add pointer-events: none to prevent interaction with video layer
- Update video field label/description to mention YouTube support
Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Language variables in <name> and <description> don't resolve during
installation because language files aren't deployed yet.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Fix Makefile build to rsync from src/ instead of repo root
- Update CLAUDE.md with template architecture and positions
- Update manifest.xml description to reflect template
- Add CHANGELOG.md with 1.0.0 release notes
- Remove stale .mokogitea/ (superseded by .gitea/)
- Remove old .moko-standards governance file
- Remove placeholder index.md files
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Convert repo from empty module scaffold to a complete Joomla 5 site
template with manifest, index/error/offline/component pages, Web Asset
Manager config, CSS custom-property stylesheet, language files, and
11 module positions including a hero section.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>