This is a very simple complexive query that I have. I need the solution. I have a youtube link
<----- width="480" height="350"><param name="movie"
value="http://www.youtube.com/v/OORDOd6wRrE&hl=en_US&fs=1"></param><param
name="allowFullScreen" value="true"></param><param
name="allowscriptaccess" value="always"></param><----
src="http://www.youtube.com/v/OORDOd6wRrE&hl=en_US&fs=1"
type="application/x-shockwave-flash" allowscriptaccess="always"
allowfullscreen="true" width="480" height="350"><---><----->
this is the modified link. Well, my problem is, that I want to change the size of video, means in the whole string I want to replace width=”480″ with width=”250″ and height=”350″ with height=”250″
I want to change these parameters programmatically using ASP.Net
Thanks
I got my solution.
Define one user define function
private bool IsInt(string IntValue)
{
try
{
int iValue = int.Parse(IntValue);
}
catch (Exception Ex) { return false;}
return true;
}