Class TAdVideoPlayer
Unit
AdVideo
Declaration
type TAdVideoPlayer = class(TAdCustomVideoPlayer)
Description
Use this class to display video in your application, if you load your video data from a stream or a video file. TAdVideo player adds the support of loading video data from files or streams to TAdCustomVideoPlayer.
Hierarchy
Overview
Methods
 |
constructor Create(AParent: TAdDraw); |
 |
destructor Destroy; override; |
 |
procedure Open(AFile: string); overload; |
 |
procedure Open(AStream: TStream); overload; |
 |
procedure Seek(APos: int64); |
Properties
 |
property Size: int64 read GetSize; |
 |
property Pos: int64 read GetPos; |
Description
Methods
 |
constructor Create(AParent: TAdDraw); |
Creates an instance of TAdCustomVideoPlayer
|
 |
destructor Destroy; override; |
Destroys the instance of TAdCustomVideoPlayer and all created objects.
|
 |
procedure Open(AFile: string); overload; |
Opens a file.
|
 |
procedure Open(AStream: TStream); overload; |
Opens a stream. Do not free the stream before the video is closed.
|
 |
procedure Seek(APos: int64); |
Seeks to another position in the media stream.
|
Properties
 |
property Size: int64 read GetSize; |
Returns the size of the stream.
|
 |
property Pos: int64 read GetPos; |
Returns the current stream position.
|

Generated by PasDoc 0.11.0 on 2008-12-31 14:32:00