title: getting all iFrames within a div and resizing them for mobile
body: <p>In short, the problem is this: we have a news site that has a mobile version of the website. For the page that displays whatever article is called, occasionally, there are embedded videos (from youtube) that show up in iframes. Their default size is typically something like 580px, which obviously comes out far too big and wide on a mobile browser.</p>
  
  <p>I wanted to use javascript to search the content and resize any iframe as it finds it. That said, I don't know if using JavaScript on mobile will be the best thing to do, and second, I'm not sure how to search for all instances of a certain element type like that. The iframes do not come in with names or IDs...</p>
  
  <p>I briefly considered using PHP to search for <code>&lt;iframe</code> but it seems that php, in this instance, would be unnecessarily sloppy and potentially easily broken. </p>
  
  <p>Does anybody have advice/suggestions on how to handle this problem?    </p>