From: comopasta Gr Date: 2008-04-08T05:18:15+09:00 Subject: Extract youtube video id with eval? Hi, I'm just doing the research but maybe someone already knows... I have a youtube video url: http://www.youtube.com/watch?v=n1NVfDlU6yQ&feature=related (&feature might or might not be present) I can get the thum of the video using: http://img.youtube.com/vi/n1NVfDlU6yQ/default.jpg So, I just need to use the video id. Now, how to extract the video id easily? Eval? Yeah simple I know...I'm working on it in the meanwhile. Thanks -- Posted via http://www.ruby-forum.com/.