View Full Version : Resize Object within a DIV

01-23-2011, 01:44 AM
Hello awesome coders! I am here in need of your help.
I have a site with a lot of videos, from different sources, in different sizes, only thing they have in common is <div id="player">.
Due do different sources, each video player is different. Some have embed code, some have object, some have iframe, some have both/all.
Is it possible to create a script that will:

Change the height and width of object, embed, iframe within the div.
Is there another way to resolve this issue without changing all video code manually.