Share via


SmoothStreamingMediaElement Class

Represents a media player that provides MediaElement capabilities and advertising integration. The class is designed to support Smooth Streaming.

Inheritance Hierarchy

System.Object
  System.Windows.DependencyObject
    System.Windows.UIElement
      System.Windows.FrameworkElement
        System.Windows.Controls.Control
          Microsoft.Web.Media.SmoothStreaming.SmoothStreamingMediaElement

Namespace:  Microsoft.Web.Media.SmoothStreaming
Assembly:  Microsoft.Web.Media.SmoothStreaming (in Microsoft.Web.Media.SmoothStreaming.dll)

Syntax

'Declaration

<TemplatePartAttribute(Name := "MediaElement", Type := GetType(MediaElement))> _
<TemplatePartAttribute(Name := "RootElement", Type := GetType(Panel))> _
<TemplateVisualStateAttribute(Name := "Normal", GroupName := "PlaybackModes")> _
<TemplateVisualStateAttribute(Name := "ClipPlayback", GroupName := "PlaybackModes")> _
Public Class SmoothStreamingMediaElement _
    Inherits Control _
    Implements IDisposable
'Usage

Dim instance As SmoothStreamingMediaElement
[TemplatePartAttribute(Name = "MediaElement", Type = typeof(MediaElement))]
[TemplatePartAttribute(Name = "RootElement", Type = typeof(Panel))]
[TemplateVisualStateAttribute(Name = "Normal", GroupName = "PlaybackModes")]
[TemplateVisualStateAttribute(Name = "ClipPlayback", GroupName = "PlaybackModes")]
public class SmoothStreamingMediaElement : Control, 
    IDisposable
[TemplatePartAttribute(Name = L"MediaElement", Type = typeof(MediaElement))]
[TemplatePartAttribute(Name = L"RootElement", Type = typeof(Panel))]
[TemplateVisualStateAttribute(Name = L"Normal", GroupName = L"PlaybackModes")]
[TemplateVisualStateAttribute(Name = L"ClipPlayback", GroupName = L"PlaybackModes")]
public ref class SmoothStreamingMediaElement : public Control, 
    IDisposable
[<TemplatePartAttribute(Name = "MediaElement", Type = typeof(MediaElement))>]
[<TemplatePartAttribute(Name = "RootElement", Type = typeof(Panel))>]
[<TemplateVisualStateAttribute(Name = "Normal", GroupName = "PlaybackModes")>]
[<TemplateVisualStateAttribute(Name = "ClipPlayback", GroupName = "PlaybackModes")>]
type SmoothStreamingMediaElement =  
    class
        inherit Control
        interface IDisposable
    end
public class SmoothStreamingMediaElement extends Control implements IDisposable

The SmoothStreamingMediaElement type exposes the following members.

Constructors

  Name Description
Public methodSupported by Windows Phone SmoothStreamingMediaElement Initializes a new instance of the SmoothStreamingMediaElement class.

Top

Properties

  Name Description
Public propertySupported by Windows Phone ActualHeight (Inherited from FrameworkElement.)
Public propertySupported by Windows Phone ActualWidth (Inherited from FrameworkElement.)
Public propertySupported by Windows Phone AllowDrop (Inherited from UIElement.)
Public propertySupported by Windows Phone Attributes Gets or sets the attributes dictionary.
Public propertySupported by Windows Phone AudioStreamCount Gets or sets the audio stream count. (This property is available only for Windows Media Video (.wmv) content.)
Public propertySupported by Windows Phone AudioStreamIndex Gets or sets the audio stream index. (This property is available only for Windows Media Video (.wmv) content.)
Public propertySupported by Windows Phone AutoPlay Gets or sets a value that specifies whether the media element starts automatically.
Public propertySupported by Windows Phone Background (Inherited from Control.)
Public propertySupported by Windows Phone Balance Gets or sets the audio balance.
Public propertySupported by Windows Phone BorderBrush (Inherited from Control.)
Public propertySupported by Windows Phone BorderThickness (Inherited from Control.)
Public propertySupported by Windows Phone BufferingProgress Gets or sets the buffering progress. (This property is available only for Windows Phone clients, not for Silverlight.)
Public propertySupported by Windows Phone BufferingTime Gets or sets the duration of media content that will be buffered before playback can start or continue.
Public propertySupported by Windows Phone CacheMode (Inherited from UIElement.)
Public propertySupported by Windows Phone CanPause Gets or sets a value that specifies whether the stream can be paused.
Public propertySupported by Windows Phone CanSeek Gets or sets whether the position in the stream can be reset.
Public property CharacterSpacing (Inherited from Control.)
Public propertySupported by Windows Phone Clip (Inherited from UIElement.)
Public property ClipMediaElementStyle Gets or sets the style object for the window.
Public property ClipPosition Gets or sets the position in a clip stream.
Public propertySupported by Windows Phone ConfigPath Gets or sets the path of the configuration file.
Public propertySupported by Windows Phone CookieContainer Gets or set the cookie container that will be used with all HTTP requests.
Public property CurrentLinearClipContext Gets the current linear clip context.
Public propertySupported by Windows Phone CurrentSegmentIndex Gets the index of the currently playing segment.
Public propertySupported by Windows Phone CurrentState Gets or sets the current state of playback.
Public propertySupported by Windows Phone Cursor (Inherited from FrameworkElement.)
Public propertySupported by Windows Phone DataContext (Inherited from FrameworkElement.)
Protected propertySupported by Windows Phone DefaultStyleKey (Inherited from Control.)
Public propertySupported by Windows Phone DesiredSize (Inherited from UIElement.)
Public propertySupported by Windows Phone Dispatcher (Inherited from DependencyObject.)
Public propertySupported by Windows Phone DownloadProgress Gets or sets the download progress.
Public propertySupported by Windows Phone DownloadProgressOffset Gets or sets the progress offset as a percentage.
Public propertySupported by Windows Phone DroppedFramesPerSecond Gets or sets the percentage of dropped frames per second.
Public property Effect (Inherited from UIElement.)
Public propertySupported by Windows Phone EnableGPUAcceleration Gets or sets a value that indicates whether Global Processing Unit (GPU) acceleration is enabled
Public propertySupported by Windows Phone EndPosition Gets or sets the end position.
Public propertySupported by Windows Phone FlowDirection (Inherited from FrameworkElement.)
Public propertySupported by Windows Phone FontFamily (Inherited from Control.)
Public propertySupported by Windows Phone FontSize (Inherited from Control.)
Public propertySupported by Windows Phone FontStretch (Inherited from Control.)
Public propertySupported by Windows Phone FontStyle (Inherited from Control.)
Public propertySupported by Windows Phone FontWeight (Inherited from Control.)
Public propertySupported by Windows Phone Foreground (Inherited from Control.)
Public propertySupported by Windows Phone Height (Inherited from FrameworkElement.)
Public propertySupported by Windows Phone HorizontalAlignment (Inherited from FrameworkElement.)
Public propertySupported by Windows Phone HorizontalContentAlignment (Inherited from Control.)
Public property IsDecodingOnGPU Gets a value that indicates whether Global Processing Unit (GPU) decoding is enabled.
Public propertySupported by Windows Phone IsEnabled (Inherited from Control.)
Public propertySupported by Windows Phone IsHitTestVisible (Inherited from UIElement.)
Public propertySupported by Windows Phone IsLive Gets or sets a value that indicates whether the current position is close to the live broadcast position.
Public propertySupported by Windows Phone IsLivePosition Gets or sets a value that indicates whether the current position is close to the live broadcast position.
Public propertySupported by Windows Phone IsMuted Gets or sets a value that indicates whether the audio track is muted.
Public propertySupported by Windows Phone IsTabStop (Inherited from Control.)
Public propertySupported by Windows Phone Language (Inherited from FrameworkElement.)
Public propertySupported by Windows Phone LicenseAcquirer Gets or sets the license acquirer.
Public property LiveBackOff Gets or sets the duration of content closest to live that cannot yet be downloaded.
Public property LivePlaybackOffset Gets or sets how far back from the live position, excluding LiveBackOff, to start playback when joining a live presentation.  Increasing this value allows the pre-roll buffer to fill faster than real time and creates a buffer against network jitter, but increases the end-to-end latency of the presentation. The default value is 7 seconds. Changes that are made to this value after the SmoothStreamingSource property has been set are disregarded.
Public propertySupported by Windows Phone LivePlaybackStartPosition Gets or sets the starting position to use during live playback.
Public propertySupported by Windows Phone LivePosition Gets the position that is nearest to the live stream that a client can seek to.
Public propertySupported by Windows Phone ManifestInfo Gets the manifest info object.
Public propertySupported by Windows Phone Margin (Inherited from FrameworkElement.)
Public property Markers Gets the markers collection.
Public property Master Gets or sets the master (parent) object.
Public propertySupported by Windows Phone MaxHeight (Inherited from FrameworkElement.)
Public propertySupported by Windows Phone MaxWidth (Inherited from FrameworkElement.)
Public propertySupported by Windows Phone MinHeight (Inherited from FrameworkElement.)
Public propertySupported by Windows Phone MinWidth (Inherited from FrameworkElement.)
Public propertySupported by Windows Phone Name (Inherited from FrameworkElement.)
Public propertySupported by Windows Phone NaturalDuration Gets the duration of the current stream when it plays to the end.
Public propertySupported by Windows Phone NaturalVideoHeight Gets the height of the video display at which the resource appears best.
Public propertySupported by Windows Phone NaturalVideoWidth Gets the width of video display at which the resource appears best.
Public propertySupported by Windows Phone Opacity (Inherited from UIElement.)
Public propertySupported by Windows Phone OpacityMask (Inherited from UIElement.)
Public propertySupported by Windows Phone Padding (Inherited from Control.)
Public propertySupported by Windows Phone Parent (Inherited from FrameworkElement.)
Public property PipMode Gets or sets a value that indicates whether the media stream is in picture-in-picture (PIP) mode.
Public propertySupported by Windows Phone PlaybackRate Gets the playback rate.
Public propertySupported by Windows Phone Position Gets or sets the position in the current stream.
Public propertySupported by Windows Phone Projection (Inherited from UIElement.)
Public propertySupported by Windows Phone RenderedFramesPerSecond Gets the rate of rendered frames.
Public propertySupported by Windows Phone RenderSize (Inherited from UIElement.)
Public propertySupported by Windows Phone RenderTransform (Inherited from UIElement.)
Public propertySupported by Windows Phone RenderTransformOrigin (Inherited from UIElement.)
Public propertySupported by Windows Phone Resources (Inherited from FrameworkElement.)
Public propertySupported by Windows Phone SmoothStreamingCache Gets or sets the Smooth Streaming cache to use during main content playback.
Public propertySupported by Windows Phone SmoothStreamingPlaybackMode Gets or sets the Smooth Streaming playback mode to use during main content playback.
Public propertySupported by Windows Phone SmoothStreamingSource Gets or sets the URI of the Smooth Streaming source.
Public propertySupported by Windows Phone Source Gets or sets a media stream source that is not a Smooth Streaming source.
Public propertySupported by Windows Phone StartPosition Gets or sets the start position of the current stream.
Public propertySupported by Windows Phone Stretch Gets or sets an object that determines how to stretch the media display.
Public propertySupported by Windows Phone Style (Inherited from FrameworkElement.)
Public propertySupported by Windows Phone SupportedPlaybackRates Gets or sets the playback rates list.
Public propertySupported by Windows Phone TabIndex (Inherited from Control.)
Public propertySupported by Windows Phone TabNavigation (Inherited from Control.)
Public propertySupported by Windows Phone Tag (Inherited from FrameworkElement.)
Public propertySupported by Windows Phone Template (Inherited from Control.)
Public propertySupported by Windows Phone TotalBytesDownloaded Gets the total bytes downloaded.
Public propertySupported by Windows Phone TrailingWindowDuration Gets or sets the trailing window duration.
Public propertySupported by Windows Phone Triggers (Inherited from FrameworkElement.)
Public propertySupported by Windows Phone UseLayoutRounding (Inherited from UIElement.)
Public propertySupported by Windows Phone VerticalAlignment (Inherited from FrameworkElement.)
Public propertySupported by Windows Phone VerticalContentAlignment (Inherited from Control.)
Public propertySupported by Windows Phone VideoDownloadTrack Gets the video download track.
Public propertySupported by Windows Phone VideoHighestPlayableTrack Gets the track that has the highest available bandwidth.
Public propertySupported by Windows Phone VideoPlaybackTrack Gets the video playback track.
Public propertySupported by Windows Phone Visibility (Inherited from UIElement.)
Public propertySupported by Windows Phone Volume Gets or sets the audio volume.
Public propertySupported by Windows Phone Width (Inherited from FrameworkElement.)

Top

Methods

  Name Description
Public methodSupported by Windows Phone AddHandler (Inherited from UIElement.)
Public methodSupported by Windows Phone ApplyTemplate (Inherited from Control.)
Public methodSupported by Windows Phone Arrange (Inherited from UIElement.)
Protected methodSupported by Windows Phone ArrangeOverride (Inherited from FrameworkElement.)
Public methodSupported by Windows Phone CaptureMouse (Inherited from UIElement.)
Public methodSupported by Windows Phone CheckAccess (Inherited from DependencyObject.)
Public methodSupported by Windows Phone ClearValue (Inherited from DependencyObject.)
Public methodSupported by Windows Phone Dispose Disposes the SmoothStreamingMediaElement object.
Public methodSupported by Windows Phone Equals (Inherited from Object.)
Protected methodSupported by Windows Phone Finalize (Inherited from Object.)
Public methodSupported by Windows Phone FindName (Inherited from FrameworkElement.)
Public methodSupported by Windows Phone FlushBuffers Flushes audio and video buffers, retaining a specified amount of content if possible.
Public methodSupported by Windows Phone Focus (Inherited from Control.)
Public methodSupported by Windows Phone GetAnimationBaseValue (Inherited from DependencyObject.)
Public methodSupported by Windows Phone GetBindingExpression (Inherited from FrameworkElement.)
Public methodSupported by Windows Phone GetHashCode (Inherited from Object.)
Protected methodSupported by Windows Phone GetTemplateChild (Inherited from Control.)
Public methodSupported by Windows Phone GetType (Inherited from Object.)
Public methodSupported by Windows Phone GetValue (Inherited from DependencyObject.)
Public methodSupported by Windows Phone InvalidateArrange (Inherited from UIElement.)
Public methodSupported by Windows Phone InvalidateMeasure (Inherited from UIElement.)
Public methodSupported by Windows Phone Measure (Inherited from UIElement.)
Protected methodSupported by Windows Phone MeasureOverride (Inherited from FrameworkElement.)
Protected methodSupported by Windows Phone MemberwiseClone (Inherited from Object.)
Public method MergeExternalManifest Replaces some elements of the main manifest with others from an external manifest or adds new elements to the main manifest.
Public methodSupported by Windows Phone OnApplyTemplate Disconnects and connects event handlers and key properties during a template change. (Overrides FrameworkElement.OnApplyTemplate().)
Protected methodSupported by Windows Phone OnCreateAutomationPeer (Inherited from UIElement.)
Protected methodSupported by Windows Phone OnDoubleTap (Inherited from Control.)
Protected methodSupported by Windows Phone OnDragEnter (Inherited from Control.)
Protected methodSupported by Windows Phone OnDragLeave (Inherited from Control.)
Protected methodSupported by Windows Phone OnDragOver (Inherited from Control.)
Protected methodSupported by Windows Phone OnDrop (Inherited from Control.)
Protected methodSupported by Windows Phone OnGotFocus (Inherited from Control.)
Protected methodSupported by Windows Phone OnHold (Inherited from Control.)
Protected methodSupported by Windows Phone OnKeyDown (Inherited from Control.)
Protected methodSupported by Windows Phone OnKeyUp (Inherited from Control.)
Protected methodSupported by Windows Phone OnLostFocus (Inherited from Control.)
Protected methodSupported by Windows Phone OnLostMouseCapture (Inherited from Control.)
Protected methodSupported by Windows Phone OnManipulationCompleted (Inherited from Control.)
Protected methodSupported by Windows Phone OnManipulationDelta (Inherited from Control.)
Protected methodSupported by Windows Phone OnManipulationStarted (Inherited from Control.)
Protected methodSupported by Windows Phone OnMouseEnter (Inherited from Control.)
Protected methodSupported by Windows Phone OnMouseLeave (Inherited from Control.)
Protected methodSupported by Windows Phone OnMouseLeftButtonDown (Inherited from Control.)
Protected methodSupported by Windows Phone OnMouseLeftButtonUp (Inherited from Control.)
Protected methodSupported by Windows Phone OnMouseMove (Inherited from Control.)
Protected methodSupported by Windows Phone OnMouseRightButtonDown (Inherited from Control.)
Protected methodSupported by Windows Phone OnMouseRightButtonUp (Inherited from Control.)
Protected methodSupported by Windows Phone OnMouseWheel (Inherited from Control.)
Protected methodSupported by Windows Phone OnTap (Inherited from Control.)
Protected methodSupported by Windows Phone OnTextInput (Inherited from Control.)
Protected methodSupported by Windows Phone OnTextInputStart (Inherited from Control.)
Protected methodSupported by Windows Phone OnTextInputUpdate (Inherited from Control.)
Public method ParseExternalManifest Downloads, parses, and returns an object that represents the specified external manifest.
Public methodSupported by Windows Phone Pause Pauses playing of audio or video media.
Public methodSupported by Windows Phone Play Starts playing audio or video media.
Public methodSupported by Windows Phone ReadLocalValue (Inherited from DependencyObject.)
Public methodSupported by Windows Phone ReleaseMouseCapture (Inherited from UIElement.)
Public methodSupported by Windows Phone RemoveHandler (Inherited from UIElement.)
Public methodSupported by Windows Phone RequestLog Sends a request to generate a log that will be raised by the System.Windows.Controls.MediaElement.LogReady event.
Public method ScheduleClip(ClipInformation, ClipContext, Object) Schedules playing of a media clip.
Public method ScheduleClip(ClipInformation, Boolean, Object) Schedules playing of a media clip.
Public method ScheduleClip(ClipInformation, Boolean, TimeSpan, Object) Schedules playing of a media clip.
Public method ScheduleClip(ClipInformation, TimeSpan, Boolean, Object) Schedules playing of a media clip.
Public method ScheduleLinearClip Schedules play of a linear media clip.
Public methodSupported by Windows Phone SetBinding (Inherited from FrameworkElement.)
Public method SetPlaybackRangeAsync Specifies a start position for playing media content.
Public methodSupported by Windows Phone SetPlaybackRate Sets the playback rate of media stream.
Public methodSupported by Windows Phone SetSource Sets the source of the SmoothStreamingMediaElement object.
Public methodSupported by Windows Phone SetValue (Inherited from DependencyObject.)
Public methodSupported by Windows Phone StartSeekToLive Starts a seek to a live media stream.
Public methodSupported by Windows Phone Stop Stops playing by the SmoothStreamingMediaElement object.
Public methodSupported by Windows Phone ToString (Inherited from Object.)
Public methodSupported by Windows Phone TransformToVisual (Inherited from UIElement.)
Public methodSupported by Windows Phone UpdateLayout (Inherited from UIElement.)

Top

Events

  Name Description
Public eventSupported by Windows Phone BindingValidationError (Inherited from FrameworkElement.)
Public eventSupported by Windows Phone BufferingProgressChanged Occurs when the BufferingProgress property changes.
Public event ChunkDownloadFailed Occurs when the chunk download associated with an audio or video stream fails.
Public event ClipClickThrough Occurs when a user clicks the media display.
Public event ClipError Occurs when an error is raised while audio or video media is playing.
Public event ClipProgressUpdate Occurs when media reaches a marker.
Public event ClipStateChanged Occurs when a media clip state changes.
Public eventSupported by Windows Phone CurrentStateChanged Occurs when the current state of media element changes.
Public event DataContextChanged (Inherited from FrameworkElement.)
Public eventSupported by Windows Phone DoubleTap (Inherited from UIElement.)
Public eventSupported by Windows Phone DownloadProgressChanged Occurs when the DownloadProgress property changes.
Public eventSupported by Windows Phone DownloadTrackChanged Occurs when the track selected for download differs from the previously selected track.
Public event DragEnter (Inherited from UIElement.)
Public event DragLeave (Inherited from UIElement.)
Public event DragOver (Inherited from UIElement.)
Public event DrmSetupDecryptorCompleted Occurs when the digital rights managment (DRM) decryptor setup has completed.
Public event Drop (Inherited from UIElement.)
Public eventSupported by Windows Phone GotFocus (Inherited from UIElement.)
Public eventSupported by Windows Phone Hold (Inherited from UIElement.)
Public eventSupported by Windows Phone IsEnabledChanged (Inherited from Control.)
Public eventSupported by Windows Phone KeyDown (Inherited from UIElement.)
Public eventSupported by Windows Phone KeyUp (Inherited from UIElement.)
Public eventSupported by Windows Phone LayoutUpdated (Inherited from FrameworkElement.)
Public event LinearClipChanged Occurs when a media stream transitions in and out of a linear clip between two linear ads.
Public eventSupported by Windows Phone LiveEventCompleted Occurs when a live media stream ends.
Public eventSupported by Windows Phone Loaded (Inherited from FrameworkElement.)
Public eventSupported by Windows Phone LogReady Occurs when the log generated by the RequestLog method is ready.
Public eventSupported by Windows Phone LostFocus (Inherited from UIElement.)
Public eventSupported by Windows Phone LostMouseCapture (Inherited from UIElement.)
Public event ManifestMerge Occurs when the main manifest has been parsed.
Public eventSupported by Windows Phone ManifestReady Occurs when the manifest for the Smooth Streaming content is available for track selection.
Public eventSupported by Windows Phone ManipulationCompleted (Inherited from UIElement.)
Public eventSupported by Windows Phone ManipulationDelta (Inherited from UIElement.)
Public eventSupported by Windows Phone ManipulationStarted (Inherited from UIElement.)
Public event MarkerReached Occurs when media playback reaches a timeline marker.
Public event MediaCommand (Inherited from UIElement.)
Public eventSupported by Windows Phone MediaEnded Occurs when media playback reaches the end.
Public eventSupported by Windows Phone MediaFailed Occurs when there is an error associated with the media source.
Public eventSupported by Windows Phone MediaOpened Occurs when the media stream has been validated and opened and the file headers have been read.
Public eventSupported by Windows Phone MouseEnter (Inherited from UIElement.)
Public eventSupported by Windows Phone MouseLeave (Inherited from UIElement.)
Public eventSupported by Windows Phone MouseLeftButtonDown (Inherited from UIElement.)
Public eventSupported by Windows Phone MouseLeftButtonUp (Inherited from UIElement.)
Public eventSupported by Windows Phone MouseMove (Inherited from UIElement.)
Public event MouseRightButtonDown (Inherited from UIElement.)
Public event MouseRightButtonUp (Inherited from UIElement.)
Public eventSupported by Windows Phone MouseWheel (Inherited from UIElement.)
Public eventSupported by Windows Phone PlaybackTrackChanged Occurs when the currently playing track changes.
Public eventSupported by Windows Phone SeekCompleted Occurs when a seek operation completes.
Public event SetPlaybackRangeCompleted Occurs when a SetPlaybackRangeAsync operation has completed.
Public eventSupported by Windows Phone SizeChanged (Inherited from FrameworkElement.)
Public eventSupported by Windows Phone SmoothStreamingErrorOccurred Occurs when an error is raised during playback of Smooth Streaming content.
Public eventSupported by Windows Phone Tap (Inherited from UIElement.)
Public eventSupported by Windows Phone TextInput (Inherited from UIElement.)
Public eventSupported by Windows Phone TextInputStart (Inherited from UIElement.)
Public eventSupported by Windows Phone TextInputUpdate (Inherited from UIElement.)
Public eventSupported by Windows Phone Unloaded (Inherited from FrameworkElement.)
Public eventSupported by Windows Phone VideoHighestPlayableTrackChanged Occurs when the playback rate changes to the highest available rate.

Top

Fields

  Name Description
Public fieldStatic memberSupported by Windows Phone AttributesProperty Represents a dependency property that specifies the Attributes property dictionary object.
Public fieldStatic memberSupported by Windows Phone AudioStreamCountProperty Represents a dependency property that specifies the AudioStreamCount property.
Public fieldStatic memberSupported by Windows Phone AudioStreamIndexProperty Represents a dependency property that specifies the AudioStreamIndex property.
Public fieldStatic memberSupported by Windows Phone AutoPlayProperty Represents a dependency property that specifies the AutoPlay property.
Public fieldStatic memberSupported by Windows Phone BalanceProperty Represents a dependency property that specifies the Balance property.
Public fieldStatic memberSupported by Windows Phone BufferingProgressProperty Represents a dependency property that specifies the BufferingProgress property.
Public fieldStatic memberSupported by Windows Phone BufferingTimeProperty Represents a dependency property that specifies the BufferingTime property.
Public fieldStatic memberSupported by Windows Phone CanPauseProperty Represents a dependency property that specifies the CanPause property.
Public fieldStatic memberSupported by Windows Phone CanSeekProperty Represents a dependency property that specifies the CanSeek property.
Public fieldStatic member ClipMediaElementStyleProperty Represents a dependency property that specifies the ClipMediaElementStyle property.
Public fieldStatic member ClipPositionProperty Represents a dependency property that specifies the ClipPosition property.
Public fieldStatic memberSupported by Windows Phone ConfigPathProperty Represents a dependency property that specifies the ConfigPath property.
Public fieldStatic memberSupported by Windows Phone CurrentSegmentIndexProperty Represents a dependency property that represents the CurrentSegmentIndex property.
Public fieldStatic memberSupported by Windows Phone CurrentStateProperty Represents a dependency property that specifies the CurrentState property.
Public fieldStatic memberSupported by Windows Phone DownloadProgressOffsetProperty Represents a dependency property that specifies the DownloadProgressOffset property.
Public fieldStatic memberSupported by Windows Phone DownloadProgressProperty Represents a dependency property that specifies the DownloadProgress property.
Public fieldStatic memberSupported by Windows Phone EnableGPUAccelerationProperty Represents a dependency property that specifies the EnableGPUAcceleration property.
Public fieldStatic member IsDecodingOnGPUProperty Represents a dependency property that specifies the IsDecodingOnGPU property.
Public fieldStatic memberSupported by Windows Phone IsMutedProperty Represents a dependency property that specifies the IsMuted property.
Public fieldStatic member LiveBackOffProperty Represents a dependency property that specifies the LiveBackOff property.
Public fieldStatic member LivePlaybackOffsetProperty Represents a dependency property that specifies the LivePlaybackOffset property.
Public fieldStatic memberSupported by Windows Phone LivePlaybackStartPositionProperty Represents a dependency property that specifies the LivePlaybackStartPosition property.
Public fieldStatic memberSupported by Windows Phone NaturalDurationProperty Represents a dependency property that specifies the NaturalDuration property.
Public fieldStatic memberSupported by Windows Phone NaturalVideoHeightProperty Represents a dependency property that specifies the NaturalVideoHeight property.
Public fieldStatic memberSupported by Windows Phone NaturalVideoWidthProperty Represents a dependency property that specifies the NaturalVideoWidth property.
Public fieldStatic member PipModeProperty Represents a dependency property that specifies the PipMode property.
Public fieldStatic memberSupported by Windows Phone PlaybackRateProperty Represents a dependency property that represents the PlaybackRate property.
Public fieldStatic memberSupported by Windows Phone PositionProperty Represents a dependency property that specifies the Position property.
Public fieldStatic memberSupported by Windows Phone SmoothStreamingCacheProperty Represents a dependency property that represents the SmoothStreamingCache property.
Public fieldStatic memberSupported by Windows Phone SmoothStreamingPlaybackModeProperty Represents a dependency property that represents the SmoothStreamingPlaybackMode property.
Public fieldStatic memberSupported by Windows Phone SmoothStreamingSourceProperty Represents a dependency property that specifies the SmoothStreamingSource property.
Public fieldStatic memberSupported by Windows Phone SourceProperty Represents a dependency property that specifies the Source property.
Public fieldStatic memberSupported by Windows Phone StretchProperty Represents a dependency property that specifies the Stretch property.
Public fieldStatic memberSupported by Windows Phone VideoDownloadTrackProperty Represents a dependency property that represents the VideoDownloadTrack property.
Public fieldStatic memberSupported by Windows Phone VideoHighestPlayableTrackProperty Represents a dependency property that represents the VideoHighestPlayableTrack property.
Public fieldStatic memberSupported by Windows Phone VideoPlaybackTrackProperty Represents a dependency property that specifies the VideoPlaybackTrack property.
Public fieldStatic memberSupported by Windows Phone VolumeProperty Represents a dependency property that specifies the Volume property.

Top

Remarks

The MediaElement object is rendered as a rectangular region that can display video or play audio without video display. The SmoothStreamingMediaElement class supports the features of System.UIElement and MediaElement operations such as mouse and keyboard events and the ability to capture focus.

You can specify the height and width of the media display surface by using the height and width properties in XAML. However, for best performance, avoid explicitly setting the height and width. Instead, leave the values unset; this lets the media resource display at its encoded size, and the Silverlight application will calibrate the size of the display. If you have to change the media-display size, it is best to re-encode the media to the target size by using a media-encoding tool.

Examples

For more information and implementation examples, see Microsoft Smooth Streaming Client 2.0.

Version Information

Silverlight

Supported in: 5

Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Web.Media.SmoothStreaming Namespace