getVideoId method added for parsing video id from url