(function() { let players = document.querySelectorAll( '.sp-embed-player[data-id="cZj1X6V9hZZ"],' + '.som-embed-player[data-id="cZj1X6V9hZZ"], ' + '.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.6834170854271 item.style.height = playerHeight + 'px'; } }());