Comments (11)
Any specific error you are getting?
Anyways I'll look into it now.
edit:
I've updated this plugin to be compatible with libjass v0.9.0
which might have caused some problems.
I've also tested the updated version on bower/npm with the latest videojs v4.11.3
which works.
hope it resolves your problem.
from videojs-ass.
is it only suppose to be specifically working with youtube videos? Ive tried replicating the same build as you have y building libjass but when i use it i get some error relating to libjass + renderer-null unexpected length. (Am i to use the dev version of videojs or the normal version)
Ill try replicating the problem again and giving screenshots
from videojs-ass.
is it only suppose to be specifically working with youtube videos?
No, you can probably use any provider.
I used the YouTube provider because the video I need is there.
Am i to use the dev version of videojs or the normal version
Yeah, you'll have to use the dev
version.. until videojs/video.js#1586 gets resolved. 😇
Ive tried replicating the same build as you have y building libjass but when i use it i get some error relating to libjass + renderer-null unexpected length.
are you on the latest version which I've just pushed less than an hour ago?
how did you get the source? bower/npm/git (if you were using git, which branch were you on?)
from videojs-ass.
i think the the 2nd issue you mentioned might be the problem. And ill build the newest one now and test it.
from videojs-ass.
Alright that seems to have worked. I just wish i didnt have to use the dev version because i want to minify it.
from videojs-ass.
Glad to hear that you got it working. 😃
Actually, you can in fact use the minified version videojs with the current version of this plugin
(I've tested it just now) although the show/hide subtitle toggle button will no longer work.
You can disable the subtitle toggle button by setting the option like this:
plugins: {
ass: {
'src': "some_subtitle.ass",
'button': false
}
}
You can implement your own function to show/hide the subtitle if you need so.
from videojs-ass.
Meh ill just live with the dev version for now. Would you like to see how
i've implemented it?
Because im wondering if it would be possible to have the button for
multilangual purposes.
On Thu, Jan 22, 2015 at 8:05 PM, Sunny Li [email protected] wrote:
Glad to hear that you got it working. [image: 😃]
Actually, you can in fact use the minified version videojs with the
current version of this plugin
(I've tested it just now) although the show/hide subtitle button will no
longer work.You can disable the show/hide subtitle button by setting the option:
plugins: {
ass: {
'src': "some_subtitle.ass",
'button': false
}
}—
Reply to this email directly or view it on GitHub
#2 (comment).
from videojs-ass.
I think you'll need to modify this plugin quite a bit if you need it to load multiple subtitle files
but it is definitely possible.
I'm not planning to add more features to this plugin at the moment,
but if you got something great working feel free to submit a pull request.
from videojs-ass.
Well the only thing i've managed to do was make it work with a responsive
videojs player that has a 16:9 aspect ration whenever the browser resizes
or when ur on a phone. It's just some small css edit in lijass.css though
and removing the "px" in the video.ass.js
On Fri, Jan 23, 2015 at 1:18 AM, Sunny Li [email protected] wrote:
I think you'll need to modify this plugin quite a bit if you need it to
load multiple subtitle files
but it is definitely possible.I'm not planning to add more features to this plugin at the moment,
but if you got something great working feel free to submit a pull request.—
Reply to this email directly or view it on GitHub
#2 (comment).
from videojs-ass.
Teranode, are you able to supply those fixes? It may help me with my problem on mobile and responsive player.
from videojs-ass.
Hi, I've released v0.5
of this plugin which supports minified version of videojs 5.x
.
Just so you know. 😄
PSA: v0.5
has now been into master
! so I'm closing this ticket. 😃
from videojs-ass.
Related Issues (20)
- Multiple subtitle on the video HOT 4
- control-bar under the subtitle text HOT 1
- Embedded Subtitles HOT 1
- Subtitle Not Correctly display on different browsers HOT 5
- How to insert a subtitle link? HOT 2
- Cannot toggle subtitle display on touch devices HOT 2
- Subtitle on iPhone and iPad doesn't show HOT 1
- [Question] Possible to load a new subtitle file via JS? HOT 8
- [Suggestion] Video Resize HOT 3
- what about JavascriptSubtitlesOctopus? HOT 1
- Videojs Caption Selection HOT 2
- . HOT 3
- Do not support metadata type data?
- Subtitle on ps4
- When playing preroll ads, sometimes the text appears very small
- Update to VideoJS 7
- subtitle changes position is wrong in chrome
- Libjass is discontinued.
- Use libjass.ASS.fromUrl ? HOT 1
- Jitter in the youtube example HOT 3
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 videojs-ass.