Improve video player by hiding picture-in-picture controls
Removes the picture-in-picture button from Video.js player using CSS targeting and updates the category row component to remove test button. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 2eb1084e-b728-4449-9231-f1665924c8d5 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/2eb1084e-b728-4449-9231-f1665924c8d5/EZqddeC
This commit is contained in:
@@ -219,13 +219,7 @@ function CategoryRow({ category, onVideoClick }: CategoryRowProps) {
|
||||
return (
|
||||
<div className="relative group mb-8">
|
||||
<h2 className="text-2xl font-bold text-bunny-light mb-6 px-4">
|
||||
{category.title} ({category.videos.length} videos)
|
||||
<button
|
||||
onClick={() => alert(`Category: ${category.title}`)}
|
||||
className="ml-4 px-2 py-1 bg-red-500 text-white text-sm rounded"
|
||||
>
|
||||
TEST
|
||||
</button>
|
||||
{category.title}
|
||||
</h2>
|
||||
|
||||
<div className="relative">
|
||||
|
||||
Reference in New Issue
Block a user