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

36 lines
840 B
Plaintext

namespace Vav2Player
{
enum VideoDecoderType
{
Auto,
Software,
HardwareMF
};
[default_interface]
runtimeclass VideoPlayerControl : Microsoft.UI.Xaml.Controls.UserControl
{
VideoPlayerControl();
// Public Properties
String VideoSource;
Boolean ShowControls;
Boolean AutoPlay;
Boolean UseHardwareRendering;
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; };
}
}