I hav a code like this. function play_file($desc,$file,$bgcolor='#C3E8FF') { echo '<h2>'.$desc.'</h2>'; echo ' <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="320" height="200" > <param name="src" value="'.$file.'"> <param name="autoplay" value="true"> <param name="controller" value="true"> <param name="loop" value="false"> <param name="bgcolor" value="'.$bgcolor.'"> <embed src="'.$file.'" autostart="true" loop="false" width="300" height="200" controller="true" pluginspage="http://www.apple.com/quicktime/download/" bgcolor="'.$bgcolor.'"></embed> </object> '; } PHP: The question is, I cannot pre-determine the size of the mov file. In this case, I preset it 300x200. But a mov file with no image, the play will looks ugly. Is there any method to specify the dimension properly?