A fast uncomplicated easy to use solution using inline styling and one extra element - the clearing DIV
Using "IFRAME":
<iframe style="float:left; margin-right:10px;" src="http://www.youtube.com/embed/D36JUfE1oYk?modestbranding=1&showinfo=0&vq=hd1080&rel=0&wmode=transparent"></iframe>
<iframe style="float:left;" src="http://www.youtube.com/embed/D36JUfE1oYk?modestbranding=1&showinfo=0&vq=hd1080&rel=0&wmode=transparent"></iframe>
<div style="clear:both;"></div>
And basically the same using "OBJECT":
<object style="float:left; margin-right:10px;" data="http://www.youtube.com/embed/D36JUfE1oYk?modestbranding=1&showinfo=0&vq=hd1080&rel=0&wmode=transparent"></object>
<object style="float:left;" data="http://www.youtube.com/embed/D36JUfE1oYk?modestbranding=1&showinfo=0&vq=hd1080&rel=0&wmode=transparent"></object>
<div style="clear:both;"></div>
In both of the above:
Both videos are floated left - the first video has a margin to push the second video 10px to the right.
The "DIV" is used to clear the floating elements to ensure that the videos don't interrupt the content flow.
General info:
Extra link info added "?modestbranding=1&showinfo=0&vq=hd1080&rel=0&wmode=transparent"
Modestbranding
Showinfo
Rel
VQ = presets best HD quality available, in this case 1080
Wmode = helps fix overlay and Z-Index Issues
[ed. note: iusemodx last edited this post 12 years, 10 months ago.]