核心是使用
<div class="video" style="width: 100%; height:700px;">播放容器</div>
$('video').css({
'transform': 'scale(2)',
'transform-origin': 'center top'
});
其中
scale 表示放大倍数,可以是小数
transform-origin 表示位置,
1)可以使用坐标点 如 '120px 200px'
2)或者使用方位坐标,left right top bottom总共九个 ,如
以下是html示例代码