-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regression from 1.0.2 to 1.1.0 #169
Comments
@Robloche Yes, imscJS should not die. However the document is also not a valid IMSC document: |
Duplicate from #168 |
I'm not the one producing the TTMLs I use... So it's perfect if your lib can handle badly formed files. Thanks! |
I updated to 1.1.1 and still get the same error. |
@Robloche Do you still see an uncaught exception? |
Yes, precisely. |
@Robloche I cannot replicate it at https://www.sandflow.com/imsc1_1/index.html using the file you provided above. Can you confirm you are using 1.1.1-rc.1? |
The document specifies Can you DM me at pal@sandflow.com the source of file? It would be good to address the fundamental issue. |
I tried to change the font size on-the-fly, by replacing Also, I DMed you a file. |
@Robloche My guess is that the document was authored against 720p video. Adding the |
I tried adding
But i get the same result: clipped vertical text. |
@Robloche Here's what I get: Do you see something different? |
@Robloche The library unfortunately needs to wrap spans and use the |
I'm back again. :o) So, I cleaned up some old CSS and got rid of my vertical stack of |
Since I updated to version 1.1.0, I get a systematic crash trying to render my subtitles.
Here's an example.
I tried to pin down the culprit and reached this part of code (in
html.js
):At this point,
attr
seems to be of an incorrect type and, of course, that leads to the following:The text was updated successfully, but these errors were encountered: