MediaPlayer.PlaceholderSource Property
Gets or sets a placeholder to display when the media file is being opened.
Namespace: System.Web.UI.SilverlightControls
Assembly: System.Web.Silverlight (in System.Web.Silverlight.dll)
Syntax
'Declaration
<ThemeableAttribute(True)> _
<BindableAttribute(True)> _
Public Overridable Property PlaceholderSource As String
Get
Set
'Usage
Dim instance As MediaPlayer
Dim value As String
value = instance.PlaceholderSource
instance.PlaceholderSource = value
[ThemeableAttribute(true)]
[BindableAttribute(true)]
public virtual string PlaceholderSource { get; set; }
Property Value
Type: System.String
A virtual path to the placeholder in the current project.
Remarks
The placeholder is typically an image, which can be a .jpg, .jpeg, or .png file.
The placeholder is displayed before the media is completely loaded. If the AutoLoad property is false, the placeholder is displayed until the media is loaded, which starts when the user clicks the Start button displayed on the playback area of the MediaPlayer control to load and play the media.
The placeholder is replaced by the first screen in the media file after the media file has finished loading.
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.