timeBoundaryDidCross
An event that indicates a specific playback time in the media item has been crossed.
Declaration
attribute timeBoundaryDidCross;Discussion
This event fires every time the specified playback time is crossed. This can happen multiple times if the user is moving the timing bar back and forth across the boundary. The listener is passed an event object with the following attributes:
boundary—The boundary value that triggered the event when it was crossed.target—The event object, which is the Player object.timeStamp—The time that the event occurred.type—The name of the event.
You must provide an array of numbers, in seconds, as a third parameter to the listener. Each value in the array represents a time boundary as an offset from the beginning of the asset.