Skip to content

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

Open
@haizhilin2013

Description

@haizhilin2013
Collaborator

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

Activity

AthenaIrelia

AthenaIrelia commented on May 30, 2019

@AthenaIrelia

preload

wenyejie

wenyejie commented on May 30, 2019

@wenyejie

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

undefinedYu

undefinedYu commented on Jun 1, 2019

@undefinedYu
Contributor

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

coldtherain

coldtherain commented on Aug 27, 2019

@coldtherain

面试造火箭

haizhilin2013

haizhilin2013 commented on Aug 27, 2019

@haizhilin2013
CollaboratorAuthor

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

censek

censek commented on Nov 14, 2019

@censek

<video></video>

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

blueRoach commented on Jul 21, 2020

@blueRoach

preload

smile-2008

smile-2008 commented on Nov 5, 2020

@smile-2008

preload

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @smile-2008@wenyejie@haizhilin2013@blueRoach@coldtherain

        Issue actions

          [html] 第44天 说说video标签中预加载视频用到的属性是什么? · Issue #165 · haizlin/fe-interview