In the site I'm developing, I'd like to call an external video within a div
, just using the video ID.
Example: https://www.youtube.com/watch?v=UJAwNkhbYWM
In case the video ID is this: UJAwNkhbYWM
. Whenever you create a post on this website and have a youtube ID inside the div the video would appear.
Example:
post
div class="UJAwNkhbYWM">/div
--------video--------------
Is this possible?
Or do the same thing with an external HTML page.
Example:
http://pt.stackoverflow.com/questions/28064/inserir-vídeo-externo-em-uma-div
Only by using a part of the link: questions/28064/inserir-vídeo-externo-em-uma-div
within the div would show the page.