public static void Dispose(VideoHandle handle) { handle.Video.Dispose(); if (handle.PathToTempFileOnDisk != null) { if (File.Exists(handle.PathToTempFileOnDisk)) { File.Delete(handle.PathToTempFileOnDisk); } } }
public static double GetDuration(VideoHandle handle) { return(handle.Video.Duration); }
public static void SetVolume(VideoHandle handle, float volume) { handle.Video.Volume = volume; }
public static float GetVolume(VideoHandle handle) { return(handle.Video.Volume); }
public static void SetPosition(VideoHandle handle, double position) { handle.Video.Position = position; }
public static double GetPosition(VideoHandle handle) { return(handle.Video.Position); }
public static void CopyPixels(VideoHandle handle, byte[] destination) { handle.Video.CopyPixels(destination); }
public static void Pause(VideoHandle handle) { handle.Video.Pause(); }
public static void UpdateTexture(VideoHandle handle, System.Int32 textureHandle) { handle.Video.UpdateTexture(textureHandle); }
public static int GetRotationDegrees(VideoHandle handle) { return(handle.Video.RotationDegrees); }
public static void Play(VideoHandle handle) { handle.Video.Play(); }
public static bool IsFrameAvailable(VideoHandle handle) { return(handle.Video.IsFrameAvaiable); }
public static int GetHeight(VideoHandle handle) { return(handle.Video.Height); }
public static int GetWidth(VideoHandle handle) { return(handle.Video.Width); }