Class TAdVideoPlayer

DescriptionHierarchyFieldsMethodsProperties

Unit

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

Public constructor Create(AParent: TAdDraw);
Public destructor Destroy; override;
Public procedure Open(AFile: string); overload;
Public procedure Open(AStream: TStream); overload;
Public procedure Seek(APos: int64);

Properties

Public property Size: int64 read GetSize;
Public property Pos: int64 read GetPos;

Description

Methods

Public constructor Create(AParent: TAdDraw);

Creates an instance of TAdCustomVideoPlayer

Public destructor Destroy; override;

Destroys the instance of TAdCustomVideoPlayer and all created objects.

Public procedure Open(AFile: string); overload;

Opens a file.

Public procedure Open(AStream: TStream); overload;

Opens a stream. Do not free the stream before the video is closed.

Public procedure Seek(APos: int64);

Seeks to another position in the media stream.

Properties

Public property Size: int64 read GetSize;

Returns the size of the stream.

Public property Pos: int64 read GetPos;

Returns the current stream position.

SourceForge.net Logo


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