Is it possible to use roListscreen with rovideoplayer?
I am a newbie in Roku Development so please bear with me. I want to create a windowed video player along with a playlist on one screen. I want the playlist to be scrollable. My research so far has showed that for scrollable list I can use roListscreen and for video I can use rovideoplayer component.
But I am facing a problem when I try to use the both together. I am trying to display rovideoplayer on the right side of the screen using its SetDestRect method. But the videoplayer doesnot appear on the screen at all.
So my question is that Are these two components compatible at all?? If yes any example or link I can use.Any suggestions would be really appreciated.
Here is the script I am using:
'Library "v30/bslDefender.brs" Function Main() as void screen = CreateObject("roListScreen") port = CreateObject("roMessagePort") vport = CreateObject("roMessagePort") player= CreateObject("roVideoPlayer") screen.SetMessagePort(port) InitTheme() screen.SetHeader("Welcome to The Channel Diner") screen.SetBreadcrumbText("Menu", "Breakfast")