Skip to content

[BUG] UI: Live session black screen due to naming collision on "pc" variable #249

@khanhquocnguyen

Description

@khanhquocnguyen

Issue: The live session player fails to load (black screen) with Uncaught SyntaxError: Identifier 'pc' has already been declared.

Root Cause: The player script declares const pc in the global scope. This conflicts with several Crypto Wallet extensions (like Hot Wallet, Rabby, etc.) that also inject a pc variable (often for WebRTC leak protection) into the global declarative record.

Environment: Chrome with Hot Wallet extension enabled.

Suggested Fix: Please consider wrapping the player script in an IIFE or renaming the global pc variable to something more unique (e.g., _steel_pc) to avoid collisions with third-party extensions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions