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