Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
5ytech
Visitor

remove black vertical bars from video

I am developing a rovideoplayer on roimagecanvas, my video which is playing has a black vertical bars at side of the video player, i did not find "screen to fill" option in rovideoplayer, how can i make the video occupy full screen, i need to play in size w:920, H:500. how can i do it?
0 Kudos
2 REPLIES 2
RokuChris
Roku Employee
Roku Employee

Re: remove black vertical bars from video

You may be able to make this work by changing the size of the rect you define in the call to SetDestinationRect(). The idea is to size and position the video so that the pillar-boxes are displayed offscreen.
0 Kudos
5ytech
Visitor

Re: remove black vertical bars from video

we have different types of videos?
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.