video.html 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
  6. <title></title>
  7. <script src="../js/mui.min.js"></script>
  8. <!--<script type="text/javascript" src="../js/video.js"></script>-->
  9. <!--<link rel="stylesheet" href="../css/video-js.css" />-->
  10. <!--<link href="../css/mui.css" rel="stylesheet" />-->
  11. <style>
  12. body {
  13. margin: 0;
  14. background-color: #F3F3F3;
  15. }
  16. @font-face {
  17. font-family: Muiicons;
  18. font-weight: normal;
  19. font-style: normal;
  20. src: url('../fonts/mui.ttf') format('truetype');
  21. }
  22. a {
  23. text-decoration: none;
  24. color: #007aff;
  25. }
  26. a {
  27. background: transparent;
  28. }
  29. .mui-icon-back:before,
  30. .mui-icon-left-nav:before {
  31. content: '\e471';
  32. }
  33. .mui-bar {
  34. position: fixed;
  35. z-index: 10;
  36. right: 0;
  37. left: 0;
  38. height: 44px;
  39. padding-right: 10px;
  40. padding-left: 10px;
  41. border-bottom: 0;
  42. background-color: #f7f7f7;
  43. -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, .85);
  44. box-shadow: 0 0 1px rgba(0, 0, 0, .85);
  45. -webkit-backface-visibility: hidden;
  46. backface-visibility: hidden;
  47. }
  48. .mui-bar-nav {
  49. top: 0;
  50. -webkit-box-shadow: 0 1px 6px #ccc;
  51. box-shadow: 0 1px 6px #ccc;
  52. }
  53. .mui-bar-nav.mui-bar .mui-icon {
  54. margin-right: -10px;
  55. margin-left: -10px;
  56. padding-right: 10px;
  57. padding-left: 10px;
  58. }
  59. .mui-bar .mui-icon {
  60. font-size: 24px;
  61. position: relative;
  62. z-index: 20;
  63. padding-top: 10px;
  64. padding-bottom: 10px;
  65. }
  66. .mui-icon {
  67. font-family: Muiicons;
  68. font-size: 24px;
  69. font-weight: normal;
  70. font-style: normal;
  71. line-height: 1;
  72. display: inline-block;
  73. text-decoration: none;
  74. -webkit-font-smoothing: antialiased;
  75. }
  76. .mui-pull-left {
  77. float: left;
  78. }
  79. .mui-title {
  80. font-size: 17px;
  81. font-weight: 500;
  82. line-height: 44px;
  83. /*position: absolute;*/
  84. display: block;
  85. width: 100%;
  86. margin: 0 -10px;
  87. margin-left: 30px;
  88. padding: 0;
  89. /*text-align: center;*/
  90. white-space: nowrap;
  91. color: #000;
  92. }
  93. .mui-bar-nav ~ .mui-content {
  94. padding-top: 44px;
  95. }
  96. .mui-content {
  97. background-color: #F3F3F3;
  98. -webkit-overflow-scrolling: touch;
  99. }
  100. .mui-table {
  101. background-color: white;
  102. }
  103. .mui-one {
  104. font-size: 20px;
  105. }
  106. .mui-table-cell {
  107. padding-top: 20px;
  108. padding-left: 15px;
  109. padding-bottom: 2px;
  110. border-bottom: 1px #D8D8D8 solid;
  111. }
  112. .mui-p {
  113. color: #D8D8D8;
  114. }
  115. .mui-vip {
  116. color: white;
  117. background: #eb4f53;
  118. margin-right: 10px;
  119. border-radius: 4px;
  120. padding: 2px 10px 0px 10px;
  121. font-size: 16px;
  122. }
  123. .li-img {
  124. width: 20px;
  125. margin-left: 10px;
  126. }
  127. .anniu>div {
  128. width: 20%;
  129. /*margin-left: 3%;*/
  130. margin-top: 13px;
  131. float: left;
  132. text-align: center;
  133. }
  134. .anniu>div>img{
  135. width: 85%;
  136. }
  137. .mui-wenzi div {
  138. width: 20%;
  139. float: left;
  140. text-align: center;
  141. font-size: 14px;
  142. white-space: nowrap;
  143. }
  144. .mui-table-view .mui-media,
  145. .mui-table-view .mui-media-body {
  146. overflow: hidden;
  147. }
  148. .mui-table-view {
  149. padding-left: 0px;
  150. }
  151. .mui-table-view-cell {
  152. position: relative;
  153. overflow: hidden;
  154. padding: 11px 15px;
  155. -webkit-touch-callout: none;
  156. }
  157. .mui-table-view-cell:after {
  158. position: absolute;
  159. right: 0;
  160. bottom: 0;
  161. left: 1px;
  162. height: 1px;
  163. content: '';
  164. -webkit-transform: scaleY(.5);
  165. transform: scaleY(.5);
  166. background-color: #c8c7cc;
  167. }
  168. .mui-table-view-cell>a:not(.mui-btn) {
  169. position: relative;
  170. display: block;
  171. overflow: hidden;
  172. margin: -11px -15px;
  173. padding: inherit;
  174. white-space: nowrap;
  175. text-overflow: ellipsis;
  176. color: inherit;
  177. }
  178. .mui-navigate-right:after {
  179. right: 15px;
  180. content: '\e583';
  181. }
  182. .mui-navigate-right {
  183. font-size: 22px;
  184. color: #343434;
  185. }
  186. .mui-navigate-right:after {
  187. font-family: Muiicons;
  188. font-size: inherit;
  189. line-height: 1;
  190. position: absolute;
  191. top: 50%;
  192. display: inline-block;
  193. -webkit-transform: translateY(-50%);
  194. transform: translateY(-50%);
  195. text-decoration: none;
  196. color: #bbb;
  197. -webkit-font-smoothing: antialiased;
  198. }
  199. .xuanji {
  200. width: 20%;
  201. height: 36px;
  202. border: 1px solid #D8D8D8;
  203. float: left;
  204. margin: -1px;
  205. font-size: 20px;
  206. padding-top: 15px;
  207. }
  208. </style>
  209. <script type="text/javascript" charset="UTF-8">
  210. mui.init();
  211. </script>
  212. </head>
  213. <body>
  214. <header class="mui-bar mui-bar-nav" style="background-color: black;">
  215. <a style="color: white;" class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
  216. <h1 class="mui-title" style="color: white;">瑞典小提琴独奏精选</h1>
  217. </header>
  218. <div class="mui-content">
  219. <video id="v" src="wildlife.mp4" poster="fengmian.jpg" controls="controls" width="100%" class="video-js vjs-default-skin vjs-big-play-centered" data-setup='{"example_option":true}'>
  220. 您的浏览器不支持 video 标签。
  221. </video>
  222. <div class="mui-table">
  223. <div class="mui-table-cell">
  224. <div class="mui-one"> <span class="mui-vip">VIP</span><span>瑞典小提琴独奏精选</span></div>
  225. <p class="mui-p">
  226. 简介:音乐视频-四月是你的谎言OP1-若能绽放光芒 小提琴演奏高海英
  227. </p>
  228. </div>
  229. </div>
  230. <div style="width: 100%;height: 36px;background-color: white;padding-top: 20px;">
  231. <div style="width: 40%;float: left;">
  232. <img class=" mui-pull-left li-img" src="../images/shipin/bofang.png">
  233. <div class="mui-media-body">
  234. 108.8万次播放
  235. </div>
  236. </div>
  237. <div style="width: 50%;float: left;">
  238. <img class=" mui-pull-left li-img" src="../images/shipin/xihuan.png">
  239. <div class="mui-media-body">
  240. 12.9万人喜欢
  241. </div>
  242. </div>
  243. </div>
  244. <div class="anniu" style="margin-top: 16px;background-color: white;height: 106px;">
  245. <div>
  246. <img src="../images/shipin/dianzan.png" />
  247. </div>
  248. <div>
  249. <img src="../images/shipin/pinglun.png" />
  250. </div>
  251. <div>
  252. <img src="../images/shipin/xiazai.png" />
  253. </div>
  254. <div>
  255. <img src="../images/shipin/shoucang.png" />
  256. </div>
  257. <div>
  258. <img src="../images/shipin/fenxiang.png" />
  259. </div>
  260. </div>
  261. <div class="mui-wenzi" style="width: 100%;position: relative;top: -23px;">
  262. <div>点赞</div>
  263. <div>评论(210)</div>
  264. <div>离线</div>
  265. <div>收藏</div>
  266. <div>分享</div>
  267. </div>
  268. <div style="height: 180px;width: 100%;background-color: white;margin-top: 16px;margin-bottom: 10px;">
  269. <ul class="mui-table-view" style="margin-top: 18px;">
  270. <li class="mui-table-view-cell mui-media">
  271. <a class="mui-navigate-right">
  272. 选集
  273. <span style="float: right;font-size: 16px;color: #D8D8D8;right: 24px;position: relative;top: 5px;">28集全</span>
  274. </a>
  275. </li>
  276. </ul>
  277. <div style="width: 94%;text-align: center;margin-left: 3%;">
  278. <div class="xuanji">1</div>
  279. <div class="xuanji">2</div>
  280. <div class="xuanji">3</div>
  281. <div class="xuanji">4</div>
  282. <div class="xuanji">5</div>
  283. <div class="xuanji">6</div>
  284. <div class="xuanji">7</div>
  285. <div class="xuanji">8</div>
  286. <div class="xuanji">9</div>
  287. <div class="xuanji">10</div>
  288. </div>
  289. </div>
  290. </div>
  291. <script>
  292. //设置video高度
  293. function setHeight() {
  294. //获取屏幕宽度
  295. var pmw = document.documentElement.clientWidth;
  296. //var pmw = window.screen.width
  297. var vide_ht = pmw * 9 / 16;
  298. v.style.height = vide_ht + "px";
  299. }
  300. setHeight();
  301. // videojs("v").ready(function() {
  302. // var myPlayer = this;
  303. // myPlayer.show();
  304. // }, true);
  305. var oldback = mui.back;
  306. mui.back = function() {
  307. v.pause();
  308. oldback();
  309. }
  310. </script>
  311. </body>
  312. </html>