Allow plugin initialization when application starts

This commit is contained in:
Paddy Xu
2017-06-03 13:07:48 +03:00
parent 5886ee5c12
commit fb394288dd
12 changed files with 59 additions and 2 deletions

View File

@@ -13,6 +13,11 @@ namespace QuickLook.Plugin.VideoViewer
public int Priority => int.MaxValue;
public bool AllowsTransparency => true;
public void Init()
{
MediaElement.FFmpegPaths.RegisterFFmpeg();
}
public bool CanHandle(string path)
{
if (Directory.Exists(path))