bvibber / ogv.js

JavaScript media player using Ogg/Vorbis/Theora/Opus/WebM libs compiled with Emscripten

Home Page:https://brooke.vibber.net/misc/ogv.js/demo/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

431 Request Header Fields Too Large - ogv wasm

rtman opened this issue · comments

commented

Hi,

I'm getting the following error in both firefox and safari:

Safari:

Screen Shot 2020-12-10 at 4 32 16 PM

Screen Shot 2020-12-10 at 4 39 27 PM

Firefox:

Screen Shot 2020-12-10 at 4 38 06 PM

Any idea how to fix this issue?

commented

This appears to go away if i copy the source files directly to the public directory and use that as the base path. Using 'node_modules/ogv/dist' doesnt seem to work for me. Additionally import ogv from 'ogv' doesn't work either, webpack errors, var ogv = require('ogv') seems to work.

How is this loaded? Is it a webpack package? How are you loading things? Is the source available?

commented

This was in a react based project, using npm and importing the package. It's been a while so I don't fully remember but should be reproduceable with a fresh react project.