Share this page

IMediaControl Interface
Web methods for playing media (audio/video) files embedded in the HTML page.

C# Syntax

    public interface IMediaControl

Public Properties

| Name | Description
--- | --- | ---
| CurrentSource | The URL of this media file, which is currently selected in the browser window.
| Duration | The length of the currently selected media file (in milliseconds).
| HasAutoPlay | Indicates whether this media file starts playing as soon as it loads.
| HasPlaybackControls | Indicates whether this media player should display playback controls.
| IsMuted | Indicates whether the media volume is muted.
| IsPlaying | Indicates whether this media file is currently playing.
| IsPlayInLoop | Indicates whether this media file should start playing again from the beginning as soon as it finishes playing.
| PlaybackRate | Indicates the speed of the media playback.
| PlaybackTime | The current playback position in the media file (in milliseconds).
| Sources | A collection of all media file source URLs.
| Volume | Indicates the volume used when playing this media file.

Top
Public Methods

| Name | Description
--- | --- | ---
| Pause | Pauses the media playback.
| Play | Plays the media file.
| Reload | Reloads the media file.

Top

Tips to improve your search results... OpenText™ Functional Testing for Developers .NET SDK Version: 25.2 OpenText™ Functional Testing for Developers SDK 25.2 All View Local Help Center View Online Help Center Version: