Your Digital Media Has Never Looked So Good

 
Lim
Topic Author
Posts: 5
Joined: Tue Jun 26, 2018 6:47 pm

wrong remaining time on player progress bar

Thu Jan 17, 2019 1:42 am

when I play a dash stream, roku player shows wrong remaining time on progress bar - "5h 45m"
And I founded that m.video.duration is set as 1.844674407371e+16
But if I play hls, the remaining time is shown correctly. And the m.video.duration is set correctly.
Does anyone know why the duration is set wrong and from where the player get this value?
I tested by changing m.video.content.length, but this value doesn't effect on progress bar.
 
renojim
** Valued Community Member **
Posts: 3490
Joined: Mon Feb 15, 2010 1:35 pm

Re: wrong remaining time on player progress bar

Thu Jan 17, 2019 1:36 pm

Did you try setting m.video.duration manually to see if it's reflected on the progress bar?
 
Lim
Topic Author
Posts: 5
Joined: Tue Jun 26, 2018 6:47 pm

Re: wrong remaining time on player progress bar

Thu Jan 17, 2019 6:47 pm

renojim wrote:
Did you try setting m.video.duration manually to see if it's reflected on the progress bar?

m.video.duration is marked as 'Read-Only' on Document, so I didn't think about set this by myself... hum... let me try.

And the result is...
I could change m.video.duration, but it is replaced by same big number.
 
destruk
Posts: 2720
Joined: Sat Dec 18, 2010 4:58 pm

Re: wrong remaining time on player progress bar

Thu Jan 24, 2019 9:34 am

It sounds like a firmware error to me.  You are allowing the progress bar to be handled automatically instead of creating it custom?  The duration ought to be in seconds, but you can try setting it /60 to see if the overflow scientific notation changes.
 
Lim
Topic Author
Posts: 5
Joined: Tue Jun 26, 2018 6:47 pm

Re: wrong remaining time on player progress bar

Tue Feb 19, 2019 10:40 pm

For the update of this issue, I found it working fine after few days. But I don't know how and why....

Who is online

Users browsing this forum: No registered users and 3 guests