fix: Embed player UI, stats loading, and share URL

- Remove black background from embed video to allow transparency
- Update "Watch on Bitvid" button to "Watch on" + white logo
- Fix share URL generation to point to main site instead of embed
- Ensure view counts and reactions are subscribed in embed mode
This commit is contained in:
google-labs-jules[bot] committed 2026-01-24 23:02:33 +00:00
1 parent a8f924a583
commit 9287f91fc1
3 files changed
+28 -3

No files matched your search

+3 -3
View File
@@ -79,7 +79,7 @@
>
<video
id="embedVideo"
class="h-full w-full object-contain bg-black"
class="h-full w-full object-contain"
controls
playsinline
preload="metadata"
@@ -97,12 +97,12 @@
target="_blank"
class="flex items-center gap-2 rounded-full border border-white/20 bg-white/10 px-3 py-1.5 text-xs font-medium text-white transition-colors hover:bg-white/20 backdrop-blur-md"
>
<span>Watch on</span>
<img
src="assets/svg/bitvid-logo-light-mode.svg"
alt="BitVid"
class="h-4 w-auto"
class="h-4 w-auto invert brightness-0"
/>
<span>Watch on BitVid</span>
</a>
<div