Video Player Component
A responsive video player component styled with Tailwind CSS focused on microinteractions and dark theme support.
HTML Code
<div class="bg-white dark:bg-gray-800 rounded-lg overflow-hidden shadow-lg transition-transform hover:scale-105 duration-200" role="video" aria-label="Video Player">
<div class="relative">
<img src="https://picsum.photos/800/450?random=1" alt="Video thumbnail" class="w-full h-48 object-cover">
<button class="absolute inset-0 flex items-center justify-center bg-black bg-opacity-50 text-white text-3xl rounded-full opacity-0 transition-opacity duration-200 hover:opacity-100">
▶
</button>
</div>
<div class="p-4">
<div class="flex items-center mb-2">
<img src="https://randomuser.me/api/portraits/men/1.jpg" alt="Avatar" class="w-10 h-10 rounded-full mr-2">
<h2 class="text-lg font-semibold dark:text-white">Video Title</h2>
</div>
<p class="text-sm text-gray-700 dark:text-gray-300">Description of the video goes here. It should be engaging and concise.</p>
</div>
</div>
Related Components
Video Player
Video Player Component with Microinteractions, Complementary Color Scheme, Moderate Complexity, and Responsive Design with Dark Theme Support for Portfolio use.
Video Player Component
A video player component designed with glassmorphism, featuring a frosted glass-like effect with complementary colors. It is interactive and responsive, suitable for blog content consumption with dark theme support.
Skeuomorphic Video Player
Skeuomorphic Video Player Component with responsive effects and dark theme support.