Commit Graph
9 Commits
Author SHA1 Message Date
google-labs-jules[bot]andPR0M3TH3AN d5296f82d7 Fix: Add rel="noopener noreferrer" to embed watch button
This commit mitigates a reverse tabnabbing vulnerability by ensuring
that the external link in the embed player opens with proper
security attributes.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-26 17:33:00 +00:00
thePR0M3TH3AN eeb2db9037 [playback] Harden service-worker rollout and rollback guardrails 2026-02-10 00:56:33 -05:00
thePR0M3TH3AN 8c84f0a052 Add content-hashed asset manifest and HTML rewrite in dist build 2026-02-10 00:40:45 -05:00
google-labs-jules[bot] a708883abb fix(embed): video sizing letterbox and logo accent
- Changed embed video sizing to `object-fit: cover` and `width: 100%` to eliminate black bars/letterboxing.
- Updated `embed.html` and `css/tailwind.source.css` to enforce these styles on `.video-modal__media`, `.video-modal__video`, and `#embedVideo`.
- Wired the embed logo accent color to use the instance configuration (`THEME_ACCENT_OVERRIDES` from `config/instance-config.js`) via a `--bitvid-accent` CSS variable injected in `js/embed.js`.
- Added unit and visual tests to verify styling and configuration logic.
2026-01-24 23:57:29 +00:00
google-labs-jules[bot] 4264a1ed0e fix(embed): transparent video background and correct logo color
- Add `bg-transparent` to `#embedVideo` to fix visual gap/letterboxing issues.
- Inline the BitVid logo SVG in `embed.html` and use `bv-logo` class with `data-variant="inverse"` to ensure correct white wordmark and themed accent color on the dark overlay.
2026-01-24 23:35:45 +00:00
google-labs-jules[bot] e02f8f48ae Fix embed overlay position and view counter 2026-01-24 23:19:03 +00:00
google-labs-jules[bot] 9287f91fc1 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
2026-01-24 23:02:33 +00:00
google-labs-jules[bot] d621e6f21a feat: update embed player design with transparent background and overlay stats
- Removed background colors from `embed.html` for transparency.
- Added a hover-triggered overlay with "Watch on BitVid" button and stats (views, likes, dislikes).
- Updated `js/ui/components/EmbedPlayerModal.js` to implement stats update methods and handle the overlay elements.
- Updated `js/embed.js` to set the share URL on the overlay after video resolution.
- Verified visual changes with Playwright.
2026-01-24 22:41:56 +00:00
thePR0M3TH3AN 6ee9d44213 Add embed page for pointer playback 2026-01-23 18:35:58 -05:00