put in reconnection logic and make the videoid checking more lenient