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

C# Syntax

public interface IMediaControl 
Public Properties
 NameDescription
PropertyCurrentSourceThe URL of this media file, which is currently selected in the browser window.  
PropertyDurationThe length of the currently selected media file (in milliseconds).  
PropertyHasAutoPlayIndicates whether this media file starts playing as soon as it loads.  
PropertyHasPlaybackControlsIndicates whether this media player should display playback controls.  
PropertyIsMutedIndicates whether the media volume is muted.  
PropertyIsPlayingIndicates whether this media file is currently playing.  
PropertyIsPlayInLoopIndicates whether this media file should start playing again from the beginning as soon as it finishes playing.  
PropertyPlaybackRateIndicates the speed of the media playback.  
PropertyPlaybackTimeThe current playback position in the media file (in milliseconds).  
PropertySourcesA collection of all media file source URLs.  
PropertyVolumeIndicates the volume used when playing this media file.  
Top
Public Methods
 NameDescription
MethodPausePauses the media playback.  
MethodPlayPlays the media file.  
MethodReloadReloads the media file.  
Top