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