Skip to content

Youtube music fails to load TypeError: Can't access property "bind" #1346

Description

@hxsnaatdev

Describe the bug
YouTube Music fails to load/initialize. The page throws repeated unhandled TypeError exceptions originating from the extension's code while constructing ytmusic-app, and the player never finishes loading.

To Reproduce
Steps to reproduce the behavior:

  1. install or have the extention installed and enabled
  2. Navigate to music.youtube.com
  3. Page fails to load properly; console shows extension errors
  4. See error
    : [YouTube Enhancer] Constructing ytmusic-app: TypeError: can't access property "bind", Na(...) is null
    g custom-elements-es5-adapter.js:11

Uncaught (in promise) TypeError: can't access property "bind", Na(...) is null
gp music_polymer_inlined_html.js:1714
ip music_polymer_inlined_html.js:1719
jp music_polymer_inlined_html.js:1721
...

[YouTube Enhancer] Unhandled rejection: TypeError: can't access property "listen", this.W is undefined
listen player_es6.vflset/en_GB/base.js:6282
gp music_polymer_inlined_html.js:1714
...

Expected behavior
YouTube Music should load normally with the extension enabled.

Desktop (please complete the following information):

  • OS: macOS Tahoe 26.3
  • Browser: FireFox 147.0.3

Additional context
Disabling the extension allows YouTube Music to load without errors, indicating the extension's injected scripts are interfering with ytmusic-app's custom element construction (likely a timing issue where the extension tries to access player/element internals before they're initialized).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status
    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions