본문 바로가기

11월 26일 20:37 기준 · 10분마다 새 소식을 확인합니다

광고나 제휴로 순서를 바꾸지 않습니다 · pick 기준 보기 ›
소식 받기
코딩 · 개발

웹 비디오 플레이어 UI 개발

모던하고 반응형을 지원하는 웹 비디오 플레이어 UI 및 컨트롤러를 설계합니다.

추천 툴
ChatGPTAI 분류
쓰인 기법
역할 부여 · 요구사항 명시 · 개발 가이드라인 지정

프롬프트 원문

ChatGPT로 실행
Act as a Web Developer. You are tasked with creating a modern video player for a website.

Your task is to design and implement a video player with:
- A sharp-edged user interface
- A modern, sleek look
- Proper color themes that align with contemporary design standards

You will:

1. Ensure the design is responsive across different devices and screen sizes.
2. Integrate features like play, pause, volume control, and full-screen mode.
3. Utilize color schemes that enhance user experience and accessibility.

Rules:
- Maintain a clean and minimalistic design.
- Ensure cross-browser compatibility.
- Optimize for performance and fast loading times.
한국어 풀이 보기(참고용)
웹 개발자 역할을 수행하세요. 웹사이트용 모던 비디오 플레이어를 개발해야 합니다.

수행할 작업:
- 샤프한 가장자리 스타일의 사용자 인터페이스
- 현대적이고 세련된 디자인
- 최신 디자인 트렌드에 부합하는 컬러 테마 적용

다음 사항을 구현하세요:
1. 다양한 기기 및 화면 크기에서 동작하는 반응형 디자인 확보
2. 재생, 일시정지, 음량 조절, 전체화면 모드 기능 통합
3. 가독성과 접근성을 높이는 컬러 스킴 적용

규칙:
- 깔끔하고 미니멀한 디자인을 유지하세요.
- 크로스 브라우저 호환성을 확보하세요.
- 빠른 로딩과 성능 최적화를 고려하세요.
  • 활용React, Vue 또는 Tailwind CSS 등 원하는 기술 스택을 추가 지시해보세요.
  • 활용키보드 단축키 지원이나 배속 조절 기능 등 세부 요구사항을 확장할 수 있습니다.

출처 · prompts.chat · Modern Video Player with Sharp UI — 원문은 출처에 게시된 그대로이며, 권리는 원작자에게 있습니다.

텍스트 결과

Gemini로 실행한 결과입니다. 입력 항목에는 국내 환경의 예시값을 적용했습니다(AI 생성 — 사실 확인 필요).

실행 입력값 보기
Act as a Web Developer. You are tasked with creating a modern video player for a website.

Your task is to design and implement a video player with:
- A sharp-edged user interface
- A modern, sleek look
- Proper color themes that align with contemporary design standards

You will:

1. Ensure the design is responsive across different devices and screen sizes.
2. Integrate features like play, pause, volume control, and full-screen mode.
3. Utilize color schemes that enhance user experience and accessibility.

Rules:
- Maintain a clean and minimalistic design.
- Ensure cross-browser compatibility.
- Optimize for performance and fast loading times.

요청하신 조건(각진 UI, 모던 다크 테마, 반응형, 고성능)을 반영한 비디오 플레이어 예시 구현입니다.

1. HTML

<div class="player" id="player">
  <video id="video" src="sample.mp4"></video>
  <div class="controls">
    <button id="play">▶</button>
    <input type="range" id="vol" min="0" max="1" step="0.1" value="1">
    <button id="fs">⛶</button>
  </div>
</div>

2. CSS (Sharp Edge & Dark Theme)

.player { position: relative; width: 100%; max-width: 800px; background: #0b0c10; border-radius: 0; border: 1px solid #1f2833; }
video { width: 100%; display: block; }
.controls { position: absolute; bottom: 0; left: 0; right: 0; display: flex; align-items: center; gap: 10px; padding: 10px; background: rgba(11, 12, 16, 0.9); }
button { background: #66fcf1; color: #0b0c10; border: none; border-radius: 0; padding: 8px 14px; font-weight: bold; cursor: pointer; }
button:hover { background: #45a29e; color: #fff; }

3. JavaScript

const v = document.getElementById('video'), p = document.getElementById('player');
document.getElementById('play').onclick = (e) => {
  if (v.paused) { v.play(); e.target.innerText = '❚❚'; }
  else { v.pause(); e.target.innerText = '▶'; }
};
document.getElementById('vol').oninput = (e) => v.volume = e.target.value;
document.getElementById('fs').onclick = () => document.fullscreenElement ? document.exitFullscreen() : p.requestFullscreen();

핵심 디자인 및 성능 포인트

  • border-radius: 0을 사용해 명확하고 날카로운(Sharp-edged) UI 스타일을 완성했습니다.
  • 고대비 네온/다크 색상 조합으로 시각적 접근성을 확보하고 모던한 느낌을 줍니다.
  • 외부 라이브러리 없이 순수 바닐라 JS/CSS로 작성하여 프레임 레이트와 로딩 속도를 최적화했습니다.

mopick 개선안

원문을 더 잘 동작하게 고쳐 쓴 프롬프트

원문을 그대로 넣으면 AI 가 매번 다르게 답하거나 중요한 부분을 빠뜨릴 수 있습니다. 개선안은 원문의 뜻과 언어는 그대로 두고 역할 · 바꿔 넣을 입력 칸 · 결과 형식 · 지킬 조건을 보완해 다시 쓴 버전입니다. 원문과 같은 곳(ChatGPT · Claude 등)에 그대로 붙여 넣어 쓰면 됩니다.

AI 자체 평가 — 개선안을 쓴 AI 가 명확성 · 구체성 · 결과 형식 · 재사용성 기준(100점)으로 직접 매긴 점수 · 결과를 돌려 검증한 값은 아님

원문68
개선안90

원문의 문제 → 개선안에서 고친 점

  • 입력 칸레슨 05 배우기 ›

    원문 · 없음바꿔 넣을 자리가 표시돼 있지 않아 쓸 때마다 원문을 직접 고쳐야 했습니다.

    개선 · 2개[HTML, CSS, and Vanilla JavaScript / React] · [dark theme / CSS variables]

  • 작업 순서레슨 07 배우기 ›

    원문 · 3단계작업 순서가 덜 잘게 나뉘어 중간 단계를 빠뜨리기 쉬웠습니다.

    개선 · 6단계

고친 이유 (개선안을 만든 AI 의 설명)

  1. 1기술 스택 및 테마 커스텀용 대괄호 항목 추가
  2. 2접근성(키보드 탐색 등) 및 구체적 기능 명확화
  3. 3HTML/CSS/JS 분리 등 명확한 출력 형식 지정

원문

Act as a Web Developer. You are tasked with creating a modern video player for a website.

Your task is to design and implement a video player with:
- A sharp-edged user interface
- A modern, sleek look
- Proper color themes that align with contemporary design standards

You will:

1. Ensure the design is responsive across different devices and screen sizes.
2. Integrate features like play, pause, volume control, and full-screen mode.
3. Utilize color schemes that enhance user experience and accessibility.

Rules:
- Maintain a clean and minimalistic design.
- Ensure cross-browser compatibility.
- Optimize for performance and fast loading times.

개선안 · 색칠한 [칸]에 내 내용을 넣어 쓰세요

Act as an expert Web Developer. Your task is to design and implement a modern custom video player for a website using [HTML, CSS, and Vanilla JavaScript / React].

Requirements:
1. Design & Theme: Sharp-edged UI with a sleek, minimalist aesthetic. Use [dark theme / CSS variables] for easy theme customization and WCAG-compliant contrast.
2. Features: Responsive layout across screen sizes, custom controls (play/pause toggle, seek bar with current/total time, volume slider with mute, and full-screen mode).
3. Standards: Cross-browser compatibility, keyboard navigation accessibility, and optimized performance.

Output Format:
- Provide clean, fully functional, and well-commented code divided into:
  1. HTML Structure
  2. CSS Styles (including responsive breakpoints)
  3. JavaScript Logic
- Include a brief summary explaining key accessibility features and performance optimizations.

같은 분야 프롬프트 코딩 · 개발

더 보기 ›