"keeptalking" wrote:
I am using this example:
https://sdkdocs.roku.com/download/attac ... 629&api=v2
Good grief, yet another copy of that - but slightly different.
Why are RokuCo's examples such a mess?!Why are there multiple copies in multiple places - how is one to know which is what, where is the consistency, where is a "catalog" to pick and choose?keeptalking - look inside videoContentReader.xml of "your" zip: ' uncomment/conditionalize for development package XML transfers (pkg:/server/foo.xml)'
xmlstring = ReadAsciiFile(m.top.videocontenturi)
videocontentxml.parse(xmlstring)
' uncomment/conditionalize for published channel Internet XML transfers (http://serverdomain/foo.xml)'
' readInternet = createObject("roUrlTransfer")'
' readInternet.setUrl(m.top.foocontentxmluri)'
' foocontentxml.parse(readInternet.GetToString())'
Comment out the first part, un-comment the 2nd.
Oh, and change foocontentxml -> videocontentxml, foocontentxmluri -> videocontenturi
Oh, and it's up to you to add code to check if the URL xfer has failed.
The Story of O...