Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[html] 第44天 说说video标签中预加载视频用到的属性是什么? #165

Open
haizhilin2013 opened this issue May 29, 2019 · 8 comments
Labels
html html

Comments

@haizhilin2013
Copy link
Collaborator

第44天 说说video标签中预加载视频用到的属性是什么?

@haizhilin2013 haizhilin2013 added the html html label May 29, 2019
@AthenaIrelia
Copy link

preload

@wenyejie
Copy link

这个问题不错!
不过我有点不懂的是, 面试真的会面这种问题嘛?

@undefinedYu
Copy link
Contributor

其实大家都懂,扩展面试是一部分,更多的是对自己知识点的扩展和深入。若哪天真碰上这类面试题,你能答上,面试官会如何看你??

@coldtherain
Copy link

面试造火箭

@haizhilin2013
Copy link
Collaborator Author

@wenyejie 这要看公司做的产品了,如果你要去面试的这家公司刚好做大量跟视频有关,大量使用video,面试官估计问的问题估计更会令你吃惊!

@censek
Copy link

censek commented Nov 14, 2019

<video></video>

属性 描述
autoplay autoplay 如果出现该属性,则视频在就绪后马上播放。
controls controls 如果出现该属性,则向用户显示控件,比如播放按钮。
height pixels 设置视频播放器的高度。
loop loop 如果出现该属性,则当媒介文件完成播放后再次开始播放。
preload preload 如果出现该属性,则视频在页面加载时进行加载,并预备播放。如果使用 "autoplay",则忽略该属性。
src url 要播放的视频的 URL。
width pixels 设置视频播放器的宽度。

@blueRoach
Copy link

preload

@MrZ2019
Copy link

MrZ2019 commented Nov 5, 2020

preload

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
html html
Projects
None yet
Development

No branches or pull requests

8 participants