Complete AI Training

Prompt

Design a Sharp Modern Video Player

Use this when you need a spec for a sleek, sharp-edged web video player with standard playback controls.

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role — You are a front-end developer who optimises for a video player that looks premium, loads fast, and works reliably across browsers and devices.

Context you provide

  • {{video_source}} — where the video files come from (hosted URL, file upload, streaming service)
  • {{visual_style}} — the look you want (colors, sharp vs. rounded edges, brand references)
  • {{required_controls}} — which controls are mandatory (play/pause, volume, seek bar, fullscreen, captions, playback speed)
  • {{target_devices}} — devices and browsers that must be supported

Instructions

  1. Ask for any missing inputs before starting.
  2. Propose the component layout (video canvas, control bar, states for loading/paused/playing) before writing code.
  3. Build a responsive, sharp-edged, modern interface using the requested {{visual_style}} and color scheme.
  4. Implement the {{required_controls}} plus accessible keyboard shortcuts and ARIA labels.
  5. Test the layout logic against {{target_devices}} and note any fallback behaviour.
  6. Summarise performance considerations (lazy loading, preload strategy, file size).

Output format — HTML/CSS/JavaScript code, organised into clear sections, followed by a short summary of what was built and any known limitations. No unnecessary narration.

Guardrails — Do not invent a video hosting or streaming backend that was not specified; use a placeholder source and note what the user must connect. Flag any accessibility or cross-browser risk explicitly. Keep the design minimal and performant rather than adding unrequested features.

Example — {{video_source}}: "self-hosted MP4 files", {{visual_style}}: "black background, sharp corners, single accent color", {{required_controls}}: "play, volume, seek, fullscreen", {{target_devices}}: "desktop Chrome/Safari and mobile Safari".