"SoN9ne" wrote:
"adrianc1982" wrote:
i did it like this:
m.player.SetContentList([{
streamFormat: m.container
stream: { url: url }
PlayStart: 0
FullHD: True
SubtitleConfig: { TrackName: m.container+"/3" }
ShowSubtitle: 1
}])
I actually tried both ways, the documentation states it should be in SubtitleConfig, but the error still happens either way. The ShowSubtitle is a flag to force the closed captions to show by default instead of the user telling it to with the remote. I don't want it on by default but I do need the capability as the channel I am working on is for elders.
you can activate subtitles just get the position the movie is at, set the metadata while movie is playing to showsubtitles and then do a .play() again. If you did it right movie will start playing at the position it was with subtitles on, you can put subtitles off the same way...