Build and verify Video media container for Mobile-first interface with Tailwind CSS v4 using a working semantic implementation, responsive RTL/LTR behavior, theme tokens, test plan and design verification.
14 stars
0 votes
0 copies
0 views
Added November 7, 2026
designgoshellperformancedocumentation
Works with
mcp
Security analysis
A92/100
mediumInstalls packages at runtime which could introduce malicious dependencies
Installs into .claude/skills of the current project.
Are you the author of Ztf Tw Video Player Shell Mobile?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/realjustawall-ztf-tw-video-player-shell-mobile)
---
name: ztf-tw-video-player-shell-mobile
description: Build and verify Video media container for Mobile-first interface with Tailwind CSS v4 using a working semantic implementation, responsive RTL/LTR behavior, theme tokens, test plan and design verification.
---
# Video media container — Mobile-first interface (Tailwind CSS v4)
Use this skill when asked to implement, migrate, debug or review the corresponding real interface feature. You MUST implement actual code in the user's repository; do not merely paste advice. Do not request MCP.
## Task and plan
**Goal:** Video media container. **Context:** Mobile-first interface. **Acceptance:** Provide captions and poster when available. **Product emphasis:** Use touch-first hit regions, soft keyboard resilience and safe-area insets.
1. Inspect lockfile and existing design system. Verify that the correct framework and version is installed.
2. Read `../../frameworks/patterns/tw/video-player-shell/mobile.md` from this ZIP or, after skill-only installation, use the **embedded recipe below** without depending on external files.
3. Build the semantic structure and wire interactions. Use tokens before choosing visual styling.
4. Test and repair across the acceptance matrix; report actual evidence.
## Embedded implementation
```html
<figure id="video-player-shell-tw-mobile-first-interface" class="aspect-video w-full overflow-hidden rounded-xl">
<div class="grid min-h-48 place-items-center rounded-lg bg-zinc-100 text-zinc-900" role="img" aria-label="Static preview of Video media container">Preview: Video media container</div>
<figcaption>Real visual content is progressively loaded for Mobile-first interface; fallback stays visible if graphics cannot run.</figcaption>
</figure>
```
## Framework and integration rules
- `npm install tailwindcss @tailwindcss/vite` only if necessary and approved in the host project.
- Use top-level @theme to define utility-generating tokens and :root/[data-theme] for semantic alias variables.
- Use ms-*/me-*, text-start/text-end and dir-aware layout with rtl: variants.
- Media is an enhancement; retain semantic text and a fallback when canvas/video/WebGL is unavailable.
- sm 640, md 768, lg 1024, xl 1280, 2xl 1536 default; use @container variants for reusable components.
## Motion / color integration
Choose semantic colors with the original Perfect_AI palette engine and `COLOR-SCIENCE-ULTIMATE.md`. In strict monochrome contexts, do not add colorful gradients. For Anime.js, scope animation, honor reduced motion and dispose on route transitions. For Three.js, provide static fallback, performance caps and resize camera/renderer correctly. Do not animate layout-critical dimensions on every scroll frame.
## Definition of done
- [ ] Provide captions and poster when available
- [ ] Narrow/wide layout, nested containers, RTL/LTR and 400% zoom pass.
- [ ] Accessible labels, focus, contrast, keyboard/touch, reduced motion pass.
- [ ] Build, tests and targeted browser interaction executed; no uncaught runtime errors.
- [ ] Limitations or unimplemented integration endpoints explicitly disclosed.
**Official reference:** https://tailwindcss.com/docs/. This is original integration documentation, not a vendor's copied component source.