O'Reilly logo

XAML Unleashed by Adam Nathan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Markers

Some media files can have embedded markers at specific points in time. There are a few different types of markers, and each one can have associated text. For example, many media players recognize markers of type “caption” and automatically overlay their text at the appropriate times. Some video files use index markers to mark chapters or have other bookmarks that aid in user navigation, much like with a DVD. Markers also enable the host to perform custom actions in sync with specific events in the media.

MediaElement exposes these markers with its Markers property. This is a collection of TimelineMarker objects that expose three simple properties: Text (a string), Type (a string), and Time (a TimeSpan). When media content with embedded ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required