Giter VIP home page Giter VIP logo

Comments (7)

ThaUnknown avatar ThaUnknown commented on August 16, 2024

the only diff between .14 and .16 in that file is a new line at the end of the file, if this is causing issues there's something SERIOUSLY wrong with ur build setup https://npmdiff.dev/jassub/1.7.16/1.7.14/package/dist/jassub-worker.js/

from jassub.

ThaUnknown avatar ThaUnknown commented on August 16, 2024

your 2nd question isn't in english so i cant answer if

from jassub.

ThaUnknown avatar ThaUnknown commented on August 16, 2024

https://thaunknown.github.io/jassub/jassub/simple/index.html which runs this version runs flawlessly

from jassub.

yannHippert avatar yannHippert commented on August 16, 2024

Didn't received currentTime > 5 seconds. Assuming video was paused.

Okay well I will look into it a bit, but yeah it seems that that might produce my issue which is wierd.

from jassub.

yannHippert avatar yannHippert commented on August 16, 2024

your 2nd question isn't in english so i cant answer if

Well it seems that when using Jassub in combination with the canvas-element, it pauses its process, because it didn't receive an new currentTime. I assume that the currentTime would be provided from the reference to the video-element.
This causes my captions to break.

from jassub.

yannHippert avatar yannHippert commented on August 16, 2024

https://thaunknown.github.io/jassub/jassub/simple/index.html which runs this version runs flawlessly

Lastly, is the source-code of the example available on a github, because for now I am using Nextjs and use this in my next.config.mjs to be able to provide the required files.

  webpack: (config) => {
    const customPlugins = [
      new CopyPlugin({
        patterns: [
          // Jassub
          {
            from: 'node_modules/jassub/dist/jassub-worker.js',
            to: 'static/file/jassub',
          },
          {
            from: 'node_modules/jassub/dist/jassub-worker.wasm',
            to: 'static/file/jassub',
          },
        ],
      }),
    ];

from jassub.

ThaUnknown avatar ThaUnknown commented on August 16, 2024

it simply statically copies files, its on /gh-pages branch, anyways this is an issue on your end

from jassub.

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.