With the use of Dojo we can use the html tag and also xpage is supporting the iframe , embed tags...
So we can Upload the code into the dojo div tag and the similar manner for dijit.Dialog...
We can view the good look.
If you want to view this in server side. We have to put it in a layer and depending upon their render property's value, We can change the style of the that layer property and also we can show the iframe video in our convenience.
Example code :
TAG div id="dojoVideo" dojoType="dijit.Dialog" TAG
TAG iframe width="425" height="349" src="http://www.youtube.com/embed/rdNdmc83xe4" frameborder="0" allowfullscreen TAG TAG /iframeTAG
TAG /div TAG