Is it possible to resize an embedded .mov?

落花浮王杯 提交于 2020-01-01 17:02:12

问题


I embed .mov clips that sometimes are bigger than the place where I show it, so I want to resize the clip. Have tried with 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?


回答1:


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.




回答2:


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



来源:https://stackoverflow.com/questions/2311124/is-it-possible-to-resize-an-embedded-mov

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!