From 68027c43d6f9953d3edab2e82999fb60c900e35d Mon Sep 17 00:00:00 2001 From: Michael Gordeev Date: Mon, 11 Jun 2018 00:05:49 +0300 Subject: [PATCH] Video player controls fade & player initializaing development started --- FoxTube/FoxTube.csproj | 3 ++ FoxTube/MainPage.xaml.cs | 2 +- FoxTube/VideoPlayer.xaml | 14 +++---- FoxTube/VideoPlayer.xaml.cs | 74 +++++++++++++++++++++++++------------ 4 files changed, 62 insertions(+), 31 deletions(-) diff --git a/FoxTube/FoxTube.csproj b/FoxTube/FoxTube.csproj index d4d595a..6dfeecd 100644 --- a/FoxTube/FoxTube.csproj +++ b/FoxTube/FoxTube.csproj @@ -302,6 +302,9 @@ 2.2.0 + + 3.0.0 + 4.3.1 diff --git a/FoxTube/MainPage.xaml.cs b/FoxTube/MainPage.xaml.cs index 957493b..3bc7d6c 100644 --- a/FoxTube/MainPage.xaml.cs +++ b/FoxTube/MainPage.xaml.cs @@ -386,7 +386,7 @@ namespace FoxTube XmlDocument doc = new XmlDocument(); await Task.Run(() => { - doc.Load(string.Format("http://suggestqueries.google.com/complete/search?output=toolbar&hl={0}&q={1}", "en", keyword)); + doc.Load(string.Format("http://suggestqueries.google.com/complete/search?output=toolbar&hl={0}&q={1}", (settings.Values["region"] as string)[1] + (settings.Values["region"] as string)[2], keyword)); }); for (int k = 0; k < 5; k++) diff --git a/FoxTube/VideoPlayer.xaml b/FoxTube/VideoPlayer.xaml index c6da2c3..8fac4ac 100644 --- a/FoxTube/VideoPlayer.xaml +++ b/FoxTube/VideoPlayer.xaml @@ -12,10 +12,10 @@ Tapped="UserControl_Tapped" PointerMoved="UserControl_PointerMoved"> - - + + - + @@ -25,7 +25,7 @@ - + @@ -39,7 +39,7 @@