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

roVideoPlayer with roScreen (2D API)

Hi,
Are there any examples of creating a video player using roVideoPlayer and roScreen? (There is an example of roVideoPlayer with roImageCanvas but I am having some troubles with it similar to http://forums.roku.com/viewtopic.php?f=34&t=64679)
Thank you,
Chandana
0 Kudos
4 REPLIES 4
coolbits
Visitor

Re: roVideoPlayer with roScreen (2D API)

I digged some deeper in the forum and found this one very helpful!
http://forums.roku.com/viewtopic.php?f=34&t=51332&p=348629&hilit=rovideoplayer#p348629
0 Kudos
NewManLiving
Visitor

Re: roVideoPlayer with roScreen (2D API)

Although this is my first roku project. I found
That you need to create a porthole as I call it
Over the area of your video player the same as you would using
Imagecanvas. This is a transparent area that you can perform with
Drawrect with rgba set to full transparency. 00.
Quite frankly, the 2d API is not simple and implementing the rovideoplayer
Is not simple. I have found it best to use the compositor and create sprites
Using the z order much as you would layers in an image canvas

Keep in mind that you are limited to 720 video res. You have to implement
All the functioning of tracking and error handling yourself. I find that there
Are even messages that come to you in the isstatusmessage event that are
Not even defined In the documentation. Sometimes More useful than what you get with
IsrequestfaIled. The bottom line is:
Unless you are up to the task. It is not the way to go. I personally find it quite fun.
Creating menus and effects using penners easing equations are impressive on the roscreen
Of course you need to use double buffering in this case this is where composites are really useful
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
destruk
Binge Watcher

Re: roVideoPlayer with roScreen (2D API)

If the video is playing fullscreen, it's much easier.
0 Kudos
coolbits
Visitor

Re: roVideoPlayer with roScreen (2D API)

Thank you all for the help. 🙂
0 Kudos