index.html 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <!DOCTYPE html>
  2. <html lang="zh">
  3. <head>
  4. <meta charset="utf-8" />
  5. <!-- <meta name="renderer" content="webkit" /> -->
  6. <!-- <meta name="referrer" content="no-referrer" /> -->
  7. <meta name="referrer" content="never" />
  8. <meta name="force-rendering" content="webkit" />
  9. <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" />
  10. <meta
  11. name="viewport"
  12. content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, viewport-fit=cove"
  13. />
  14. <link rel="icon" href="<%= BASE_URL %>favicon.ico" />
  15. <title>default</title>
  16. <link
  17. rel="stylesheet"
  18. href="https://g.alicdn.com/de/prismplayer/2.11.0/skins/default/aliplayer-min.css"
  19. />
  20. <script>
  21. // 跳转https地址
  22. const urlArr = window.location.href.split("://");
  23. if (urlArr[0] === "http" && !urlArr[1].includes("192.168")) {
  24. urlArr[0] = "https";
  25. window.location.href = urlArr.join("://");
  26. }
  27. </script>
  28. <script
  29. type="text/javascript"
  30. charset="utf-8"
  31. src="https://g.alicdn.com/de/prismplayer/2.11.0/aliplayer-min.js"
  32. ></script>
  33. <script
  34. type="text/javascript"
  35. charset="utf-8"
  36. src="./js/aliplayercomponents-1.0.9.min.js"
  37. ></script>
  38. </head>
  39. <body>
  40. <noscript>
  41. <strong
  42. >We're sorry but default doesn't work properly without JavaScript
  43. enabled. Please enable it to continue.</strong
  44. >
  45. </noscript>
  46. <div id="app"></div>
  47. <!-- built files will be auto injected -->
  48. </body>
  49. <script src="//kefu.easemob.com/webim/easemob.js"></script>
  50. </html>