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: 
deverasarf
Visitor

roVideoPlayer

Hello there!

I'm using the 2D API for my game UI, in it I have a section to display the video. The video is should not be full screen (thinking of youtube like player embeded in a page)

I've been trying to get the roVideoPlayer to display, unfortunately all the examples i've found make usage of the roImageCanvas which i do not use and for force me to do massive changes to the composition.

I was wondering if anyone could provide a code snippet (assuming that it would be possible) where the player can be added to the roScreen to get that youtube look (not fullscreen).
Some of my random Roku Posts:
http://blog.deveras.co.uk/roku-deployment-with-grunt/
http://blog.deveras.co.uk/roku-remote/
0 Kudos
3 REPLIES 3
EnTerr
Roku Guru

Re: roVideoPlayer

Perhaps this recent post relates: viewtopic.php?f=34&t=70763
0 Kudos
deverasarf
Visitor

Re: roVideoPlayer

The search facility failed me! Thanks a million for the link, it got sorted 😉
Some of my random Roku Posts:
http://blog.deveras.co.uk/roku-deployment-with-grunt/
http://blog.deveras.co.uk/roku-remote/
0 Kudos
NewManLiving
Visitor

Re: roVideoPlayer

You use rovideoplayer setdestinationrect
To define the x,y,width,height. Then
You use roscreen drawrect with the same
X,y,w,h. To draw a fully transparent rectangle
Over it. &h00000000
My Channels: 2D API Framework Presentation: https://owner.roku.com/add/2M9LCVC
Updated: 11-11-2015 - Completed Keyboard interface
The Joel Channel ( Final Beta )
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.