Valeriia
Channel Surfer

Resuming scrub bar issue

https://sdkdocs.roku.com/display/sdkdoc/Video[/url:3rxr4w5d] this field is[/color]
[/font][/color]
Read-Only
Time of the current position in the stream. Either UTC time or elapsed since start of stream depending on content type
why is that so?[/font][/color]
Tags (1)
0 Kudos
4 REPLIES 4
speechles
Roku Guru

Re: Resuming scrub bar issue

Are you giving absolute or relative positions when seeking? The seeking is done relative to the position it presently is. You mean you found a bug?
Tags (1)
0 Kudos
Valeriia
Channel Surfer

Re: Resuming scrub bar issue

"speechles" wrote:
Are you giving absolute or relative positions when seeking? The seeking is done relative to the position it presently is. You mean you found a bug?

I mean, the difference is always the same 2m 20s.
And I am using scrub bar so m.VideoPlayer.seek does not change.
Tags (1)
0 Kudos
speechles
Roku Guru

Re: Resuming scrub bar issue

"Valeriia" wrote:
"speechles" wrote:
Are you giving absolute or relative positions when seeking? The seeking is done relative to the position it presently is. You mean you found a bug?

I mean, the difference is always the same 2m 20s.
And I am using scrub bar so m.VideoPlayer.seek does not change.

Your observer is reading m.player.position and it is off by 2m20s? If so the obvious answer is pos = m.player.position - 140
But you are right that isn't right since it should be dead on. For me it is dead on in mine using the same observer. What version of firmware is on your Roku?
Tags (1)
0 Kudos
Valeriia
Channel Surfer

Re: Resuming scrub bar issue

resolved.
Tags (1)
0 Kudos
Community is Temporarily in Read-Only Mode!

We’re upgrading Roku Community to bring you a faster, more mobile-friendly experience. You may notice limited functionality or read-only access during this time. You will not be able to log in or post new comments or kudos during this time. Read more here.

Planned Downtime:
Community will be unavailable for up to 24–48 hours during the upgrade window during the week of May 12 and you may notice reduced functionality. In the meantime, for additional assistance, visit our Support Site.

Thanks for your patience — we’re excited to share what’s next!