-
{
- selectedTime = Math.max(minTime, Math.min(maxTime, Date.now()));
- playbackRate=1;
- playing=true;
- }"
- >
- Now
-
- {
- // selectedTime = times.reduce((a, b) => {
- // return Math.abs(b - Date.now()) < Math.abs(a - Date.now()) ? b : a;
- // });
- selectedTime = Date.now();
- playbackRate=1;
- playing = true;
- console.log('to now')
- }"
- :color="accentColor"
- tooltip-text="Go to current time"
- tooltip-location="top"
- tooltip-offset="5px"
- :show-tooltip="!mobile"
- >
-
- Now
-
-