objectivehtml / FlipClock

http://flipclockjs.com/
MIT License
2.74k stars 954 forks source link

trigger an action at a specific time #333

Closed killerbong closed 5 years ago

killerbong commented 7 years ago

Hello, I set up an countdown, and I would like to play an mp3 5min from the end. Is it possible ? Thank's

objectivehtml commented 6 years ago

Old post, but assigning this to myself. This is a good idea for the v1 feature. There are a few ways to do it, but to make it easier in the library would be nice. There is currently a stopAt property that accepts any value or a callback function and will stop the clock at any moment.