Skip to content

Commit

Permalink
chore: fix references
Browse files Browse the repository at this point in the history
  • Loading branch information
RafaelMendesRosa committed Aug 9, 2023
1 parent c4b0ac6 commit d9b7b49
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System;
using MediaPlayerLocal = Windows.Media.Playback.MediaPlayer;
using System;
using System.Collections.Generic;
using Windows.Foundation.Metadata;
using Windows.Media.Core;
Expand Down Expand Up @@ -36,7 +37,7 @@ private void InitializePlaybackList()
{
if (MediaPlayerElementSample5.MediaPlayer == null)
{
MediaPlayerElementSample5.SetMediaPlayer(new Windows.Media.Playback.MediaPlayer());
MediaPlayerElementSample5.SetMediaPlayer(new MediaPlayerLocal());
}
MediaPlayerElementSample5.Source = MediaSource.CreateFromUri(new Uri("https://uno-assets.platform.uno/tests/videos/Mobile_Development_in_VS_Code_with_Uno_Platform_orDotNetMAUI.mp4"));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public MediaPlayerElementSamplePage()
Loaded += MediaPlayerElementSamplePage_Loaded;
}

private void MediaPlayerElementSamplePage_Loaded(object sender, RoutedEventArgs e)
private void MediaPlayerElementSamplePage_Loaded(object sender, Microsoft.UI.Xaml.RoutedEventArgs e)
{
if (!ApiInformation.IsPropertyPresent("Windows.Media.Playback.MediaPlaybackList", "Items"))
{
Expand Down

0 comments on commit d9b7b49

Please sign in to comment.