Git Product home page Git Product logo

Comments (3)

TFSThiagoBR98 avatar TFSThiagoBR98 commented on August 14, 2024

Open /etc/nginx/mime.types
You'll see two columns, media type on the left, file type on the right
Add the line application/wasm wasm

Check in the Web Console, if the request had the mime type above.

from javascriptsubtitlesoctopus.

heyaco avatar heyaco commented on August 14, 2024

Thanks for your response. I already added the wasm mime type and restarted nginx but I am still getting the error in my console. Here is the entire console log:

Debugging enabled
plyr.js:114 Config Object
plyr.js:115 Support Object
fullscreen.js:196 Native fullscreen enabled
plyr.js:277 event: progress
plyr.js:277 event: ready
/v1/favicon.ico?v=wAOz4X2G7G:1 Failed to load resource: the server responded with a status of 404 (Not Found)
plyr.js:277 event: loadedmetadata
subtitles-octopus-worker.js:1 wasm streaming compile failed: TypeError: Failed to execute 'compile' on 'WebAssembly': Incorrect response MIME type. Expected 'application/wasm'.
Module.printErr @ subtitles-octopus-worker.js:1
subtitles-octopus-worker.js:1 falling back to ArrayBuffer instantiation
Module.printErr @ subtitles-octopus-worker.js:1
plyr.js:277 event: loadeddata
plyr.js:277 event: canplay
plyr.js:277 event: canplaythrough
subtitles-octopus-worker.js:1 warning: Browser does not support creating object URLs. Built-in browser image decoding will not be available.
subtitles-octopus-worker.js:1 libass: Shaper: FriBidi 1.0.5 (SIMPLE) HarfBuzz-ng 2.3.1 (COMPLEX)
subtitles-octopus-worker.js:1 libass: Using font provider fontconfig
subtitles-octopus-worker.js:1 libass: Added subtitle file: '/sub.ass' (7 styles, 934 events)

from javascriptsubtitlesoctopus.

heyaco avatar heyaco commented on August 14, 2024

I noticed i no longer get the error when I access the URL with a domain name. Before I was visiting it using the server's IP address.

from javascriptsubtitlesoctopus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.