This project is read-only.

Display Duration instead of remaining time?

Topics: Windows 8 JavaScript
Sep 16, 2014 at 6: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 7: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.
Marked as answer by jaxim on 9/16/2014 at 11:32 AM