Files
video-v1/vav2/platforms/windows/applications/vav2player/Vav2Player/VideoPlayerControl2.idl

39 lines
848 B
Plaintext

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; };
}
}