Videoplayer-Komponente
Eine minimalistische Videoplayer-Komponente, die für Social-Media-Schnittstellen entwickelt wurde und ein responsives Layout mit Unterstützung für dunkle Themen bietet.
HTML-Code
<div class="max-w-md mx-auto bg-gray-800 dark:bg-gray-900 rounded-lg shadow-lg overflow-hidden">
<video class="w-full h-64" controls>
<source src="https://www.w3schools.com/html/mov_bbb.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
<div class="p-4">
<div class="flex items-center">
<img class="w-10 h-10 rounded-full" src="https://randomuser.me/api/portraits/men/10.jpg" alt="User Avatar">
<div class="ml-3">
<h2 class="text-white text-lg font-semibold">User Name</h2>
<p class="text-gray-400 dark:text-gray-300 text-sm">2 hours ago</p>
</div>
</div>
<div class="mt-2">
<p class="text-gray-200 dark:text-gray-300 text-sm">Enjoy this video of a beautiful landscape!</p>
</div>
<div class="mt-4 flex justify-between text-gray-400 dark:text-gray-500">
<button class="hover:text-white focus:outline-none">Like</button>
<button class="hover:text-white focus:outline-none">Share</button>
<button class="hover:text-white focus:outline-none">Comment</button>
</div>
</div>
</div>
Verwandte Komponenten
Videoplayer-Komponente
Eine Videoplayer-Komponente im Brutalismus-Stil mit hohem Kontrast und ungewöhnlichem Layout, mit responsivem Design und Unterstützung für dunkle Themen mit Tailwind CSS.
Videoplayer-Komponente
Eine einfache Videoplayer-Komponente, die mit einem 3D-Stil und einem Pastellfarbschema gestaltet ist und für Dashboards geeignet ist.
Skeuomorpher Videoplayer
Skeuomorphe Videoplayer-Komponente mit responsiven Effekten und Unterstützung für dunkle Themen.