index.html 852 B

12345678910111213141516171819202122232425
  1. <!doctype html>
  2. <html lang="zh-CN">
  3. <head>
  4. <meta charset="UTF-8" />
  5. <link rel="icon" type="image/svg+xml" href="/vite.svg" />
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  7. <title>摄像头管理系统</title>
  8. <!-- Jessibuca 播放器(用于 FLV/GB28181 流,可选) -->
  9. <script>
  10. // 动态加载 Jessibuca,避免文件不存在时报错
  11. (function() {
  12. var script = document.createElement('script');
  13. script.src = '/js/jessibuca/jessibuca.js';
  14. script.onerror = function() {
  15. console.warn('Jessibuca player not found. FLV playback will be unavailable.');
  16. };
  17. document.head.appendChild(script);
  18. })();
  19. </script>
  20. </head>
  21. <body>
  22. <div id="app"></div>
  23. <script type="module" src="/src/main.ts"></script>
  24. </body>
  25. </html>