Display Duration instead of remaining time?

Topics: Windows 8 JavaScript
Sep 16, 2014 at 5:51 PM
Is there a built-in way to change the Player Framework player so it displays a static number representing the video's End Time/Duration instead of the counting down "Remaining Time"?
Sep 16, 2014 at 6:30 PM
I figured it out!

I looked at the source code that is generated and saw a control button that is being hidden, which contains the duration I want to show. It is bound to the property "totalTime". Long story short, I figured out that I needed to set the following options in the HTML:

isRemainingTimeVisible: false,
isTotalTimeVisible: true,

This hides the remaining time and instead displays the total time/duration.

The "isTotalTimeVisible" property is not mentioned on the player's documentation page, at the time of me writing this.
https://playerframework.codeplex.com/wikipage?title=JavaScript%20API%20reference&referringTitle=Windows%208%20Player%20Documentation
Marked as answer by jaxim on 9/16/2014 at 11:32 AM