SmoothStreamingMediaElement.MediaOpened Event

Occurs when the media stream has been validated and opened and the file headers have been read.

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



Public Event MediaOpened As RoutedEventHandler

Dim instance As SmoothStreamingMediaElement
Dim handler As RoutedEventHandler

AddHandler instance.MediaOpened, handler
public event RoutedEventHandler MediaOpened
 event RoutedEventHandler^ MediaOpened {
    void add (RoutedEventHandler^ value);
    void remove (RoutedEventHandler^ value);
member MediaOpened : <RoutedEventHandler,
JScript supports the use of events, but not the declaration of new ones.


Applications should parse the manifest for markers during the MediaOpened event, but not earlier. Specifically, applications should not parse the manifest during the ManifestReady event, because all markers set before MediaOpened are cleared in Silverlight when the MediaOpened event occurs.

For more information, see Events and Timeline Markers and Events.

Version Information


Supported in: 5

Windows Phone

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

See Also


SmoothStreamingMediaElement Class

Microsoft.Web.Media.SmoothStreaming Namespace