videojs-vlc icon indicating copy to clipboard operation
videojs-vlc copied to clipboard

subtitle

Open farwarx opened this issue 10 years ago • 2 comments

When a is set, the subtitle isn't available in vlc plugin. Maybe it's not possible.

farwarx avatar Feb 26 '15 09:02 farwarx

Unfortunately this seems to be a dead end. Subtitle is not supported with external .srt files (:sub-files option) in latest VLC Web Plugin version, this feature was officially removed for security reason according to Jean-Baptiste Kempf.

Afterster avatar Jul 07 '15 21:07 Afterster

I use https://github.com/SunnyLi/videojs-ass/ along with this vlc plugin. Subtitle are rendered in javascript and displayed in an overlay over the video. It work great, you need just a little script (php, python, whatever) to convert on the fly srt subs to ass subs.

nitmir avatar Jul 27 '15 15:07 nitmir