Skip to content

Releases: spchuang/videojs-markers

0.7.0

24 Oct 13:20
Compare
Choose a tag to compare

Support videojs 5

v0.5.0

01 Aug 19:30
Compare
Choose a tag to compare
  • 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().

v0.4.0

14 Dec 09:06
Compare
Choose a tag to compare
  • change display_time to displayTime
  • markers now takes an array of object containing time, text, overlay text
  • add markerReached callback
  • markerTip and overlay text is now a clalback function for higher flexibility
  • Add many markers APIs for adding and removing markers dynamically.