question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Proposal: MediaPlayerElement enhancement

See original GitHub issue
  1. Bring native MediaPlayerElement UI to Xbox. For more details, please refer to Bring native MediaPlayerElement UI to Xbox

2. Keep the playback rate. Currently, MediaPlayerElement reset the playback rate when playing a new media, even I set the rate manually. This means developers can’t set the rate, this is annoying when playing a series drama. Users want 2x rate, they have to set every episode… This code doesn’t work.

xMediaPlayer.Source = mediaPlaybackItem;
mediaPlayer.PlaybackSession.PlaybackRate = 2.0;
  1. Add debug panel and relative APIs. Currently, Apple TV player supports debug panel like YouTube’s stats for nerds. This debug panel is critically important for developers to check the network status. image

  2. More. The above is what I’m facing now, but I think there is more to improve. Cause the UWP user voice forum is closed, I can’t find any more info.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:4
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
hupo376787commented, Sep 21, 2020

@hupo376787 can you check playback session state in the PlaybackSession_PlaybackRateChanged?

Thanks, @maxkatz6 . I can keep the playback rate now by checking MediaPlaybackState.

        private void PlaybackSession_PlaybackRateChanged(MediaPlaybackSession sender, object args)
        {
            Debug.WriteLine(mediaPlayer.PlaybackSession.PlaybackState);
            if(mediaPlayer.PlaybackSession.PlaybackState != MediaPlaybackState.None)
                Globals.playbackRate = mediaPlayer.PlaybackSession.PlaybackRate;
        }
0reactions
StephenLPeterscommented, Sep 21, 2020

@Austin-Lamb or @codendone I’m struggling to remember where this should get pathed, I think reach is correct?

Read more comments on GitHub >

github_iconTop Results From Across the Web

MediaPlayerElement Class (Windows.UI.Xaml.Controls)
Gets or sets whether automatic text enlargement, to reflect the system text size setting, is enabled. (Inherited from Control). KeyboardAcceleratorPlacementMode.
Read more >
Extending a Universal Windows Platform Media App
The Universal Windows Platform (UWP) makes it easy to build rich media-based apps leveraging either the built-in MediaElement, or the Player ...
Read more >
How to Use the MediaElement in Xamarin.Forms
We explore the MediaElement in Xamarin.Forms — a new way to easily include audio and video in your Xamarin.Forms apps.
Read more >
37642 (Switch from mediaelement to video.js)
Are there any issues with MediaElement.js that this directly addresses, why should we replace the bundled video player? video.js is only a video...
Read more >
shims - All Documents
... State Transportation Improvement Program · Statewide Transportation Plan · Transportation Resilience ... mediaelement-core.js. mediaelement-core.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found