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

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 (IIS Smooth Streaming) and Timeline Markers and Events (IIS Smooth Streaming).


Supported in: 4

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.0