VisualMarkers Events

Topics: HTML5 web, Windows 8 Xaml
May 17, 2013 at 2:31 AM
How do you detect when these are reached?
May 17, 2013 at 6:25 PM
You should add to the Markers collection instead of VisualMarkers and watch for the MarkerReached event to detect when they are reached. If you also want to show the user visual indicates of where these markers are you can either:
1) Also add corresponding VisualMarkers to the VisualMarkers collection.
2) Use the ChaptersPlugin to do #1 for you. All the Chapters plugin does is look for Markers with Type == "NAME" and add them to the VisualMarkers collection for you. Note: you can change which type string is considered a Chapter by setting ChaptersPlugin.ChapterMarkerType.
May 23, 2013 at 12:04 AM
Thank you