Skip to content

Commit

Permalink
removed if app and changed video source
Browse files Browse the repository at this point in the history
  • Loading branch information
StevenGranados authored and samhouts committed Jul 30, 2020
1 parent 09e86a5 commit 7a8d7d8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System.Collections.Generic;
using System.Reflection;
using Xamarin.Forms.CustomAttributes;
using Xamarin.Forms.Internals;

Expand All @@ -19,11 +20,9 @@ public class Issue9525 : TestNavigationPage
{
protected override void Init()
{
#if APP
Device.SetFlags(new List<string>(Device.Flags ?? new List<string>()) { "MediaElement_Experimental" });

PushAsync(CreateRoot());
#endif
}
private ContentPage CreateRoot()
{
Expand All @@ -42,7 +41,7 @@ private ContentPage CreateRoot()
new MediaElement
{
AutomationId = "Issue9525MediaElement",
Source="https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4",
Source = "https://sec.ch9.ms/ch9/80a3/6563611f-6a39-44fa-a768-1a58bdd080a3/HotRestart.mp4",
HeightRequest=200,
},
button
Expand All @@ -54,7 +53,7 @@ private ContentPage CreateRoot()
private void Button_Clicked(object sender, System.EventArgs e)
{
Navigation.InsertPageBefore(CreateRoot(), CurrentPage);
PopAsync().Wait();
Navigation.RemovePage(CurrentPage);
}


Expand Down
1 change: 1 addition & 0 deletions Xamarin.Forms.sln
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Xamarin.Forms.Platform.UAP.UnitTests", "Xamarin.Forms.Platform.UAP.UnitTests\Xamarin.Forms.Platform.UAP.UnitTests.csproj", "{8F245976-F555-4814-B935-9AD58F4D2871}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Xamarin.Forms.Platform.iOS.UnitTests", "Xamarin.Forms.Platform.iOS.UnitTests\Xamarin.Forms.Platform.iOS.UnitTests.csproj", "{52C50E88-7F15-45FE-A63C-8E7C76CA2BAE}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Xamarin.Forms.DualScreen.UnitTests", "Xamarin.Forms.DualScreen.UnitTests\Xamarin.Forms.DualScreen.UnitTests.csproj", "{00D50743-7821-4293-92F2-7C614C256BD6}"
EndProject
Global
GlobalSection(SharedMSBuildProjectFiles) = preSolution
Expand Down

0 comments on commit 7a8d7d8

Please sign in to comment.