implement the hml5 player and construct the first two events