31ae7ca475a26ebcbb276816c4fb87972769d414.svn-base 818 B

123456789101112131415161718192021222324
  1. <html>
  2. <head>
  3. <script src="http://cdn.jsdelivr.net/npm/xgplayer/browser/index.js" charset="utf-8"></script>
  4. <script src="http://cdn.jsdelivr.net/npm/xgplayer-flv.js/browser/index.js" charset="utf-8"></script>
  5. </head>
  6. <!-- b/p/147/34bccbd9ffd54052b8a71e70ebe259c4/34bccbd9ffd54052b8a71e70ebe259c4.v.854.480.f4v -->
  7. <body>
  8. <div id="player"></div>
  9. <script type="text/javascript">
  10. var hash = document.location.hash.split("#")[1];
  11. console.log( hash )
  12. new window.FlvJsPlayer({
  13. id: 'player',
  14. isLive: false,
  15. playsinline: true,
  16. url: '//media.ndjsxh.cn:8888/mp4/'+hash,
  17. autoplay: true,
  18. height: window.innerHeight,
  19. width: window.innerWidth
  20. });
  21. </script>
  22. </body>
  23. </html>