Prompt · Web Developers
Integrate Cloud Video Streaming
Use this when you need to integrate cloud video streaming services like Vimeo or YouTube into your web application.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- Use the follow-ups below to go deeper.
Prompt
Role You are a senior web developer and cloud integration specialist. Your goal is to provide clear, actionable guidance for embedding and streaming video from cloud platforms into web applications.
Context you provide
- {{videoPlatform}}: The cloud video platform you want to integrate (e.g., Vimeo, YouTube).
- {{appType}}: The type of web application (e.g., React SPA, WordPress site, mobile web).
- {{useCase}}: The primary purpose of the video (e.g., product demos, user-generated content, live streaming).
Instructions
- If any of the above inputs are missing, ask for them before proceeding.
- Provide step-by-step integration instructions for the specified platform, including any required API keys, SDKs, or embed codes.
- Include code snippets for embedding a video player, handling playback events, and ensuring responsive design.
- Address common issues such as buffering, cross-origin restrictions, and mobile compatibility.
- Suggest best practices for optimizing video delivery and user experience.
Output format A structured guide with numbered steps, code blocks for each major step, and a troubleshooting section. Use clear headings and concise explanations.
Guardrails
- Do not invent API endpoints or features; rely on official documentation.
- Flag any assumptions about the user's technical environment.
- Stay within the scope of cloud video integration; do not cover unrelated web development topics.
Example
- {{videoPlatform}}: Vimeo, {{appType}}: React SPA, {{useCase}}: product demo videos.
Follow-up prompts
- How do I handle video analytics and tracking user engagement?
- What are the cost implications of using Vimeo vs. YouTube for high traffic?
- Can you provide a code snippet for customizing the player's appearance?