Skip to content

v0.5.0

Compare
Choose a tag to compare
@spchuang spchuang released this 01 Aug 19:30
· 61 commits to master since this release
  • add 'onMarkerClick' callback handler. When this returns false, the default behavior of seeking to the marker time will be prevented.
  • add new 'getMarkers' API
  • remove constraints of using 'time' as the marker time attribute. Instead, a new markertip.time() function is added to resolve the time dynamically. This mean the time attribute can be represented in different attributes. This also made marker times modifiable (see new demo file). Note that the UI position of the marker will only be updated after you call marker.players.updateTime().