MediaPlayer Members
Include Protected Members
Include Inherited Members
Provides a player that runs media (video or audio) using Silverlight in an ASP.NET Web page.
The MediaPlayer type exposes the following members.
Constructors
Name | Description | |
---|---|---|
MediaPlayer | Initializes a new instance of the MediaPlayer class. |
Top
Methods
Name | Description | |
---|---|---|
AddAttributesToRender | Adds HTML attributes and styles to render by using the specified HtmlTextWriter instance. This method is primarily used by control developers. (Inherited from Silverlight.) | |
AddedControl | (Inherited from Control.) | |
AddParsedSubObject | (Inherited from Control.) | |
ApplyStyle | (Inherited from WebControl.) | |
ApplyStyleSheetSkin | (Inherited from Control.) | |
BuildProfileTree | (Inherited from Control.) | |
ClearChildControlState | (Inherited from Control.) | |
ClearChildState | (Inherited from Control.) | |
ClearChildViewState | (Inherited from Control.) | |
CopyBaseAttributes | (Inherited from WebControl.) | |
CreateChildControls | (Inherited from Control.) | |
CreateControlCollection | (Inherited from Control.) | |
CreateControlStyle | (Inherited from WebControl.) | |
DataBind | Overloaded. | |
DataBindChildren | (Inherited from Control.) | |
Dispose | (Inherited from Control.) | |
EnsureChildControls | (Inherited from Control.) | |
EnsureID | (Inherited from Control.) | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
FindControl | Overloaded. | |
Focus | (Inherited from Control.) | |
GetDesignModeState | (Inherited from Control.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetScriptDescriptors | Retrieves properties from a MediaPlayer object that are passed to the Sys.UI.Silverlight.MediaPlayer client component that implements media player logic in the browser. (Overrides Silverlight.GetScriptDescriptors().) | |
GetScriptReferences | Retrieves the client script for the Sys.UI.Silverlight.MediaPlayer client control. (Overrides Silverlight.GetScriptReferences().) | |
GetSilverlightParameters | Provides values for Silverlight plug-in settings. (Inherited from Silverlight.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
HasControls | (Inherited from Control.) | |
HasEvents | (Inherited from Control.) | |
IsLiteralContent | (Inherited from Control.) | |
LoadControlState | (Inherited from Control.) | |
LoadViewState | Restores view-state information from a previous page request that was saved by the SaveViewState method. (Overrides WebControlLoadViewState(Object).) | |
MapPathSecure | (Inherited from Control.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
MergeStyle | (Inherited from WebControl.) | |
OnBubbleEvent | (Inherited from Control.) | |
OnDataBinding | (Inherited from Control.) | |
OnInit | (Inherited from Control.) | |
OnLoad | (Inherited from Control.) | |
OnPreRender | Raises the WebControl.PreRender event. (Inherited from Silverlight.) | |
OnUnload | (Inherited from Control.) | |
OpenFile | (Inherited from Control.) | |
RaiseBubbleEvent | (Inherited from Control.) | |
RemovedControl | (Inherited from Control.) | |
Render | Sends server control content to the specified HtmlTextWriter object, which writes the content to be rendered to the client. (Inherited from Silverlight.) | |
RenderBeginTag | (Inherited from WebControl.) | |
RenderChildren | (Inherited from Control.) | |
RenderContents | Renders the contents of the control to the specified HtmlTextWriter writer. This method is primarily used by control developers. (Inherited from Silverlight.) | |
RenderControl | Overloaded. | |
RenderEndTag | (Inherited from WebControl.) | |
ResolveAdapter | (Inherited from Control.) | |
ResolveClientUrl | (Inherited from Control.) | |
ResolveUrl | (Inherited from Control.) | |
SaveControlState | (Inherited from Control.) | |
SaveViewState | Saves the view-state changes that have occurred since the time the page was posted back to the server. (Overrides WebControlSaveViewState().) | |
SetDesignModeState | (Inherited from Control.) | |
SetRenderMethodDelegate | (Inherited from Control.) | |
ToString | Returns a String that represents the current Object. (Inherited from Object.) | |
TrackViewState | Tracks view-state changes to the StateBag object for the MediaPlayer control. (Overrides WebControlTrackViewState().) |
Top
Properties
Name | Description | |
---|---|---|
AccessKey | (Inherited from WebControl.) | |
Adapter | (Inherited from Control.) | |
AppRelativeTemplateSourceDirectory | (Inherited from Control.) | |
Attributes | (Inherited from WebControl.) | |
AutoLoad | Gets or sets a value that indicates whether the media file is automatically loaded when the MediaPlayer control is rendered. | |
AutoPlay | Gets or sets a value that indicates whether the media file starts to play immediately after it is opened. | |
AutoUpgrade | Gets or sets a value indicating whether the Silverlight plug-in should automatically be upgraded. (Inherited from Silverlight.) | |
BackColor | (Inherited from WebControl.) | |
BindingContainer | (Inherited from Control.) | |
BorderColor | (Inherited from WebControl.) | |
BorderStyle | (Inherited from WebControl.) | |
BorderWidth | (Inherited from WebControl.) | |
Chapters | Gets the list of chapters in the media file. | |
ChildControlsCreated | (Inherited from Control.) | |
ClientID | (Inherited from Control.) | |
ClientIDSeparator | (Inherited from Control.) | |
Context | (Inherited from Control.) | |
Controls | (Inherited from Control.) | |
ControlStyle | (Inherited from WebControl.) | |
ControlStyleCreated | (Inherited from WebControl.) | |
CssClass | (Inherited from WebControl.) | |
DefaultScriptType | Gets a reference to the client type that is created by default if the Silverlight.ScriptType property is not specified. (Overrides Silverlight.DefaultScriptType.) | |
DesignMode | (Inherited from Control.) | |
EnableCaptions | Gets or sets a value that indicates whether to enable closed captioning. | |
Enabled | (Inherited from WebControl.) | |
EnableFrameRateCounter | Gets or sets a value that determines whether to display the current frame rate in the hosting browser's status bar. (Inherited from Silverlight.) | |
EnableRedrawRegions | Gets or sets a value that indicates whether to show the areas of the Silverlight plug-in that are being redrawn for each frame. (Inherited from Silverlight.) | |
EnableTheming | (Inherited from WebControl.) | |
EnableViewState | (Inherited from Control.) | |
Events | (Inherited from Control.) | |
Font | (Inherited from WebControl.) | |
ForeColor | (Inherited from WebControl.) | |
HasAttributes | (Inherited from WebControl.) | |
HasChildViewState | (Inherited from Control.) | |
Height | (Inherited from WebControl.) | |
HtmlAccess | Gets or sets whether to allow the Silverlight-based application to access the HTML page Document Object Model (DOM). (Inherited from Silverlight.) | |
ID | (Inherited from Control.) | |
IdSeparator | (Inherited from Control.) | |
InitParameters | Gets or sets an optional set of user-defined initialization parameters. (Inherited from Silverlight.) | |
IsChildControlStateCleared | (Inherited from Control.) | |
IsEnabled | (Inherited from WebControl.) | |
IsTrackingViewState | (Inherited from Control.) | |
IsViewStateEnabled | (Inherited from Control.) | |
LoadViewStateByID | (Inherited from Control.) | |
MaxFrameRate | Gets or sets the maximum number of frames to render per second for the Silverlight document. (Inherited from Silverlight.) | |
MediaDefinition | Gets or sets the path of the media definition file. | |
MediaSkinSource | Gets or sets a value that identifies the skin used for the MediaPlayer control. | |
MediaSource | Gets or sets the media file for the MediaPlayer. | |
MinimumVersion | Gets or sets the minimum Silverlight plug-in host version that is required for this Silverlight-based application. (Inherited from Silverlight.) | |
Muted | Gets or sets a value that indicates whether audio should be muted in the player by default. | |
NamingContainer | (Inherited from Control.) | |
OnClientChapterSelected | Gets or sets the name of the client JavaScript function (event handler) that is called when the Sys.UI.Silverlight.MediaPlayer.chapterSelected client event is raised. | |
OnClientChapterStarted | Gets or sets the name of the client JavaScript function (event handler) that is called when the Sys.UI.Silverlight.MediaPlayer.chapterStarted client event is raised. | |
OnClientCurrentStateChanged | Gets or sets the name of the client JavaScript function (event handler) that is called when the Sys.UI.Silverlight.MediaPlayer.currentStateChanged client event is raised. | |
OnClientMarkerReached | Gets or sets the name of the client JavaScript function (event handler) that is called when the Sys.UI.Silverlight.MediaPlayer.markerReached event occurs. | |
OnClientMediaEnded | Gets or sets the name of the client JavaScript function (event handler) that is called when the Sys.UI.Silverlight.MediaPlayer.mediaEnded client event occurs. | |
OnClientMediaFailed | Gets or sets the name of the client JavaScript function (event handler) that is called when the Sys.UI.Silverlight.MediaPlayer.mediaFailed client event is raised. | |
OnClientMediaOpened | Gets or sets the name of the client JavaScript function (event handler) that is called when the Sys.UI.Silverlight.MediaPlayer.mediaOpened event occurs. | |
OnClientVolumeChanged | Gets or sets the name of the client JavaScript function (event handler) that is called when the volume is modified. | |
OnPluginError | Gets or sets the name of the client JavaScript function (event handler) that is called if a run-time error occurs with the Silverlight plug-in. (Inherited from Silverlight.) | |
OnPluginFullScreenChanged | Gets or sets the name of the client JavaScript function (event handler) that is called when full-screen mode is toggled. (Inherited from Silverlight.) | |
OnPluginLoaded | Gets or sets the name of the client JavaScript function (event handler) that is called when the Silverlight plug-in is loaded. (Inherited from Silverlight.) | |
OnPluginResized | Gets or sets the name of the client JavaScript function (event handler) that is called when the Silverlight plug-in is resized. (Inherited from Silverlight.) | |
OnPluginSourceDownloadComplete | Gets or sets the name of the client JavaScript function (event handler) that is called when the plug-in source has been downloaded. (Inherited from Silverlight.) | |
OnPluginSourceDownloadProgressChanged | Gets or sets the name of the client JavaScript function (event handler) that is called when the plug-in source download progress changes. (Inherited from Silverlight.) | |
Page | (Inherited from Control.) | |
Parent | (Inherited from Control.) | |
PlaceholderSource | Gets or sets a placeholder to display when the media file is being opened. | |
PluginBackground | Gets or sets the color of the Silverlight plug-in background. (Inherited from Silverlight.) | |
PluginNotInstalledTemplate | Specifies the HTML markup to render in the browser if the Silverlight plug-in is not installed. (Inherited from Silverlight.) | |
ScaleMode | Gets or sets the display mode. (Overrides Silverlight.ScaleMode.) | |
ScriptType | Gets or sets the type name of the client JavaScript object to create and to associate with the Silverlight plug-in. (Inherited from Silverlight.) | |
Site | (Inherited from Control.) | |
SkinID | (Inherited from WebControl.) | |
Source | Gets or sets the source file that is used as the media skin. (Overrides Silverlight.Source.) | |
SplashScreenSource | Gets or sets the URL of the splash screen document to render when the Silverlight content is loading. (Inherited from Silverlight.) | |
Style | (Inherited from WebControl.) | |
TabIndex | (Inherited from WebControl.) | |
TagKey | (Inherited from WebControl.) | |
TagName | (Inherited from WebControl.) | |
TemplateControl | (Inherited from Control.) | |
TemplateSourceDirectory | (Inherited from Control.) | |
ToolTip | (Inherited from WebControl.) | |
UniqueID | (Inherited from Control.) | |
ViewState | (Inherited from Control.) | |
ViewStateIgnoresCase | (Inherited from Control.) | |
Visible | (Inherited from Control.) | |
Volume | Gets or sets the initial volume setting as a value between 0 and 1. | |
Width | (Inherited from WebControl.) | |
Windowless | Gets (or sets in initialization only) a value that specifies whether the Silverlight plug-in displays as a windowless plug-in. (Applies to Windows versions of Silverlight only.) (Inherited from Silverlight.) |
Top
Events
Name | Description | |
---|---|---|
DataBinding | (Inherited from Control.) | |
Disposed | (Inherited from Control.) | |
Init | (Inherited from Control.) | |
Load | (Inherited from Control.) | |
PreRender | (Inherited from Control.) | |
Unload | (Inherited from Control.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IScriptControlGetScriptDescriptors | (Inherited from Silverlight.) | |
IScriptControlGetScriptReferences | (Inherited from Silverlight.) | |
System#Web#UI#IParserAccessor#AddParsedSubObject | (Inherited from Control.) | |
System#Web#UI#IControlBuilderAccessor#ControlBuilder | (Inherited from Control.) | |
System#Web#UI#IDataBindingsAccessor#DataBindings | (Inherited from Control.) | |
System#Web#UI#IExpressionsAccessor#Expressions | (Inherited from Control.) | |
System#Web#UI#IAttributeAccessor#GetAttribute | (Inherited from WebControl.) | |
System#Web#UI#IControlDesignerAccessor#GetDesignModeState | (Inherited from Control.) | |
System#Web#UI#IDataBindingsAccessor#HasDataBindings | (Inherited from Control.) | |
System#Web#UI#IExpressionsAccessor#HasExpressions | (Inherited from Control.) | |
System#Web#UI#IAttributeAccessor#SetAttribute | (Inherited from WebControl.) | |
System#Web#UI#IControlDesignerAccessor#SetDesignModeState | (Inherited from Control.) | |
System#Web#UI#IControlDesignerAccessor#SetOwnerControl | (Inherited from Control.) | |
System#Web#UI#IControlDesignerAccessor#UserData | (Inherited from Control.) |
Top