비디오 플레이어 구성 요소
glassmorphism 스타일로 디자인된 반응형 비디오 플레이어 구성 요소로, 흐림 효과, 어두운 테마 지원 및 자리 표시자 이미지가 있는 젖빛 유리와 같은 반투명 요소를 특징으로 합니다.
HTML 코드
<div class="flex flex-col items-center justify-center w-full h-screen bg-gray-800">
<div class="bg-white bg-opacity-20 backdrop-blur-lg p-4 rounded-lg shadow-lg w-full max-w-md">
<div class="relative w-full aspect-w-16 aspect-h-9">
<video class="rounded-lg" controls>
<source src="https://www.w3schools.com/html/mov_bbb.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
</div>
<div class="mt-4 flex items-center">
<img src="https://randomuser.me/api/portraits/men/10.jpg" alt="User Avatar" class="w-10 h-10 rounded-full mr-3">
<div class="text-white">
<h3 class="text-lg font-semibold">Video Title</h3>
<p class="text-sm text-gray-300">Uploaded by User Name</p>
</div>
</div>
<div class="flex justify-around mt-4">
<button class="bg-blue-500 text-white px-4 py-2 rounded-lg hover:bg-blue-600 focus:outline-none">Like</button>
<button class="bg-green-500 text-white px-4 py-2 rounded-lg hover:bg-green-600 focus:outline-none">Share</button>
</div>
</div>
</div>
<style>
@media (prefers-color-scheme: dark) {
body {
background-color: #1a202c;
}
.bg-white {
background-color: rgba(255, 255, 255, 0.2);
}
.text-white {
color: #edf2f7;
}
.text-gray-300 {
color: #e2e8f0;
}
}
</style>
관련 구성 요소
비디오 플레이어 구성 요소
종이/인쇄물에서 영감을 받은 미학과 보색으로 디자인된 반응형 비디오 플레이어 구성 요소로, 포럼 또는 커뮤니티 플랫폼에 적합합니다. 다크 모드 지원 및 시맨틱 HTML이 포함됩니다.
비디오 플레이어 구성 요소
블로그 또는 콘텐츠 소비를 위해 설계된 반응형 비디오 플레이어 구성 요소로, 마이크로 인터랙션과 파스텔 색상 구성표를 사용합니다. 여기에는 재생/일시 중지 기능과 볼륨 컨트롤이 포함됩니다. 이 디자인에는 다크 모드 지원도 포함됩니다.
Gradient Rainbow Video Player 컴포넌트
대시보드를 위한 깔끔하고 미니멀한 비디오 플레이어 구성 요소로, 그라데이션 무지개 색 구성표, 반응형 디자인, 다크 모드 지원을 특징으로 하며 스위스/국제 타이포그래피 스타일을 구현합니다.