Skip to content

VideoPlayer hard-gates rendering on an external CDN stylesheet #1050

Description

@RUKAYAT-CODER

Overview
src/components/video/VideoPlayer.tsx (lines 38-52, 123) injects the video.js CSS from https://cdn.jsdelivr.net at runtime and blocks the entire player behind if (!cssLoaded) return (line 123). If the CDN is slow, blocked, or offline the onload never fires and the player is stuck on 'Loading video player...' forever. Bundle the video.js CSS locally (or render the player without gating on a remote stylesheet).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfrontendNexjs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions