Components Video Player Video Player Component

Video Player Component

A responsive video player component designed for dark mode with an analogous color scheme for content consumption.

Preview

HTML Code

<div class="bg-gray-900 text-gray-300 p-4 rounded-lg shadow-lg max-w-lg mx-auto">
    <div class="relative aspect-w-16 aspect-h-9">
        <video class="rounded-lg" controls>
            <source src="https://www.learningcontainer.com/wp-content/uploads/2020/05/sample-mp4-file.mp4" type="video/mp4">
            Your browser does not support the video tag.
        </video>
    </div>
    <div class="mt-4">
        <h2 class="text-lg font-semibold">Video Title</h2>
        <p class="text-sm">This is a short description of the video content. It provides context and encourages the viewer to watch the video.</p>
    </div>
    <div class="flex items-center mt-4">
        <img src="https://randomuser.me/api/portraits/men/1.jpg" alt="User Avatar" class="w-10 h-10 rounded-full mr-2">
        <div>
            <h3 class="text-md font-semibold">Username</h3>
            <p class="text-xs text-gray-500">Posted on <time datetime="2023-10-01">October 1, 2023</time></p>
        </div>
    </div>
</div>

Related Components

Neon_Glow_Video_Player

A simple, responsive video player component for business/corporate websites, featuring neon/glow effects and a warm sunset color scheme. Includes dark mode support.

Open

Art Deco Medical Video Player

A simple, responsive video player component with an Art Deco grayscale aesthetic, designed for healthcare/medical applications, including dark mode support.

Open

Skeuomorphic Video Player

Skeuomorphic Video Player Component with responsive effects and dark theme support.

Open