Chapter 4: example 8
currentTime on start:
.
currentTime after timeupdate:
.
currentTime after ended:
.