conditional video loading