Here Mudassar Ahmed Khan has explained with an example, how to play (embed) YouTube Videos in ASP.Net MVC Razor.
The ID of the YouTube video will be extracted and the extracted YouTube Video ID is appended to the YouTube embed video URL which is ultimately assigned to HTML IFRAME element in ASP.Net MVC Razor.
↧