.therecordonline1_meridix_player { position: relative; padding-bottom: 56%; padding-top: 20px; height: 0; } .therecordonline1_meridix_player iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }