Added example of the expected format for the videos parameter in the initialize method.
Renamed _playVideo() call in the initialize method to _play().
Rounded video.duration and video.currentTime values to trigger video.ended callback and force loop the video, if requested on the video tag.