如何定位视频 [英] How to position video
本文介绍了如何定位视频的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
[ ^ ]
你好,我希望这个视频能够触及顶部但是我没有尝试过很多帮助吗? />
[^]
hello, i want this video to touch top but it doesnt i tried alot help?
<video position="absolute" height="780" width="2000" top="15" left="120" autoplay loop muted>
<source src="lightning.mp4" type="video/mp4">
<source src="lightning.webm" type="video/webm">
什么我试过了:
i尝试改变几乎所有的值,但它没有触及顶部:/我该怎么做?
What I have tried:
i tried changing almost all values but it doesnt touch top :/ how do i do that?
推荐答案
您似乎对HTML属性和CSS样式感到困惑。
尝试:
You seem to be getting confused between HTML attributes and CSS styles.
Try:
<video style="position:absolute;height:780px;width:2000px;top:15px;left:120px" autoplay loop muted>
这篇关于如何定位视频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文