Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SystemMediaTransportControls - UI doesn't show all buttons or timeline #537

Closed
softworkz opened this issue Nov 25, 2016 · 10 comments
Closed
Labels

Comments

@softworkz
Copy link

I'm on Windows 10 latest release and the SystemMediaTransportControls are not showing buttons like FastForward, Rewind, AutoRepeat etc.

Also the samples are performing updates to the timeline, but I can't see any timeline displayed.

How can I see the timeline and the mentioned buttons? If I implement these features, I would also like to test them.

What am I missing here?

@aarononeal
Copy link

aarononeal commented Nov 25, 2016

  1. What API are you using to play media?
  2. What platform (desktop, phone, Xbox)?
  3. What OS build?
  4. How are you bringing up the controls?
  5. Are you playing video or audio content?

@softworkz
Copy link
Author

  1. I'm doing my own playback and update the SystemMediaTransportControls information as demonstrated in the javascript portion of the sample SystemMediaTransportControls
  2. Tested on desktop and phone emulator
  3. Desktop 14393.and latest insider build 14965; Mobile emulator 14393
  4. Desktop: Start, Stop, Pause, Skip, Volume buttons on the keyboard and lock screen.
    Mobile: Volume buttons and lock screen
  5. Tested both audio and video in all scenarios

@aarononeal
Copy link

aarononeal commented Nov 25, 2016

Phone currently has a design limitation that prevents other buttons from showing on these controls unless using a Media Foundation based API for playback, such as MediaPlayer.

I'm not aware of this same limitation existing for desktop, but I've followed up with the team to find out.

Phone has an additional limitation that only audio and not video content is supported.

@softworkz
Copy link
Author

And how about the timeline? You created the sample containing code to update the timeline. How did you test this? I never got a timeline displayed. It always looks like this:

mediacontrols

@aarononeal
Copy link

aarononeal commented Nov 25, 2016

Desktop does not have a timeline control. It's only the phone or Xbox shell (off the top of my head I don't remember which) that displays it--also Bluetooth and SmartGlass.

@aarononeal
Copy link

What you're running into here are platform UI differences, not a sample issue, so I'm marking closed.

We track platform enhancements through a different system and will take your feedback into account.

@softworkz
Copy link
Author

So you're saying the buttons shown in the screenshot are always exactly those three on Windows Desktop and this cannot be changed through the SystemMediaTransportControls API?

I just wonder that SystemMediaTransportControls is offering all those properties (even for playback speed, AutoRepeatMode button, ShuffleMode button, FastForward, Rewind etc.) while there is no way to test it.

Or are those controls displayed on xbox only?

@aarononeal
Copy link

aarononeal commented Nov 25, 2016

So you're saying the buttons shown in the screenshot are always exactly those three on Windows Desktop and this cannot be changed through the SystemMediaTransportControls API?

Correct. Others are available on Bluetooth and SmartGlass.

@softworkz
Copy link
Author

One last question: You had mentioned "Bluetooth" a while ago in a similar context. What kind of Bluetooth setup scenario are you referring to?

@aarononeal
Copy link

AVRCP devices like a car stereo provide their own user interface to control playback. So if you pair a phone with one of those then additional features may be available through that device UI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants