Components Video Player Video Player Component

Video Player Component

A responsive video player component styled with Tailwind CSS focused on microinteractions and dark theme support.

Preview

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

Material_Design_Video_Player_Component

A responsive video player component with Material Design aesthetics, warm neutral color scheme, dark mode support, suitable for booking/reservation systems. Features a video thumbnail, play button, title, description, and a 'Book Now' call to action.

Open

Video Player Component

A simple video player component designed using Material Design principles with a responsive layout and dark theme support.

Open

Retro Dark Mode Video Player Component

A responsive video player component designed for sports/fitness applications, featuring a retro muted color palette and full dark mode support. It includes placeholder video and controls with a timeline.

Open