{playing ? 'pause' : 'play'}
{ stop(); index = Math.max(0, index - 1); }} disabled={index <= 0}> prev
{ stop(); index = Math.min(total - 1, index + 1); }} disabled={index >= total - 1}>next
step {total === 0 ? 0 : index + 1} / {total}