waiting for video to be loaded, to setup loop.