coolbits
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2013
05:10 AM
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
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
4 REPLIES 4
coolbits
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2013
05:35 AM
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
http://forums.roku.com/viewtopic.php?f=34&t=51332&p=348629&hilit=rovideoplayer#p348629

NewManLiving
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2013
09:50 AM
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
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 )
Updated: 11-11-2015 - Completed Keyboard interface
The Joel Channel ( Final Beta )
destruk
Streaming Star
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2013
10:14 AM
Re: roVideoPlayer with roScreen (2D API)
If the video is playing fullscreen, it's much easier.
coolbits
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2014
01:03 PM
Re: roVideoPlayer with roScreen (2D API)
Thank you all for the help. 🙂