Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
rcelestino
Level 7

Firmware 2.8: setDestinationRect

Hi,

We use 4:3 videos for our channels.

Before the firmware 2.8 we tryied our channens in 16:9 and HD modes and the videos were resized to fullscreen (the featured that we wanted).

After our rokus were updated to the last firmware (2.8-) our channels begun to see in letterbox, this are not resized to fullscreen.
We tryied to use:

screen.SetDestinationRect({x:0,y:0,w:0,h:0})

But it is not working.

Thanks a lot!

Roberto Celestino.
0 Kudos
3 REPLIES 3\
auzy
Level 7

Re: Firmware 2.8: setDestinationRect

Are you using roVideoScreen or roVideoPlayer?
0 Kudos
rcelestino
Level 7

Re: Firmware 2.8: setDestinationRect

I am using roVideoScreen.
Code:
dataScreen=CreateObject("roAssociativeArray")
dataScreen.x=0
dataScreen.y=0
dataScreen.w=0
dataScreen.h=0
screen.SetDestinationRect(dataScreen)
0 Kudos
rcelestino
Level 7

Re: Firmware 2.8: setDestinationRect

We do an update to the 2.8 build 1158 and it is working fine now.
0 Kudos