modernise video player UI

This commit is contained in:
Paddy Xu
2017-07-29 00:19:50 +03:00
parent 73d131972a
commit f03719af81
7 changed files with 360 additions and 131 deletions

View File

@@ -57,8 +57,6 @@ namespace QuickLook.Plugin.VideoViewer
using (var element = new MediaElement {Source = new Uri(path)})
{
context.SetPreferredSizeFit(new Size(element.NaturalVideoWidth, element.NaturalVideoHeight), 0.6);
context.PreferredSize = new Size(context.PreferredSize.Width,
context.PreferredSize.Height + 26); // add control bar
}
}