I am implementing site where i required to embed youtube videos into tag in HTML5.
can you tell me how should i embedd into this without using <iframe>
There's no way to do this without Javascript. But the wonderful MediaElement.js library will work wonderfully for this purpose:
http://mediaelementjs.com
The example above shows using a YouTube video with a <video>
tag, but also has a fallback to Flash for browsers that don't support it.
You can't extract the source of the video without violating YouTube's terms of service. The only supported way to embed a video in a web page is using the iframe embed.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With