keeptalking
9 years agoVisitor
Using xml from remote server
Hi all,
I am trying to understand and alter the sample code from the "videolist" example. I want to change it so it gets the xml video listing from my own remote server rather than having it hard coded into the app. I know I need to change this section to point to my server:
Unfortunately my level of understanding is still poor and I cannot figure out how to alter the code.
I will be eternally grateful if someone can help!
Many thanks,
Mark
I am trying to understand and alter the sample code from the "videolist" example. I want to change it so it gets the xml video listing from my own remote server rather than having it hard coded into the app. I know I need to change this section to point to my server:
m.readVideoContentTask = createObject("RoSGNode","VideoContentReader")
m.readVideoContentTask.observeField("videocontent","showvideolist")
m.readVideoContentTask.videocontenturi = "pkg:/server/videocontent.xml"
m.readVideoContentTask.control = "RUN"
Unfortunately my level of understanding is still poor and I cannot figure out how to alter the code.
I will be eternally grateful if someone can help!
Many thanks,
Mark