2010-10-30, 21:07
Hi,
I created a plugin that plays a video online.
Let's say that I have a video file online
http://domain.com/playvideo.php?name=video1.avi
when I play the file on my plugin, I would like to load subtitle.
How do i do that?
Nevermind! I found it
xbmc.Player().play('http://link-to-video-file')
xbmc.Player().setSubtitles('http://link-to-srt-file')
I created a plugin that plays a video online.
Let's say that I have a video file online
http://domain.com/playvideo.php?name=video1.avi
when I play the file on my plugin, I would like to load subtitle.
How do i do that?
Nevermind! I found it
xbmc.Player().play('http://link-to-video-file')
xbmc.Player().setSubtitles('http://link-to-srt-file')