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... UFT Developer .NET SDK Reference Version 15.0-15.0.2 UFT Developer SDK Reference All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic Version: