mirror of
https://github.com/QL-Win/QuickLook.git
synced 2026-03-01 01:00:27 +08:00
Allow plugin initialization when application starts
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user