HTML5 video tag - play Youtube video without iframe
Discussion
Why can't you use an iframe? - Just asking.
This is the best solution - http://embedresponsively.com/
This is the best solution - http://embedresponsively.com/
YouTube won't let you just embed the video, you've got to have their 'stuff' as well (controls, icons, user tracking, all that stuff).
So you have to embed like this:
[code]<iframe width="420" height="315"
src="https://www.youtube.com/embed/<youtube-id>">
</iframe>[/code]
If you want to embed a video cleanly with none of that stuff, you have to host it somewhere else, such as Amazon or Google Cloud - and pay a fee per retrieval.
So you have to embed like this:
[code]<iframe width="420" height="315"
src="https://www.youtube.com/embed/<youtube-id>">
</iframe>[/code]
If you want to embed a video cleanly with none of that stuff, you have to host it somewhere else, such as Amazon or Google Cloud - and pay a fee per retrieval.
I found this article, however I cannot test if it works
https://www.labnol.org/internet/light-youtube-embe...
https://www.labnol.org/internet/light-youtube-embe...
Gassing Station | Computers, Gadgets & Stuff | Top of Page | What's New | My Stuff