the best practice to post youtube videos on website is through using iframes or embed tag
<iframe width="420" height="345"
src="http://www.youtube.com/embed/XGSy3_Czz8k">
</iframe>
or
<embed
width="420" height="345"
src="http://www.youtube.com/v/XGSy3_Czz8k"
type="application/x-shockwave-flash">
</embed>
my question is which is best practice for posting videos on site……
and what are effects on performance using both of them….
The new style is the
<iframe>. For more information look here with this notification:Please keep in mind, the mobile player cannot be embedded on external mobile sites.