This function will wait just for appearing DOM element with class `.video`, but video player may continue initialization at the time. Please update docstring. Also it duplicates docstring in line 58.