Monday, 11 April 2011

how to Play youtube video in Asp.net application using youtube video url


<div>
         <object width="300" height="300">
             <param name="movie" value="http://www.youtube.com/v/2o8UgIgI8BU&hl=en&fs=1&"></param>
             <param name="allowFullScreen" value="true">
             </param><param name="allowscriptaccess" value="always">
             </param>
             <embed src="http://www.youtube.com/v/2o8UgIgI8BU&hl=en&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always"
             allowfullscreen="true" width="425" height="344">
             </embed>
         </object>
        </div>







4 comments:

  1. this is not working

    ReplyDelete
  2. Hi,

    When you are viewing Videos in YouTube.com, first you need to Login with you google account to get the Embedded code. In right side Corner you can see the Share Tab, Click on that there you can get Embedded Code add that code in the Or you can add Iframecode Also for Playing Videos. then you can play the YouTube videos.

    There are three Checkboxes are are there which format you want.

    I tried to resolve this Issue, This is Working Fine just try as i explained above.



    Thanks,
    Harikrishna



    ReplyDelete
  3. Where i have to put that embedded code ?

    ReplyDelete
  4. Hi Shaiwal,

    Check In the Following Link.

    http://journeytodotnetauthority.blogspot.in/2013/10/YouTubeVideo.html


    I Explained in Detail about How to Use the Code.

    ReplyDelete