tickmark code neater in one function.  trying to call function when rendering page but currently can't access self._player.getDuration
current version