Added error handling to the search box and disabled video autoplay