Trying this, and it doesn't do anything
function createRow(list as object, num as Integer)
print "Parser.brs - [createRow]"
Parent = createObject("RoSGNode", "ContentNode")
row = createObject("RoSGNode", "ContentNode")
row.Title = list[num].Title
fullRow = []
for each itemAA2 in list[num].ContentList
item2 = createObject("RoSGNode","ContentNode")
AddAndSetFields(item2, itemAA2)
fullRow.push(item2)
end for
for each itemAA in list[num].ContentList
item = createObject("RoSGNode","ContentNode")
AddAndSetFields(item, itemAA)
for each childRow in fullRow
item.appendChild(childRow)
end for
row.appendChild(item)
end for
Parent.appendChild(row)
return Parent
end function
and then in the details screen:
<Video
id="VideoPlayer"
visible="false"
translation="[0, 0]"
width="1920"
height="1080"
contentIsPlaylist="true"
/>
and the play button doesn't work. it throws an error saying "No streams were provided for playback", but i'm sure a video uri is being passed in.