Swiper autoplay with Turbo Frames: references/2025-01-14-turbo-frames-swiper-autoplay.md
Use references/INDEX.md for the full catalog.
Escalate to Neighbor Skills
Push-based data updates or custom Turbo Stream actions: use hwc-realtime-streaming
Pagination/tab/filter navigation concerns: use hwc-navigation-content
Form lifecycle and validation handling: use hwc-forms-validation
Generic loading/progress/transition UX: use hwc-ux-feedback
Pure Stimulus API architecture: use hwc-stimulus-fundamentals
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1---2name: thehotwireclub-hotwire-club-skills-hwc-media-content3description: Media & Rich Content4---56# Media & Rich Content78Implement media-centric Hotwire features with Stimulus and Turbo Frames.910## Core Workflow11121. Identify media mode: upload/preview, playback controls, progress persistence, or embedded library integration.132. Keep media state in Stimulus values; bridge third-party APIs through value callbacks and targets.143. Use browser-native APIs first (`URL.createObjectURL`, Picture-in-Picture, IntersectionObserver, MediaSession).154. Clean up all allocated resources in `disconnect()` (observers, blob URLs, player instances, timers).165. Persist only intentional client state (for example playback progress) and reconcile on load.1718## Guardrails1920- Revoke blob URLs after image/file preview rendering.21- Prefer feature detection for browser APIs (PiP/Web Share/MediaSession).22- Avoid mixing transport concerns; media rendering belongs here, stream orchestration belongs in real-time skill.23- Keep frame updates incremental for time-based UI (lyrics, carousels, progress widgets).2425## Load References Selectively2627Open only the file needed for the current request.2829- Upload previews via blob URLs: `references/2024-09-17-stimulus-image-upload-previews.md`30- Progressive image loading and Blurhash: `references/2024-04-23-stimulus-progressive-image-loading-blurhash.md`31- Picture-in-Picture behavior: `references/2024-06-04-stimulus-picture-in-picture.md`32- Video progress persistence: `references/2024-10-29-stimulus-video-progress-tracker.md`33- WaveSurfer marker add flows: `references/2024-07-02-stimulus-wavesurfer-add-markers.md`34- WaveSurfer marker remove flows: `references/2024-07-30-stimulus-wavesurfer-remove-markers.md`35- Time-synced lyrics frame updates: `references/2024-04-09-turbo-frames-scrolling-lyrics.md`36- Swiper autoplay with Turbo Frames: `references/2025-01-14-turbo-frames-swiper-autoplay.md`3738Use `references/INDEX.md` for the full catalog.3940## Escalate to Neighbor Skills4142- Push-based data updates or custom Turbo Stream actions: use `hwc-realtime-streaming`43- Pagination/tab/filter navigation concerns: use `hwc-navigation-content`44- Form lifecycle and validation handling: use `hwc-forms-validation`45- Generic loading/progress/transition UX: use `hwc-ux-feedback`46- Pure Stimulus API architecture: use `hwc-stimulus-fundamentals`4748---49> Converted and distributed by [TomeVault](https://tomevault.io/claim/thehotwireclub) — claim your Tome and manage your conversions.50<!-- tomevault:4.0:skill_md:2026-04-11 -->
Run npx skillmds@latest add tomevault-io/thehotwireclub-hotwire-club-skills-hwc-media-content in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Media & Rich Content It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
tomevault-io (@tomevault-io) published this skill. Their other Agent Skills are listed on their SkillMD profile.