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: 
Highlighted

Re: RAF 2.0: Native integration of ads in RSG apps

Was anybody ever able to get RAF to play ads smaller than full screen?
0 Kudos
Highlighted
Roku Employee
Roku Employee

Re: RAF 2.0: Native integration of ads in RSG apps

"bryandunbar42" wrote:
Was anybody ever able to get RAF to play ads smaller than full screen?

Yes, it works
0 Kudos
Highlighted
Level 7

Re: RAF 2.0: Native integration of ads in RSG apps

Can you post an example how to show the ad smaller than full screen?  I've tried the one in this thread and it doesn't resize the video, it just moves it.

0 Kudos
Highlighted
Level 10

Re: RAF 2.0: Native integration of ads in RSG apps

Can't you just wrap the video node with a group then use scale on that group to shrink the video node? Set the scale to 0.25 to get 1/4 the size then adjust the translation placement to get where you need to be.

Highlighted
Level 7

Re: RAF 2.0: Native integration of ads in RSG apps

Thanks @speechles, that helps position the ad correctly.  Now the video that plays after the ad is moved, but maybe I can figure that out.  Strange it seems the ad plays in a different player or something?

0 Kudos