Auto Size Embed Code

Posted by Belgin Fish on Stack Overflow See other posts from Stack Overflow or by Belgin Fish
Published on 2010-03-26T01:45:20Z Indexed on 2010/03/26 1:53 UTC
Read the original article Hit count: 214

Filed under:

Hey, I'm just wondering what code I could use to auto change the size of the video being embedded before it gets displayed.

Example, I need to have it find all instances of this

width="any value" height="any value"

and replace them with this

width="540" height="405"

© Stack Overflow or respective owner

Related posts about resize