ASPSnippets.com
Results 1 - 5 of 8
06 Mar 2018 06 Mar 2018 0 Comments  722 Views
ASP.Net  YouTube  HTML  MVC
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.
22 Feb 2018 22 Feb 2018 0 Comments  703 Views
Here Mudassar Ahmed Khan has explained with an example, how to play (embed) YouTube Videos using IFRAME with AutoPlay in HTML Page.
22 Feb 2018 22 Feb 2018 0 Comments  550 Views
Here Mudassar Ahmed Khan has explained with an example, the different ways to embed and play YouTube Videos in HTML Page.

Following are the different ways to embed and play YouTube Videos in HTML Page.
1. IFRAME element.
2. EMBED element.
22 Feb 2018 22 Feb 2018 0 Comments  1272 Views
Here Mudassar Ahmed Khan has explained with an example, how to play (embed) YouTube Videos without using IFRAME in HTML Page.

In order to play (embed) YouTube Videos without using IFRAME, the EMBED element needs to be used as the HTML5 Video tag is not meant to play videos from other domain URLs and hence the only solution other than IFRAME is the EMBED tag.
22 Feb 2018 22 Feb 2018 1 Comments  788 Views
Here Mudassar Ahmed Khan has explained with an example, how to play (embed) YouTube Videos in HTML5 Video tag in HTML Page.

HTML5 Video tag is not meant to play videos from other domain URLs and hence it is not possible to play (embed) YouTube Videos in HTML5 Video tag.

Thus in order to play (embed) YouTube Videos in HTML Page, one of the following elements needs to be used:
1. IFRAME element.
2. EMBED element.
Results 1 - 5 of 8