YouTube.js icon indicating copy to clipboard operation
YouTube.js copied to clipboard

[Version unknown] Error: CompositeVideoPrimaryInfo not found!

Open hyunlee1o opened this issue 10 months ago • 1 comments

Steps to reproduce

I was watching this video and looked at the cli. https://www.youtube.com/watch?v=bXr2xqsoK70&t=584s Idk

Failure Logs

[YOUTUBEJS][Parser]: Error: CompositeVideoPrimaryInfo not found!
This is a bug, want to help us fix it? Follow the instructions at https://github.com/LuanRT/YouTube.js/blob/main/docs/updating-the-parser.md or report it at https://github.com/LuanRT/YouTube.js/issues!
Introspected and JIT generated this class in the meantime:
class CompositeVideoPrimaryInfo extends YTNode {
  static type = 'CompositeVideoPrimaryInfo';
  
  constructor(data: RawNode) {
    super();
  }
}

    g moz-extension://63c1a6a6-1fc2-4b6e-9e82-73b9b477404d/player/modules/yt.mjs:40
    oi moz-extension://63c1a6a6-1fc2-4b6e-9e82-73b9b477404d/player/modules/yt.mjs:26
    _k moz-extension://63c1a6a6-1fc2-4b6e-9e82-73b9b477404d/player/modules/yt.mjs:8
    ld moz-extension://63c1a6a6-1fc2-4b6e-9e82-73b9b477404d/player/modules/yt.mjs:8
    K moz-extension://63c1a6a6-1fc2-4b6e-9e82-73b9b477404d/player/modules/yt.mjs:32
    Ee moz-extension://63c1a6a6-1fc2-4b6e-9e82-73b9b477404d/player/modules/yt.mjs:32
    Yh moz-extension://63c1a6a6-1fc2-4b6e-9e82-73b9b477404d/player/modules/yt.mjs:8
    K moz-extension://63c1a6a6-1fc2-4b6e-9e82-73b9b477404d/player/modules/yt.mjs:32
    De moz-extension://63c1a6a6-1fc2-4b6e-9e82-73b9b477404d/player/modules/yt.mjs:32
    tw moz-extension://63c1a6a6-1fc2-4b6e-9e82-73b9b477404d/player/modules/yt.mjs:32
    zb moz-extension://63c1a6a6-1fc2-4b6e-9e82-73b9b477404d/player/modules/yt.mjs:32
    js moz-extension://63c1a6a6-1fc2-4b6e-9e82-73b9b477404d/player/modules/yt.mjs:32
    getInfo moz-extension://63c1a6a6-1fc2-4b6e-9e82-73b9b477404d/player/modules/yt.mjs:48
    getVideoInfo moz-extension://63c1a6a6-1fc2-4b6e-9e82-73b9b477404d/player/players/yt/YTPlayer.mjs:239
    setSource moz-extension://63c1a6a6-1fc2-4b6e-9e82-73b9b477404d/player/players/yt/YTPlayer.mjs:38
    setSource moz-extension://63c1a6a6-1fc2-4b6e-9e82-73b9b477404d/player/FastStreamClient.mjs:543
    addSource moz-extension://63c1a6a6-1fc2-4b6e-9e82-73b9b477404d/player/FastStreamClient.mjs:472
    recieveSources moz-extension://63c1a6a6-1fc2-4b6e-9e82-73b9b477404d/player/main.mjs:126
    recieveSources moz-extension://63c1a6a6-1fc2-4b6e-9e82-73b9b477404d/player/main.mjs:125
    <anonymous> moz-extension://63c1a6a6-1fc2-4b6e-9e82-73b9b477404d/player/main.mjs:21
yt.mjs:4:1991

Expected behavior

No message on cli.

Current behavior

i don't feel anything breaking.

Version

Default

Anything else?

I'm using Fast Stream which is possible not updated, idk. I'm sorry if i'm putting something that is not a bug because they need to update their build. https://github.com/Andrews54757/FastStream/blob/main/chrome/player/modules/yt.mjs Sorry for taking your time.

Checklist

  • [ ] I am running the latest version.
  • [x] I checked the documentation and found no answer.
  • [x] I have searched the existing issues and made sure this is not a duplicate.
  • [x] I have provided sufficient information.

hyunlee1o avatar Apr 21 '25 16:04 hyunlee1o

I'm also seeing this:

inputContext Tell me the key points in this video https://youtu.be/_2NijXqBESI?si=nYRmE9W4Xhl2dh0t
[YOUTUBEJS][Parser]:  [Error: CompositeVideoPrimaryInfo not found!
This is a bug, want to help us fix it? Follow the instructions at https://github.com/LuanRT/YouTube.js/blob/main/docs/updating-the-parser.md or report it at https://github.com/LuanRT/YouTube.js/issues!
Introspected and JIT generated this class in the meantime:
class CompositeVideoPrimaryInfo extends YTNode {
  static type = 'CompositeVideoPrimaryInfo';



  constructor(data: RawNode) {
    super();
  }
}
] {
  date: 2025-05-15T03:03:25.878Z,
  version: '13.4.0'
}

glaksmono avatar May 15 '25 03:05 glaksmono

Resolved in 15.0.0.

absidue avatar Jul 18 '25 21:07 absidue