VLC 2.1.x web player no longer supports subtitles?
Posted: 23 Dec 2013 22:33
Hello there,
In VLC 2.0.8 this still worked:
in VLC 2.1.x it no longer loads the subtitle file (it always wants it ONLY as local file, so no more http or something???
).
I've tried replacing it by an input-slave like:
But this won't work. Could anyone point me what replaced the subtitle functionality and if I will be stuck on the old VLC for this functionality?
Regards,
Paul
In VLC 2.0.8 this still worked:
Code: Select all
<script type="text/javascript">
<!--
var vlc = document.getElementById("vlc");
var options = new Array(":sub-file=http://192.168.0.200/moviedb/movie.srt",":start-time=30");
vlc.playlist.add("http://192.168.0.200/moviedb/movie.mp4","Some File",options);
//!-->
</script>

I've tried replacing it by an input-slave like:
Code: Select all
<script type="text/javascript">
<!--
var vlc = document.getElementById("vlc");
var options = new Array(":input-slave=http://192.168.0.200/moviedb/movie.srt",":start-time=30");
vlc.playlist.add("http://192.168.0.200/moviedb/movie.mp4","Some File",options);
//!-->
</script>
Regards,
Paul