Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PlaybackView get instance of video #91

Open
Allan-Nava opened this issue Mar 1, 2022 · 1 comment
Open

PlaybackView get instance of video #91

Allan-Nava opened this issue Mar 1, 2022 · 1 comment

Comments

@Allan-Nava
Copy link

Is possible to get the instance of video for playbackview https://github.com/rokudev/SceneGraphDeveloperExtensions/tree/4b47e72126c5e39a051a031a3c3de167f65710a7/samples/CustomGrid_ContentManager/components/PlaybackView

@RokuChris
Copy link
Contributor

Possible, but not recommended. SGDEX manages the Video node for you. If you were to start interacting with it directly, the results could be unpredictable.

With a custom view like the one you link to, there shouldn't be much need to access the Video node directly. You can access any field on the Video node using the "Proxy Node" mechanism described in this doc: https://github.com/rokudev/SceneGraphDeveloperExtensions/blob/master/documentation/6-ContentManager_with_Custom_Views_Guide.md

If you have a use case that isn't covered by that, we can take a look at how better to support it in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants