Your time is limited,
so don't waste it living someone else's life.

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

评论 抢沙发

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

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

支付宝扫一扫打赏

微信扫一扫打赏