开发者

Is it possible to resize an embedded .mov?

I embed .mov clips that sometimes are bigger than the place where I show it, so I want to resize the clip. Have tried wit开发者_如何学Ch width and height but that only changes the area to display it; it does not resize the actual movie.

Is it possible to resize the movie size? If yes, how?


Yes, you need the scale attribute:

<embed src="sample.mov" width="200" height="240" scale="tofit">

There's a full reference for QuickTime video attributes here.


Sometimes the scale attribute doesn't work. It would help to place the embed element in an object element.

<object height="240" width="200"><embed src="sample.mov" height="240" width="200"/></object>

Make sure that the height and width value in the object element is the same as in the embed element.
      Good Luck

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜