C# and youtube video ID

Pansiognine

New Member
I have this script here\[code\]<object width="830" height="495"> <param name="movie" value="http://www.youtube.com/v/VIDEOIDHERE?fs=1&hl=en_US&rel=0&autoplay=1"> <param name="allowFullScreen" value="http://stackoverflow.com/questions/15840874/true"> <param name="allowscriptaccess" value="http://stackoverflow.com/questions/15840874/always"> <embed src="http://www.youtube.com/v/VIDEOIDHERE?fs=1&hl=en_US&rel=0&autoplay=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="830" height="495"></object>\[/code\]and in my code behind I have the videoID defined in a sting called videoIDHow would I replace the VIDEOIDHERE with the videoID I have defined in the code behind?I am using ASP.NET
 
Back
Top