It's not clear what you're after, but if you want the "v" value from the params, i would do it like so:
video_url = "http://www.youtube.com/watch?v=Zo2vav3dYnY&user=12334&name=sdetyfd"
param_hash = CGI::parse(video_url.split("?").last)
V = param_hash["v"]