html, body { margin: 0; height: 100%; background: #000; overflow: hidden; } #player, ruffle-player { display: block; width: 100%; height: 100%; }