- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is it possible, to somehow get the current time of the played video when a specific UDP message arrives? If the plugin creates the roVideoPlayer object and starts the video then I can access this information with the "GetPlaybackPosition()" function, but what I really need is to make the project with BrightAuthor and include a plugin and the plugin handles the time stamp, everything else (mainly the playlogic) is made with BrightAuthor.
I tried to modify the generated autorun file, but I can't access this property, I just can't find the right object in the code which I can call the GetPlaybackPosition and does not result in an error.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
BrightSign was split off from Roku some time ago. I don't know if you'll get any help there, but they're at https://www.brightsign.biz/
While Roku devices do use BrightScript, it's always had different features, so I don't think anyone here will be able to help unless they develop for both platforms.
Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.
I am not a Roku employee.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Get currently played video's Timestamp in a plugin [BrightScript]
Is this on a BrightSign device?
Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.
I am not a Roku employee.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Get currently played video's Timestamp in a plugin [BrightScript]
@renojim wrote:Is this on a BrightSign device?
Hello, yes, it is a BrightSign XT1144 player. The main concept I want to achieve is to create the playlogic and player syncronisation with BrightAuthor and the included plugin just listen for UDP messages and when one arrives with the right keywords it will reply with the current playback position of the video (or - 1 if there's no playback at the moment)
I just not able to extract the playback positions from the Autorun file as I can't reference the right roVideoPlayer object. I tried to included the plugin functions into the autorun but I can't reference the videoplayer object from there also, I get errors with every try I made before.
I tracked in the code which object starts the video, it's m.stateMachine.videoPlayer but when I try to reference it in the function which handles incoming events I can't, it throws me errors like this object does not exist.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
BrightSign was split off from Roku some time ago. I don't know if you'll get any help there, but they're at https://www.brightsign.biz/
While Roku devices do use BrightScript, it's always had different features, so I don't think anyone here will be able to help unless they develop for both platforms.
Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.
I am not a Roku employee.