(function() { let players = document.querySelectorAll( '.sp-embed-player[data-id="cZQe11VRZlv"],' + '.som-embed-player[data-id="cZQe11VRZlv"], ' + '.sp-embed-player:not([data-id]), ' + '.som-embed-player:not([data-id]), ' + '#som-player' ); for (let item of players) { playerWidth = item.clientWidth playerHeight = playerWidth / 1.7509881422925 item.style.height = playerHeight + 'px'; } }());