HTML 코드
<div class="flex items-center justify-center min-h-screen bg-gray-100 dark:bg-gray-900 p-4">
<div class="w-full max-w-2xl bg-gray-300 dark:bg-gray-700 rounded-xl shadow-2xl overflow-hidden">
<!-- Video Placeholder -->
<div class="relative bg-black aspect-video">
<img src="https://picsum.photos/seed/video/800/450" alt="Video Placeholder" class="w-full h-full object-cover">
<div class="absolute inset-0 flex items-center justify-center bg-black bg-opacity-50">
<svg class="w-16 h-16 text-white opacity-75" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zM9.555 7.168A1 1 0 008 8v4a1 1 0 001.555.832L12.808 9.832a1 1 0 000-1.664L9.555 7.168z" clip-rule="evenodd"></path></svg>
</div>
</div>
<!-- Controls -->
<div class="p-4 bg-gray-400 dark:bg-gray-800 flex items-center justify-between">
<div class="flex items-center space-x-4">
<button class="text-gray-700 dark:text-gray-300 hover:text-gray-900 dark:hover:text-white">
<svg class="w-6 h-6" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zM9.555 7.168A1 1 0 008 8v4a1 1 0 001.555.832L12.808 9.832a1 1 0 000-1.664L9.555 7.168z" clip-rule="evenodd"></path></svg>
</button>
<input type="range" class="flex-grow appearance-none h-2 bg-gray-300 dark:bg-gray-600 rounded-full overflow-hidden cursor-pointer" value="0">
<span class="text-sm text-gray-700 dark:text-gray-300">0:00 / 0:00</span>
</div>
<button class="text-gray-700 dark:text-gray-300 hover:text-gray-900 dark:hover:text-white">
<svg class="w-6 h-6" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M14.445 3.107A1 1 0 0013.598 3H6.402a1 1 0 00-.847.447L.947 11.264a1 1 0 00.003.956l4.6 6.27A1 1 0 006.402 19h7.196a1 1 0 00.847-.447l4.6-6.27a1 1 0 00-.003-.956l-4.6-7.157zM10 16a1 1 0 100-2 1 1 0 000 2zm0-4a1 1 0 100-2 1 1 0 000 2z"></path></svg>
</button>
</div>
</div>
</div>
관련 구성 요소
비디오 플레이어 구성 요소
블로그 또는 콘텐츠 소비를 위해 설계된 반응형 비디오 플레이어 구성 요소로, 마이크로 인터랙션과 파스텔 색상 구성표를 사용합니다. 여기에는 재생/일시 중지 기능과 볼륨 컨트롤이 포함됩니다. 이 디자인에는 다크 모드 지원도 포함됩니다.
비디오 플레이어 구성 요소
전자 상거래를 위한 복잡하고 반응이 빠른 비디오 플레이어 구성 요소로, 트라이어딕 색상과 마이크로 인터랙션에 중점을 둔 디자인을 특징으로 합니다. 재생 컨트롤, 볼륨, 진행률 표시줄, 전체 화면, 설정 및 제품 오버레이가 포함되며 완전한 다크 모드가 지원됩니다.