Microsoft-ui-xaml: MediaPlayerElement time indicators deviate from Microsoft style guide requirements

Created on 3 Sep 2019  ·  4Comments  ·  Source: microsoft/microsoft-ui-xaml

Reference URL: https://styleguides.azurewebsites.net/Styleguide/Read?id=2547&topicid=14813

For “Time indicators (media)”, the style guide requires that there be no leading zeros in the number of minutes, and no visible zero ('0') for the number of hours for content that's less than one hour long.

E.g. In this sample video:
image
The time remaining should be “0:12”, and not “00:00:12”.

team-Reach

Most helpful comment

I this case i prefer the control way, if i see "0:12" without prior knowledge i would think that this is a 12 minutes video and not 12 seconds.

All 4 comments

I this case i prefer the control way, if i see "0:12" without prior knowledge i would think that this is a 12 minutes video and not 12 seconds.

With SMTPE standards, seeing it as is the the correct way. I concur that 00:12 would make me think it's 12 mins.

I've opened https://github.com/MicrosoftDocs/windows-uwp/issues/1927 to track documentation update.

Upon discussion with the owner of the style guide, the way we are using time on our media control is good. Their style guide is more generic text style guidance and does not specifically cover this specifc application UI scenario. So our media control topic should cover the detail.

@dan-jac , talked with documentation team further. The document you refer to is an internal to Microsoft doc. We have an external facing document that should be followed by both internal and external application teams which is here. https://docs.microsoft.com/en-us/windows/uwp/design/ This document does not specify all the reasons for control design choice especially around certain UI that are built in and developers are not able to change.

Was this page helpful?
0 / 5 - 0 ratings