How do I resize an embed tag (like how one can resize an img tag)?
Example:
<embed src="1.mp4" width="1280" height="1024" />
This works fine because the original is 1280 x 1024. But if I
<embed src="1.mp4" width="640" height="512" />
Then it crops the movie rather than sizing it.
Is it possible to resize an embedded .mov?
You need the scale="tofit"
attribute at the end of your embed tag.
<embed src="1.mp4" width="640" height="512" scale="tofit"/>
In IE 7, 8 when using Quicktime you should add:
<param name="SCALE" VALUE="aspect" >
Otherwise the video will be cropped.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With