Code Monkey home page Code Monkey logo

Comments (12)

dr-dimitru avatar dr-dimitru commented on May 17, 2024

Hi @marcchapeau ,
I'm glad you like this package.

I believe your issue is related to #53
Please confirm you're converting video to required formats to support all browsers, see caniuse video

But at the same time it is not explains why video stops. In terms of demo app (hosted on meteor) it may be speed issue, as meteor platform for demo apps is not good in performance and speed. Have you tested it locally?

from meteor-files.

marcchapeau avatar marcchapeau commented on May 17, 2024

Thx for your answer.

Yes, I tested it locally and on production with my own dedicated server with the same result. As I said, the demo video file of VideoJS works on all browser so it is probably not a video format issue. The only difference i can see is that on VideoJS, the video is directly served from server and with your package and the "?play=true" request the video is manually served with partial-range http request. Of course, I tried to directly put the same video file in the meteor public folder and it works perfectly (without using your package).

Maybe this is due to the implementation of the "partial-range" between the different browsers...

Thanks for your help.

from meteor-files.

dr-dimitru avatar dr-dimitru commented on May 17, 2024

partial-range is tested on most browsers in major version. If wrong part or length of chunk is returned in headers, you should see error in "Network" tab of dev-tools (in Chrome for example). Are you sure file is served by Meteor (nodejs), not a proxy server, like nginx or Apache?

  1. Do you have any errors, js or network, or any other?
  2. You're playing video by build-in video tag or with using third-party js-video-player?

from meteor-files.

marcchapeau avatar marcchapeau commented on May 17, 2024

With Chrome in network tab of dev-tools i can see each partial-range request without problem. With Firefox, it's strange because there is no line representing the partial-range request.
When i try this on my own environnement, i get exactly the same result with your live demo. I just uploaded the video on your demo website.

I think this is not an environnement problem.

Sorry for your time but I try to solve this problem without success and your package is the only one working good to upload and serve video file with meteor (except this little problem ^^)

from meteor-files.

dr-dimitru avatar dr-dimitru commented on May 17, 2024

Confirmed, only in FF.
What I see right now, the FF is not requesting next chunk from server after receiving 206 response code, and keeps playing first chunk. On screenshot you can see correct response and headers.

Could you please try third-party player, it should fix this issue, as they know how to handle such cases.
Or try to use link without ?play=true query, and/or try to use ?download=true query (both methods will increase sever's CPU and memory usage).

Sorry, I but I don't have time now to code and play around with settings. But I'm able to answer for any further questions. And do not forget to tell about your solution.

screen shot 2016-03-21 at 7 00 34 pm

from meteor-files.

dr-dimitru avatar dr-dimitru commented on May 17, 2024

Hey @marcchapeau ,
Any news on your end?

from meteor-files.

marcchapeau avatar marcchapeau commented on May 17, 2024

Sorry, I was working on another project.

But yes, I have some news. I tried a third party player (videoJs) and there is the same problem. With Chrome, it works perfectly and with FF always the same first chunk.

I tried with and without ?play=true, and with ?download=true but there is always the problem. The only difference is with ?download=true, you can right click on the video player to download the file. Without ?download=true or with ?play=true, the dowloaded file is an empty file.

So sorry but i did not find a solution to solve this problem...

from meteor-files.

dr-dimitru avatar dr-dimitru commented on May 17, 2024

@marcchapeau I've called for help of community, you may would like to spread it bigger (as i don't have much followers).
Or/and aside to it, you can ask on SO. Reference this thread, with tags of firefox, node.js, a/v streaming, meteor

from meteor-files.

dr-dimitru avatar dr-dimitru commented on May 17, 2024

@marcchapeau any news around this issue?

from meteor-files.

dr-dimitru avatar dr-dimitru commented on May 17, 2024

Hi @marcchapeau could you please check on your end, if this issue is solved at latest release?

from meteor-files.

marcchapeau avatar marcchapeau commented on May 17, 2024

Sorry but unfortunately the problem does not seem to be resolved.
With Chrome it works well, but with FF only the the first chunk is sent to the browser.

Thank you for the support of Meteor 1.3.

from meteor-files.

dr-dimitru avatar dr-dimitru commented on May 17, 2024

Heads up, this issue was solved in 1.4.0, could you please confirm on your end?

BTW if you're curious what it was caused by, read:

from meteor-files.

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.