Roku Developer Program

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

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
Highlighted
Level 7

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
Highlighted
Level 7

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
Highlighted
Level 10

Re: roVideoPlayer with roScreen (2D API)

If the video is playing fullscreen, it's much easier.
0 Kudos
Highlighted
Level 7

Re: roVideoPlayer with roScreen (2D API)

Thank you all for the help. Smiley Happy
0 Kudos