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

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
EnTerr
Level 8

Re: roVideoPlayer

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

Re: roVideoPlayer

The search facility failed me! Thanks a million for the link, it got sorted Smiley Wink
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
Level 7

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