I've been trying to get subtitles/captioning working on my web plugin Internet Explorer page, but have been unsuccessful in doing so. I currently have a Javascript file (.js) that is called from the main index.html file, everything works except for this.. It used to work previously using this same code, but seems to have stopped after an update. I am utilizing UDP streams.
Here's the portion of .js code:
Code: Select all
function doCaptionsOn()
{
getVLC("vlc").video.subtitle = "1";
}
function doCaptionsOff()
{
getVLC("vlc").video.subtitle = "0";
}
Code: Select all
<input type="button" id='Captions' value='Enable Captions' onclick='doCaptions();' />
<input type="button" id='Captions' value='Disable Captions' onclick='doCaptionsOff();' />