set the duration of the cinecast annotation as a function of the total length of
the media.
/* This piece of code is directly requested by the page the player is embedded on. It creates the iframe the player is embedded in and it reflects changes to the iframe url in the page url. */