Comments (11)
Thank you again
from openplayerjs.
@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.
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.
@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.
https://codepen.io/Dragos-Brojbeanu/pen/ZEVOGap
from openplayerjs.
@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)
from openplayerjs.
from openplayerjs.
OK...Thank you Now I realized that the settings of the subtitles are made from the gear wheel.
from openplayerjs.
You are welcome; please consider giving the project a star to support it :)
from openplayerjs.
I already did it !!! Thank you very much!!!!
from openplayerjs.
thank you!!
from openplayerjs.
Related Issues (20)
- Error Event Leaks even though the playererror event listener is attached. HOT 9
- ES6/AMD *.default is not a constructor HOT 13
- Question: How to destroy player ? HOT 14
- Playback is blocked on iOS when ads are loaded dynamically HOT 15
- Async Playback is getting blocked on Safari and iOS HOT 5
- DRM Support for FairPlay HOT 5
- Dont work my XML VAST ads HOT 2
- Volume slider class never added if it's mobile view? HOT 2
- Can it repeat sentences (1/2/3/4 per sentence) according the lrc/srt subtitles? HOT 3
- Settings not work online HOT 3
- Ad MediaFile delivery type=streaming in VAST XML throws non fatal error. HOT 8
- puased player when block the phone HOT 2
- Change play icon HOT 1
- Add alt attribute to addControl api HOT 5
- fix chrome lighthouse Accessibility error HOT 8
- reduce css file size HOT 3
- HLS has problem HOT 13
- Subtitle on iphone - full screen HOT 5
- loop playback: spinner is permently visible HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openplayerjs.