123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196 |
- <!doctype html>
- <html lang="en">
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>H+ 后台主题UI框架 - 视频播放</title>
- <meta name="keywords" content="H+后台主题,后台bootstrap框架,会员中心主题,后台HTML,响应式后台">
- <meta name="description" content="H+是一个完全响应式,基于Bootstrap3最新版本开发的扁平化主题,她采用了主流的左右两栏式布局,使用了Html5+CSS3等现代技术">
- <link rel="shortcut icon" href="favicon.ico"> <link href="css/bootstrap.min.css?v=3.3.7" rel="stylesheet">
- <link href="css/font-awesome.css?v=4.4.0" rel="stylesheet">
- <link href="css/style.css?v=4.1.0" rel="stylesheet">
- <link rel="stylesheet" href="css/plugins/plyr/plyr.css">
- </head>
- <body class="gray-bg">
- <div class="wrapper wrapper-content animated fadeInRight">
- <div class="row">
- <div class="col-sm-12">
- <div class="ibox float-e-margins">
- <div class="ibox-title">
- <h5>HTML5 多媒体播放器 <a href="https://plyr.io/" target="_blank">https://plyr.io/</a></h5>
- <div class="ibox-tools">
- <a class="collapse-link">
- <i class="fa fa-chevron-up"></i>
- </a>
- <a class="dropdown-toggle" data-toggle="dropdown" href="form_basic.html#">
- <i class="fa fa-wrench"></i>
- </a>
- <ul class="dropdown-menu dropdown-user">
- <li><a href="form_basic.html#">选项1</a>
- </li>
- <li><a href="form_basic.html#">选项2</a>
- </li>
- </ul>
- <a class="close-link">
- <i class="fa fa-times"></i>
- </a>
- </div>
- </div>
- <div class="ibox-content">
- <p>Plyr 是一个使用 HTML5 开发的基于浏览器上的多媒体播放器。支持自定义的播放控制和 WebVTT 字幕。</p>
- <p>特性:</p>
- <ul>
- <li>
- <p><strong>可访问性</strong> - 完全支持字幕和屏幕阅读器</p>
- </li>
- <li>
- <p><strong>轻量级</strong> - 压缩后只有 4.8Kb</p>
- </li>
- <li>
- <p><strong>可定制</strong> - 外观可以根据需要进行调整</p>
- </li>
- <li>
- <p><strong>语义化</strong> - 使用 HTML5 的输入框进行音量和进度的调整</p>
- </li>
- <li>
- <p><strong>快速响应</strong> - 就像你预期的那样</p>
- </li>
- <li>
- <p><strong>音频和视频</strong>- 支持视频和纯音频</p>
- </li>
- <li>
- <p><strong>API</strong> - 易用 API</p>
- </li>
- <li>
- <p><strong>向下兼容</strong> - 如果浏览器不支持,则自动使用内建播放器</p>
- </li>
- <li>
- <p><strong>全屏支持</strong> -支持原生全屏和退出全屏</p>
- </li>
- <li>
- <p><strong>无依赖</strong> - 使用原生 JS 编写,不需要jQuery</p>
- </li>
- </ul>
- </div>
- </div>
- </div>
- <div class="col-sm-8">
- <div class="ibox float-e-margins">
- <div class="ibox-title">
- <h5>视频播放</h5>
- <div class="ibox-tools">
- <a class="collapse-link">
- <i class="fa fa-chevron-up"></i>
- </a>
- <a class="dropdown-toggle" data-toggle="dropdown" href="form_basic.html#">
- <i class="fa fa-wrench"></i>
- </a>
- <ul class="dropdown-menu dropdown-user">
- <li><a href="form_basic.html#">选项1</a>
- </li>
- <li><a href="form_basic.html#">选项2</a>
- </li>
- </ul>
- <a class="close-link">
- <i class="fa fa-times"></i>
- </a>
- </div>
- </div>
- <div class="ibox-content">
- <div class="player">
- <video poster="https://plyr.io/poster.jpg" controls crossorigin>
- <!-- Video files -->
- <source src="https://cdn.selz.com/plyr/1.0/movie.mp4" type="video/mp4">
- <source src="https://cdn.selz.com/plyr/1.0/movie.webm" type="video/webm">
- <!-- Text track file -->
- <track kind="captions" label="English" srclang="en" src="https://cdn.selz.com/plyr/1.0/example_captions_en.vtt" default>
- <!-- Fallback for browsers that don't support the <video> element -->
- <a href="https://cdn.selz.com/plyr/1.0/movie.mp4">Download</a>
- </video>
- </div>
- </div>
- </div>
- </div>
- <div class="col-sm-4">
- <div class="ibox float-e-margins">
- <div class="ibox-title">
- <h5>音频播放</h5>
- <div class="ibox-tools">
- <a class="collapse-link">
- <i class="fa fa-chevron-up"></i>
- </a>
- <a class="dropdown-toggle" data-toggle="dropdown" href="form_basic.html#">
- <i class="fa fa-wrench"></i>
- </a>
- <ul class="dropdown-menu dropdown-user">
- <li><a href="form_basic.html#">选项1</a>
- </li>
- <li><a href="form_basic.html#">选项2</a>
- </li>
- </ul>
- <a class="close-link">
- <i class="fa fa-times"></i>
- </a>
- </div>
- </div>
- <div class="ibox-content">
- <div class="player">
- <audio controls>
- <!-- Audio files -->
- <source src="http://music.baidu.com/cms/app/muplayer/test_mp3/1.mp3" type="audio/mp3">
- <!-- Fallback for browsers that don't support the <audio> element -->
- 您的浏览器不支持在线播放,请<a href="http://music.baidu.com/cms/app/muplayer/test_mp3/1.mp3">下载</a>
- </audio>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <script>
- (function (d, u) {
- var a = new XMLHttpRequest(),
- b = d.body;
- // Check for CORS support
- // If you're loading from same domain, you can remove the if statement
- if ("withCredentials" in a) {
- a.open("GET", u, true);
- a.send();
- a.onload = function () {
- var c = d.createElement("div");
- c.setAttribute("hidden", "");
- c.innerHTML = a.responseText;
- b.insertBefore(c, b.childNodes[0]);
- }
- }
- })(document, "css/plugins/plyr/sprite.svg");
- </script>
- <!-- Plyr core script -->
- <script src="js/plugins/plyr/plyr.js"></script>
- <script>
- plyr.setup();
- </script>
- <!-- 全局js -->
- <script src="js/jquery.min.js?v=2.1.4"></script>
- <script src="js/bootstrap.min.js?v=3.3.7"></script>
- <!-- 自定义js -->
- <script src="js/content.js?v=1.0.0"></script>
- <script type="text/javascript" src="http://tajs.qq.com/stats?sId=9051096" charset="UTF-8"></script>
- <!--统计代码,可删除-->
- </body>
- </html>
|