wait for metadata to load when showing progress of videos