video_play.html 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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. <title>视频播放</title>
  10. <style>
  11. html{
  12. margin: 0;
  13. padding: 0;
  14. background-color: #060606;
  15. }
  16. body{
  17. background-color: #060606;
  18. margin: 0;
  19. padding: 0;
  20. }
  21. .container{
  22. max-width: 750px;
  23. height: auto;
  24. margin: 0;
  25. padding: 0px;
  26. }
  27. .container video{
  28. width: 91%;
  29. height: 300px;
  30. line-height: 300px;
  31. position: fixed;
  32. top: 22%;
  33. }
  34. .footer-back{
  35. position: fixed;
  36. z-index: 1000;
  37. width: 100%;
  38. height: 45px;
  39. line-height: 45px;
  40. background-color: #ffffff;
  41. bottom: 0;
  42. left: 0;
  43. box-shadow: 0px 0px 10px 0px rgba(26, 25, 26, 0.05);
  44. display: table-cell;
  45. vertical-align: middle;
  46. text-align: center;
  47. }
  48. .footer-back a img{
  49. width: 43px;
  50. height: 43px;
  51. }
  52. </style>
  53. </head>
  54. <body>
  55. <div class="container">
  56. <video controls>
  57. <source src="{$url}">
  58. </video>
  59. <div class="footer-back">
  60. <a href="javascript:;" onclick="javascript:history.back(-1);"><img src="/img/back.png"></a>
  61. </div>
  62. </div>
  63. </body>
  64. </html>