On my page the users are allowed to insert embed links to their music. But if the width of the object is more than 600px, it doesn´t fit into page. So I was searching for some way to find the width parameter of the iframe tag and if the value is more than 600px, to change it to 600px. But my google skills failed me, so I hope someone here can help. Inserted iframes look for example like this:
<iframe width="660" height="180" src="//www.mixcloud.com/widget/iframe/?feed=http%3A%2F%2Fwww.mixcloud.com%2FCLCK_Podcast%2Fclck-podcast-20-czscream%2F&embed_type=widget_standard&embed_uuid=fd5ce7dc-9687-45e1-8368-27631b48385f&hide_tracklist=1&replace=0&hide_cover=1" frameborder="0"></iframe>