Thursday 25 July 2013

How to use YouTube Video in our HTML page ?

 
Example - Via  iFrame

<iframe width="420" height="320" src="http://youtu.be/o-u-OYz2qaU" frameborder="0" allowfullscreen></iframe>


Example -Via  Embedded

<object width="720" height="420">
                    <param name="movie" value="http://youtu.be/o-u-OYz2qaU">
                    </param>
                    <param name="allowFullScreen" value="true">
                    </param>
                    <param name="allowscriptaccess" value="always">
                    </param>
                    <param name="wmode" value="transparent">
                    </param>
                    <embed wmode="transparent"  src="http://youtu.be/o-u-OYz2qaU" type="application/x-shockwave-flash" width="720" height="420" allowscriptaccess="always" allowfullscreen="true"></embed>
                </object>

No comments:

Post a Comment