SunnyLi / videojs-ass

Advanced SubStation Alpha subtitle plugin for videojs
https://sunnyli.github.io/videojs-ass/example.html
Other
91 stars 22 forks source link

Subtitle Not Correctly display on different browsers #13

Closed pasathaioum5 closed 7 years ago

pasathaioum5 commented 8 years ago

Let the picture tell everything.

untitled

Did I do something wrong?

SunnyLi commented 8 years ago

I can't say.. maybe try to disable Svg as I recently saw some issues with that on Firefox and maybe that's also the case for IE.

plugins: {
  ass: {
    src: 'subs/subtitles.ass',
    enableSvg: false
  }
}
pasathaioum5 commented 8 years ago

Thanks for your advice My Subtitle is now showing but unfortunately...

untitled2

SunnyLi commented 8 years ago

I think it is an issue with how each browser handle fonts.

See here for potential solutions.

pasathaioum5 commented 7 years ago

Problem solved by "enableSvg: false" and declare @font-face for all the font I've used at CSS file although it not perfect but does the job Thank you

SunnyLi commented 7 years ago

glad you got it working :)