video_play.html 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport"
  6. content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
  7. <meta http-equiv="X-UA-Compatible" content="ie=edge">
  8. <link rel="stylesheet" href="/static/bootstrap-3.3.7/css/bootstrap.css">
  9. <link rel="stylesheet" href="/static/h5/css/common.css">
  10. <title>视频播放</title>
  11. <style>
  12. html{
  13. margin: 0;
  14. padding: 0;
  15. background-color: #060606;
  16. }
  17. body{
  18. background-color: #060606;
  19. margin: 0;
  20. padding: 0;
  21. }
  22. .container{
  23. max-width: 750px;
  24. height: auto;
  25. margin: 0;
  26. padding: 0px;
  27. }
  28. .container video{
  29. width: 91%;
  30. height: 300px;
  31. line-height: 300px;
  32. position: fixed;
  33. top: 22%;
  34. }
  35. .footer-back{
  36. position: fixed;
  37. z-index: 1000;
  38. width: 100%;
  39. height: 45px;
  40. line-height: 45px;
  41. background-color: #ffffff;
  42. bottom: 0;
  43. left: 0;
  44. box-shadow: 0px 0px 10px 0px rgba(26, 25, 26, 0.05);
  45. display: table-cell;
  46. vertical-align: middle;
  47. text-align: center;
  48. }
  49. .footer-back a img{
  50. width: 43px;
  51. height: 43px;
  52. }
  53. </style>
  54. </head>
  55. <body>
  56. <div class="container">
  57. <video controls>
  58. <source src="{$url}">
  59. </video>
  60. <div class="footer-back">
  61. <a href="javascript:;" onclick="javascript:history.back(-1);"><img src="/img/back.png"></a>
  62. </div>
  63. </div>
  64. </body>
  65. </html>