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