Roku Developer Program

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

RAF ad player size

Is there a way to set the RAF ad player's size? The content player is 720x405 but the ad player still plays as if fullscreen.

I am passing in the video's parent as the third argument of showAds()
m.view = video.getParent()
...
m.RAF.showAds(m.adPods, invalid, m.view)


   <Rectangle id="videoPlayerContainer" width="720" height="405" translation="[0,70]" clippingRect="[0,0,720,405]">
   <Video
     id="videoPlayer"
     visible="true"
     width="720"
     height="405"
   />
   </Rectangle>


Thanks in advance. 
0 Kudos