getting video id from url, and date formatting