It's all about
connecting the dots

Video Tag in HTML5

Video Size is Adjusted in Proportion to Its Original Size

If there is a video whose width and height are respectively 800px and 600px, then you can resize it by setting propertities width and height.
However, you should be noted that the size of the video is adjusted in proportion to its original size, and if you try to set a size which is not in proportion to its original size, the vidio will adjust its size in proportion to its original size as per the relatively short length (width/height).
This means that if you set a size of 2400px width and 1200px height, the resulting size you got will be 1600px width and 1200px height.

赞(0) 打赏
版权声明:非商业用途转载请注明文章链接,商业用途转载请联系邮箱获取授权。
文章名称:《Video Tag in HTML5》
文章链接:https://www.orzzone.com/video-tag-in-html5.html
商业联系:yakima.public@gmail.com
本站内容仅供个人学习交流,不做为任何投资、建议的参考依据,因此产生的问题需自行承担。

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

觉得文章有用就打赏一下文章作者

非常感谢你的打赏,我们将继续给力更多优质内容,让我们一起创建更加美好的网络世界!

支付宝扫一扫打赏

微信扫一扫打赏