美文网首页
2020-02-16

2020-02-16

作者: 帅气十里不如你 | 来源:发表于2020-02-16 22:10 被阅读0次

一、英语学习总结

        文档:2020-02-16.note

链接:http://note.youdao.com/noteshare?id=4459ed4704248e21e249a06ec1a23ba4&sub=419508F8E8464131B620356558D67565

二、网页制作总结

H5页面嵌入视频 (包括: 本地视频, 第三方视频) 的几种方式

<!-- 使用iframe嵌入本地视频 -->

    <div style="width: 500px;height: 380px;margin: 0px auto;">

        <iframe width="500px" height="380px" src="mda-ic3eip66u80zeutr.mp4" frameborder=0 allowfullscreen></iframe>

    </div>

    <!-- 使用iframe嵌入第三方视频(例如:优酷视频、腾讯视频、土豆视频) -->

    <div style="width: 500px;height: 380px;margin: 0px auto;">

        <iframe width="500px" height="380px" src="http://player.youku.com/embed/XMzcwNTY3NTM2MA" frameborder=0 allowfullscreen></iframe>

    </div>

1.1:第一种就是iframe嵌入本地视频的demo,直接在iframe的src中填写视频在项目中的地址并加上allowfullscreen属性即可。(关于allowfullscreen属性的作用,在后面的内容中会解释)

1.2:第二种就是我目前需求所需要的,可以在H5页面中嵌入第三方视频的方法。这里以优酷视频为例,首先在iframe的src中填写优酷视频引用链接

第二类:<video>标签嵌入 -- (仅支持嵌入本地视频)

<!-- 使用video嵌入本地视频 -->

    <div style="width: 500px;height: 380px;margin: 250px auto;">

        <video src="mda-ic3eip66u80zeutr.mp4" type="video/mp4" controls autoplay width="500px" height="380px" >

            抱歉,你的浏览器不支持video标签。。

        </video>

    </div>

三、算法与数据结构的学习总结

文档:队列.note

链接:http://note.youdao.com/noteshare?id=0097ae085d3417910033d48862ab11f7&sub=644E1349209B4409A99423C7F5E11F35

相关文章

网友评论

      本文标题:2020-02-16

      本文链接:https://www.haomeiwen.com/subject/bzwmfhtx.html