var iFrames = [{
width: "560",
height: "315",
src: "//www.youtube.com/embed/rj6OLq9W6RE",
frameborder: 0,
allowfullscreen: true
}];
$div = $("div");
function Retorno() {
$div.build(function (b) {
b.table(function () {
b.each(iFrames, function (idx, it) {
b.tr(
b.td(
b.iframe({
width: it.width,
height: it.height,
src: it.src,
frameborder: it.frameborder,
allowfullscreen: it.allowfullscreen
})));
});
});
});
}
Retorno();
<div></div>
http://jsfiddle.net/Ridermansb/Hym5Z/#username
External resources loaded into this fiddle: