title: Resize embed code PHP
body: <p>Can I automatically resize an embed code efficiently using PHP (maybe with regex?)</p>
  
  <p>Here's an example of the embed code:</p>
  
  <pre><code>&lt;object width="500" height="350"&gt;
    &lt;param name="movie" value="http://www.megavideo.com/v/"&gt;&lt;/param&gt;
    &lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;
    &lt;embed src="http://www.megavideo.com/v/" 
       type="application/x-shockwave-flash" 
       allowfullscreen="true"
       width="500" height="350"&gt;
    &lt;/embed&gt;
  &lt;/object&gt;
  </code></pre>