hlsjs-ipfs-loader icon indicating copy to clipboard operation
hlsjs-ipfs-loader copied to clipboard

Incompatibility with latest HLS.js versions

Open MeguminSama opened this issue 3 years ago • 5 comments

On the provided demo, the error e.parsing is undefined is thrown. Same goes for my implementation.

Has there been an update to HLS.js that broke this project?

Update: Works if I target [email protected]

MeguminSama avatar Jun 08 '21 23:06 MeguminSama

@MeguminSama What is the version of hls.js that does not work?

vaultec81 avatar Jun 09 '21 02:06 vaultec81

I've only tested with the latest, but I think it's broken because of a major release.

MeguminSama avatar Jun 09 '21 02:06 MeguminSama

@MeguminSama Could you provide some more stack trace/logs from the error output?

vaultec81 avatar Jun 09 '21 02:06 vaultec81

Upon visiting https://moshisushi.github.io/ipfs_hls_example.html

Firstly:

Uncaught (in promise) TypeError: e.parsing is undefined
    loadsuccess https://cdn.jsdelivr.net/npm/hls.js@latest:1
    loadInternal https://cdn.jsdelivr.net/npm/hlsjs-ipfs-loader@latest/dist/index.js:254
hls.js@latest:1:100225
    loadsuccess hls.js@latest:1
    <anonymous> self-hosted:1178
    loadInternal index.js:115

Secondly:

Uncaught (in promise) TypeError: e.parsing is undefined
    loadsuccess hls.js@latest:1
    loadInternal index.js:115
    promise callback*loadInternal index.js:110
    load index.js:40
    load hls.js@latest:1
    onManifestLoading hls.js@latest:1
    emit hls.js@latest:1
    emit hls.js@latest:1
    trigger hls.js@latest:1
    loadSource hls.js@latest:1
    handleInit ipfs_hls_example.html:28
    <anonymous> ipfs_hls_example.html:14
    async* ipfs_hls_example.html:35
hls.js@latest:1:100225

MeguminSama avatar Jun 09 '21 19:06 MeguminSama

@vaultec81 , it is an awesome loader, can you update to support stable hls player?

lospringliu avatar Nov 15 '21 20:11 lospringliu