Changed JS to communicate video IDs with the server rather than full URLs.