Fix YouTube embed bug

fixes code for getting YouTube video id from URL