IRoad
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-03-2014
02:15 PM
Subtitles .SRT
Hi,
I am trying to add a subtitles on my channel. I added on my xml this code:
I believe a this point, I need to change something on apVideoScreen.... I did it few month ago and now I lost the code....maybe the age 🙂
Thanks in advance...
I am trying to add a subtitles on my channel. I added on my xml this code:
<item sdImg="http://xxxxxxxx.cloudfront.net/vodrokuartwork/y-dna-h.jpg" hdImg="http://xxxxxxxxxx.cloudfront.net/vodrokuartwork/y-dna-h.jpg">
<title>MRI - Magnetic Resonance Imaging</title>
<contentId>199990</contentId>
<contentType>movie</contentType>
<contentQuality>SD</contentQuality>
<preplay1>http://xxxxxxxx.cloudfront.net/ads/ads1.mp4</preplay1>
<streamFormat>mp4</streamFormat>
<srt>http://xxxxxxxxxx.cloudfront.net/CC/mri-xxxxxxi.srt</srt>
<media>
I believe a this point, I need to change something on apVideoScreen.... I did it few month ago and now I lost the code....maybe the age 🙂
Thanks in advance...
1 REPLY 1
IRoad
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-03-2014
02:36 PM
Re: Subtitles .SRT
Done, follow these steps
and in showFeed.brs near the bottom:
<srt>http://myserver.com/videos/myvideo.srt</srt>
and in showFeed.brs near the bottom:
item.SubtitleURL=validstr(curShow.srt.GetText())
item.SDBifUrl= validstr(curShow.sdBifUrl.GetText())