namespace Vav2Player { enum VideoDecoderType { Auto, NVDEC, VPL, AMF, DAV1D, MediaFoundation }; [default_interface] runtimeclass VideoPlayerControl2 : Microsoft.UI.Xaml.Controls.UserControl { VideoPlayerControl2(); // Public Properties String VideoSource; Boolean ShowControls; Boolean AutoPlay; VideoDecoderType DecoderType; // Public Methods void LoadVideo(String filePath); void Play(); void Pause(); void Stop(); void Seek(Double timeSeconds); // Status Properties (read-only) Boolean IsVideoPlaying{ get; }; Boolean IsVideoLoaded{ get; }; Double CurrentTime{ get; }; Double Duration{ get; }; String Status{ get; }; } }