Table of Contents

Class MediaControlDescription

Namespace
HP.LFT.SDK.Web
Assembly
HP.LFT.SDK.dll

The description of a Web MediaControl (audio control or video control) test object.

public abstract class MediaControlDescription : WebElementDescription, ICloneable, IDescription
Inheritance
MediaControlDescription
Implements
Derived
Inherited Members

Constructors

MediaControlDescription()

protected MediaControlDescription()

Properties

CurrentSource

The URL of the media file currently selected in the browser window.

public StringProperty CurrentSource { get; set; }

Property Value

StringProperty

Duration

The length of the currently selected media file (in milliseconds).

public uint? Duration { get; set; }

Property Value

uint?

HasAutoPlay

Indicates whether the media file should start playing as soon as it loads.

public bool? HasAutoPlay { get; set; }

Property Value

bool?

HasPlaybackControls

Indicates whether the media player should display playback controls.

public bool? HasPlaybackControls { get; set; }

Property Value

bool?

IsMuted

Indicates whether the media volume is muted.

public bool? IsMuted { get; set; }

Property Value

bool?

IsPlayInLoop

Indicates whether the media file should start playing again from the beginning as soon as it finishes playing.

public bool? IsPlayInLoop { get; set; }

Property Value

bool?

IsPlaying

Indicates whether the media file is currently playing.

public bool? IsPlaying { get; set; }

Property Value

bool?

PlaybackRate

Indicates the speed of the media playback.

public double? PlaybackRate { get; set; }

Property Value

double?

Remarks

Possible values: Numbers with up to two decimal places. For example, 0.51 or 1.00.

PlaybackTime

The current playback position in this media file (in milliseconds).

public uint? PlaybackTime { get; set; }

Property Value

uint?

Sources

The list of all media file source URLs (separated by ;).

public string[] Sources { get; set; }

Property Value

string[]

Remarks

A media file may have multiple URL addresses for use in different browser types.

Volume

Indicates the volume used when playing the media file.

public double? Volume { get; set; }

Property Value

double?

Remarks

Possible values: Numbers with up to two decimal places. For example, 0.51 or 1.00.