Is there a regex to get youtube embed code from youtube video page links?
I want literaly the opposite of this question: Getting youtube links from embedded youtube video on pages?
EDIT: i need code something like the following:
public static String GetYoutubeEmbedCode(String YoutubeLink)
{
String SourceLink = /* Something involving YoutubeLink*/;
String YoutubeEmbedCode = "<object width=\"640\" height=\"385\"><param name=\"movie\" value=\"" + SourceLink + "\"></param><param name=\"allowFullScreen\" value=\"true\"></param><param name=\"allowscriptaccess\" value=\"always\"></param><embed src=\"" + SourceLink + "\" type=\"application/x-shockwave-flash\" allowscriptaccess=\"always\" allowfullscreen=\"true\" width=\"640\" height=\"385\"></embed></object>";
return YoutubeEmbedCode;
}