plyr实现带字幕清晰度调节浮动全屏速度调节的视频电影播放器效果代码

代码语言:html

所属分类:多媒体

代码描述:plyr实现带字幕清晰度调节浮动全屏速度调节的视频电影播放器效果代码

代码标签: plyr 电影 视频 播放器

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>

<html lang="en">

<head>

    <meta charset="UTF-8">
    <link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/plyr.min.css">

    <style>
    body{
        background: white;
    }
        /* This is purely for the demo */
        .container {
          max-width: 800px;
          margin: 0 auto;
        }
        .plyr {
          border-radius: 4px;
          margin-bottom: 15px;
        }
    </style>




</head>

<body>
    <div class="container">
        <video controls crossorigin playsinline poster="//repo.bfw.wiki/bfwrepo/image/61c837d449c88.png" id="player">
                <!-- Video files -->
                <source src="//repo.bfw.wiki/bfwrepo/video/61625c01d0fb2.mp4" type="video/mp4" size="576">
                <source src="//repo.bfw.wiki/bfwrepo/video/61625c01d0fb2.mp4" type="video/mp4" size="720">
                <source src="//repo.bfw.wiki/bfwrepo/video/61625c01d0fb2.mp4" type="video/mp4" size="1080">
                <source src="//repo.bfw.wiki/bfwrepo/video/61625c01d0fb2.mp4" type="video/mp4" size="1440">

                <!-- Caption files -->
                <track kind="captions" label="English" srclang="en" src="//repo.bfw.wiki/bfwrepo/images/card/View_From_A_Blue_Moon_Trailer-HD.en.vtt"
                    default>
                <track kind="captions" label="Français" srclang="fr" src="//repo.bfw.wiki/bfwrepo/images/card/View_From_A_Blue_Moon_Trailer-HD.fr.vtt">

                <!-- Fallback for browsers that don't support the <video> element -->
                <a href="//repo.bfw.wiki/bfwrepo/video/61625c01d0fb2.mp4" .........完整代码请登录后点击上方下载按钮下载查看

网友评论0