Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Video.js: TypeError: Cannot read properties of undefined (reading 'lastExcludeReason_') #5118

Closed
gptlang opened this issue Dec 18, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@gptlang
Copy link

gptlang commented Dec 18, 2024

Describe the bug
Some videos fail to play, but only some.
Uncaught TypeError: this.media() is undefined
VIDEOJS: ERROR: TypeError: updatedPlaylist is undefined

90% of videos work. It's just a few at random

Different errors depending on Chrome/Firefox

Steps to Reproduce

  1. Go to https://iv.duti.dev/watch?v=oJ5fFph0AEM

Logs

VIDEOJS: ERROR: TypeError: updatedPlaylist is undefined
    setupMasterPlaylistLoaderListeners_ https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:61475
    dispatcher https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:2250
    trigger https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:2386
    trigger https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:2789
    haveMetadata https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:40887
    request https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:41042
    callbackWrapper https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:42278
    request https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:42303
    cbOnce https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:7910
    loadFunc https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:7984
    _createXHR https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:8027
    createXHR https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:7897
    XhrFunction https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:42302
    media https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:41026
    switchMedia_ https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:61235
    setupMasterPlaylistLoaderListeners_ https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:61417
    dispatcher https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:2250
    trigger https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:2386
    trigger https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:2789
    setupInitialPlaylist https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:41229
    request https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:41187
    callbackWrapper https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:42278
    request https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:42303
    cbOnce https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:7910
    loadFunc https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:7984
    _createXHR https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:8027
    createXHR https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:7897
    XhrFunction https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:42302
    start https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:41151
    load https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:41105
    MasterPlaylistController https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:61199
    src https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:64406
    handleSource https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:64906
    setSource https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:12200
    Html5 https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:22089
    loadTech_ https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:25228
    src_ https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:27656
    handleSrc_ https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:27561
    setSourceHelper https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:12565
    setSourceHelper https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:12567
    setSource https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:12306
    timeoutId https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:5078
    setTimeout handler*setTimeout https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:5073
    setSource https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:12305
    handleSrc_ https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:27551
    src https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:27627
    MediaLoader https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:12789
    addChild https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:4164
    handleAdd https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:4296
    initChildren https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:4345
    Player https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:24558
    videojs$1 https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:30166
    <anonymous> https://iv.duti.dev/js/player.js?v=9fe68a33:56
video.js:163:49
    LogByTypeFactory https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:163
    error https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:351
    dispatcher https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:2252
    trigger https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:2386
    trigger https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:2789
    haveMetadata https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:40887
    request https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:41042
    callbackWrapper https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:42278
    request https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:42303
    cbOnce https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:7910
    loadFunc https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:7984
    (Async: EventHandlerNonNull)
    _createXHR https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:8027
    createXHR https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:7897
    XhrFunction https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:42302
    media https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:41026
    switchMedia_ https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:61235
    setupMasterPlaylistLoaderListeners_ https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:61417
    dispatcher https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:2250
    trigger https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:2386
    trigger https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:2789
    setupInitialPlaylist https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:41229
    request https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:41187
    callbackWrapper https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:42278
    request https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:42303
    cbOnce https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:7910
    loadFunc https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:7984
    (Async: EventHandlerNonNull)
    _createXHR https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:8027
    createXHR https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:7897
    XhrFunction https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:42302
    start https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:41151
    load https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:41105
    MasterPlaylistController https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:61199
    src https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:64406
    handleSource https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:64906
    setSource https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:12200
    Html5 https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:22089
    loadTech_ https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:25228
    src_ https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:27656
    handleSrc_ https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:27561
    setSourceHelper https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:12565
    setSourceHelper https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:12567
    setSource https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:12306
    timeoutId https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:5078
    (Async: setTimeout handler)
    setTimeout https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:5073
    setSource https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:12305
    handleSrc_ https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:27551
    src https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:27627
    MediaLoader https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:12789
    addChild https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:4164
    handleAdd https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:4296
    initChildren https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:4345
    Player https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:24558
    videojs$1 https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:30166
    <anonymous> https://iv.duti.dev/js/player.js?v=9fe68a33:56
Uncaught TypeError: this.media() is undefined
    haveMetadata https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:40891
    request https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:41042
    callbackWrapper https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:42278
    request https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:42303
    cbOnce https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:7910
    loadFunc https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:7984
    _createXHR https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:8027
    createXHR https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:7897
    XhrFunction https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:42302
    media https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:41026
    switchMedia_ https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:61235
    setupMasterPlaylistLoaderListeners_ https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:61417
    dispatcher https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:2250
    trigger https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:2386
    trigger https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:2789
    setupInitialPlaylist https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:41229
    request https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:41187
    callbackWrapper https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:42278
    request https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:42303
    cbOnce https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:7910
    loadFunc https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:7984
    _createXHR https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:8027
    createXHR https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:7897
    XhrFunction https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:42302
    start https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:41151
    load https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:41105
    MasterPlaylistController https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:61199
    src https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:64406
    handleSource https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:64906
    setSource https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:12200
    Html5 https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:22089
    loadTech_ https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:25228
    src_ https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:27656
    handleSrc_ https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:27561
    setSourceHelper https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:12565
    setSourceHelper https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:12567
    setSource https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:12306
    timeoutId https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:5078
    setTimeout handler*setTimeout https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:5073
    setSource https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:12305
    handleSrc_ https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:27551
    src https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:27627
    MediaLoader https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:12789
    addChild https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:4164
    handleAdd https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:4296
    initChildren https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:4345
    Player https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:24558
    videojs$1 https://iv.duti.dev/videojs/video.js/video.js?v=9fe68a33:30166
    <anonymous> https://iv.duti.dev/js/player.js?v=9fe68a33:56
video.js:40891:17

Additional context:

@gptlang gptlang added the bug Something isn't working label Dec 18, 2024
@unixfox
Copy link
Member

unixfox commented Dec 18, 2024

@unixfox unixfox closed this as not planned Won't fix, can't repro, duplicate, stale Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants