Git Product home page Git Product logo

Comments (11)

Dacogetul avatar Dacogetul commented on June 3, 2024 1

Thank you again

from openplayerjs.

rafa8626 avatar rafa8626 commented on June 3, 2024

@Dacogetul you need to check if the file is having CORS issues. Even when the player attempts to load them in a different way to bypass CORS, I've seen that it can be blocked still by that. So, check that first and let me know if that's the cause. If so, you need to make sure your files don't have CORS

from openplayerjs.

Dacogetul avatar Dacogetul commented on June 3, 2024

I open html files from some folder on my desktop: html, mp4 and vtt not from server. I use : movie.mp4, movie.vtt in some folder with player.html not https://……..
I tried with https://... path and that WORK but from local files no.
Why cannot add multiple subtitle? like english (default) and other language?

from openplayerjs.

rafa8626 avatar rafa8626 commented on June 3, 2024

@Dacogetul in order to troubleshoot this, I will need a CodePen or URL where you reproduce the error. Based on that I can answer your question about multiple languages

from openplayerjs.

Dacogetul avatar Dacogetul commented on June 3, 2024

https://codepen.io/Dragos-Brojbeanu/pen/ZEVOGap

from openplayerjs.

rafa8626 avatar rafa8626 commented on June 3, 2024

@Dacogetul I can see the subtitles, the thing is that they are not turned on automatically. If you want that, you need to set one of the tracks as default by setting that keyword as part of the track tag attributes. In order to see the other languages, you need to check the settings icon and you will see them listed. But again, if they are off, you will never see them (see how the Captions button is red, rather than gray)
Screenshot 2023-08-31 at 8 42 09 AM

from openplayerjs.

rafa8626 avatar rafa8626 commented on June 3, 2024
Screenshot 2023-08-31 at 8 50 06 AM

from openplayerjs.

Dacogetul avatar Dacogetul commented on June 3, 2024

OK...Thank you Now I realized that the settings of the subtitles are made from the gear wheel.

from openplayerjs.

rafa8626 avatar rafa8626 commented on June 3, 2024

You are welcome; please consider giving the project a star to support it :)

from openplayerjs.

Dacogetul avatar Dacogetul commented on June 3, 2024

I already did it !!! Thank you very much!!!!

from openplayerjs.

rafa8626 avatar rafa8626 commented on June 3, 2024

thank you!!

from openplayerjs.

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.