<iframe width="560" height="315" src="https://www.youtube.com/embed/iO26ikYDquo" frameborder="0" allowfullscreen></iframe>
i dont want to use iframe tag due to resons mentioned in this accepted answer
<iframe width="560" height="315" src="https://www.youtube.com/embed/iO26ikYDquo" frameborder="0" allowfullscreen></iframe>
i dont want to use iframe tag due to resons mentioned in this accepted answer
You can also use object or embed
Example object:
<object width="420" height="315"
data="http://www.youtube.com/embed/XGSy3_Czz8k">
</object>
Example embed:
<embed width="420" height="315"
src="http://www.youtube.com/embed/XGSy3_Czz8k">
Visit HTML YouTube Videos for more information