I recently worked on a project that needed to dynamically load a video, based on a url supplied by the user. To parse the url, I used jQuery’s .contains() method. Initially, everything worked great. But once I began testing the mobile version of the site, I noticed that my video wasn’t loading correctly. It took […]