JSFiddle - React, Tailwind, and code Playground
by mattography
HTML
<body>
<iframe id="preview-frame" src="http://www.reuters.tv/video/4187?region=US567890" name="preview-frame" frameborder="0" noresize="noresize"></iframe>
</body>
CSS
html body {
width: 100%;
height: 100%;
padding: 0px;
margin: 0px;
overflow: hidden;
font-family: arial;
font-size: 10px;
color: #6e6e6e;
background-color: #000;
}
#preview-frame {
width: 100%;
background-color: #fff;
}
JavaScript
var calcHeight = function () {
$('#preview-frame').height($(window).height());
}
$(document).ready(function () {
calcHeight();
});
$(window).resize(function () {
calcHeight();
}).load(function () {
calcHeight();
});
}