phloide
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2013
12:49 PM
XML help
ok, in the videoplayer demo, I am trying to replace in the categoryFeed.brs
conn.UrlPrefix = "http://rokudev.roku.com/rokudev/examples/videoplayer/xml"
with
conn.UrlPrefix = "../xml"
to access the files in the xml forlder, but this apprently is not working...
when I upload it with the "../xml" it freezes
Thanks
conn.UrlPrefix = "http://rokudev.roku.com/rokudev/examples/videoplayer/xml"
with
conn.UrlPrefix = "../xml"
to access the files in the xml forlder, but this apprently is not working...
when I upload it with the "../xml" it freezes
Thanks
3 REPLIES 3

RokuJoel
Binge Watcher
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2013
12:56 PM
Re: XML help
are you trying to load local XML? if so, then you need to replace any url transfers with readAsciiFile("pkg:/xml/filename.xml")
- Joel
- Joel
phloide
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2013
02:29 PM
Re: XML help
Thanks!
phloide
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2013
04:32 PM
Re: XML help
ok... i am showing my nubie status with xml.
i am running over the xml example in the videoplayer, and I am trying to determine which are essential elements to include in the xml code and which ones are "descriptors" and or not essential
<contentId>10003</contentId>
<contentType>Talk</contentType>
<contentQuality>SD</contentQuality>
<streamFormat>mp4</streamFormat>
<media>
<streamQuality>SD</streamQuality>
<streamBitrate>1500</streamBitrate>
<streamUrl>http://www.phloide.com/videos/sine_computersettings.mp4</streamUrl>
</media>
I read that if I don't define stream format, it is automatically assumed to be mp4
I am also not sure what the SD and HD all determine.
what
Thanks
i am running over the xml example in the videoplayer, and I am trying to determine which are essential elements to include in the xml code and which ones are "descriptors" and or not essential
<contentId>10003</contentId>
<contentType>Talk</contentType>
<contentQuality>SD</contentQuality>
<streamFormat>mp4</streamFormat>
<media>
<streamQuality>SD</streamQuality>
<streamBitrate>1500</streamBitrate>
<streamUrl>http://www.phloide.com/videos/sine_computersettings.mp4</streamUrl>
</media>
I read that if I don't define stream format, it is automatically assumed to be mp4
I am also not sure what the SD and HD all determine.
what
Thanks