Using the videoexample, what needs to be added to play from a json file on my own server? In the code I attached, it plays an mp4 and it plays hls but I need to access my own json file. Can someone lead me in the right direction so i can get started on this part? Would ir be a rourlxfer?
Thank you.
<?xml version = "1.0" encoding = "utf-8" ?>
<!--********** Copyright 2016 Roku Corp. All Rights Reserved. **********-->
<component name = "VideoExample" extends = "Scene" >
<script type = "text/brightscript" >
<![CDATA[
sub init()
videocontent = createObject("RoSGNode", "ContentNode")
videocontent.title = "Example Video"
videocontent.streamformat = "mp4"
videocontent.url = "http://xxxxxxx.mp4"
video = m.top.findNode("exampleVideo")
video.content = videocontent
video.setFocus(true)
video.control = "play"
end sub
]]>
</script>
<children >
<Video id = "exampleVideo"/>
</children>
</component>
http://www.victoryNOWfilmsandtv.com