Media
Wisej.Web.Media
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Base implementation for media controls.
Properties
AutoPlay
Boolean: Plays the media directly when it is loaded / the page is loaded. (Default: False
)
BorderStyle
BorderStyle: Indicates the border style for the control. (Default: None
)
CurrentTime
Double: Sets or returns the current playback position in the audio/video (in seconds). (Default: 0
)
Loop
Boolean: Indicates that the media element is to seek back to the start of the media resource upon reaching the end. (Default: False
)
Muted
Boolean: Specifies that the audio output of the video should be muted. (Default: False
)
ShowControls
Boolean: Shows or hides the native control of the video element. (Default: True
)
SourceURL
String: Returns or sets the URL of the video file to display in the video control. (Default: null
)
Volume
Double: Indicates the border style for the control. (Default: 0.5
)
Methods
Pause()
Pauses the currently playing audio/video.
Play()
Starts playing the audio/video.
Events
CurrentTimeChanged
EventHandler Fired when the current time has been changed.
Ended
EventHandler Fired when the audio/video has finished playing.
Error
EventHandler Fired when an error occurred during the loading of an audio/video.
Paused
EventHandler Fired when the audio/video has been paused.
Playing
EventHandler Fires when the audio/video is playing after having been paused or stopped for buffering.
VolumeChanged
EventHandler Fired when the volume has been changed.
Waiting
EventHandler Fired when the video stops because it needs to buffer the next frame.
Inherited By
Name | Description |
---|---|
Represents a Video control that displays a video file. | |
Represents a Audio control that plays an audio file. |
Implements
Name | Description |
---|---|
Bindable components implement this interface. | |
Controls that support drag & drop operations implement this interface. | |
All wisej components implement this interface. | |
All wisej controls derived from the Control class must implement this interface. | |
Allows an object to serialize itself. |
Last updated