index.html 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1" />
  6. <link rel="canonical" href="https://jamesfengcao.gitlab.io/uweb/zh/tvlive/" />
  7. <link rel="stylesheet" href="../style.css#" type="text/css" />
  8. <title>电视直播</title>
  9. <script>
  10. function findLang(){
  11. let href = location.href;
  12. for(let i=href.length-1;i>0;i--){
  13. if('/'==href.charAt(i) && '/'==href.charAt(i-3))
  14. return i;
  15. }
  16. return 0;
  17. }
  18. function nav2(page){
  19. let i = findLang();
  20. location.href = location.href.substring(0,i+1)+page;
  21. }
  22. function nav2Lang(lang){
  23. let i = findLang();
  24. let href = location.href;
  25. location.href = location.href.substring(0,i-2)+lang+location.href.substring(i);
  26. }
  27. </script>
  28. </head>
  29. <body>
  30. <header class='header'>
  31. <a class="logo" href="javascript:void(0)" onclick="return nav2('index.html#')">Home</a> <a class="logo" href="javascript:void(0)" onclick="return nav2('tags/index.html#')">Tags</a>
  32. <nav>
  33. </nav>
  34. </header>
  35. <br />
  36. <div class="container">
  37. <h1 class="title">电视直播
  38. <br>
  39. <span class="subtitle"></span>
  40. </h1>
  41. <ul class="tags">
  42. <li><a href="../tags/%e7%94%b5%e8%a7%86/index.html#">电视</a> </li>
  43. </ul>
  44. <h4 id="直播源">直播源</h4>
  45. <p>直播源网址前面加上前缀&quot;i:0/js/2lnk.js:i:5g&quot;就可将任一直播源转换成直播网页。其中前缀 &quot;i:0/js/2lnk.js:&quot; 对网页使用应用assets内置小书签&quot;/js/2lnk.js&quot;转换直播源,&quot;i:0&quot;中的&quot;0&quot;表示此功能更改了网页原来的展示,有潜在的安全威胁,需用户明确同意(比如通过安装为菜单,书签,对话框确认等方式)。前缀&quot;i:5g&quot;强迫网址以文本方式展示,部分直播源以m3u为后缀,不能省略前缀&quot;i:5g&quot;。<br>
  46. <a href="i:0/js/2lnk.js:i:5ghttps://fastly.jsdelivr.net/gh/YanG-1989/m3u/Gather.m3u">YanG-1989/m3u</a></p>
  47. <h4 id="频道">频道</h4>
  48. <p><a href="http://tv.cctv.com/live/cctv1">CCTV1</a><br>
  49. <a href="http://tv.cctv.com/live/cctv2">CCTV2财经</a><br>
  50. <a href="http://tv.cctv.com/live/cctv4">CCTV4国际</a><br>
  51. <a href="http://tv.cctv.com/live/cctv5">CCTV5体育</a><br>
  52. <a href="http://tv.cctv.com/live/cctv6">CCTV6电影</a><br>
  53. <a href="http://tv.cctv.com/live/cctv7">CCTV7军农</a><br>
  54. <a href="http://tv.cctv.com/live/cctv8">CCTV8电视剧</a><br>
  55. <a href="http://tv.cctv.com/live/cctv10">CCTV10科教</a><br>
  56. <a href="http://tv.cctv.com/live/cctv11">CCTV11戏曲</a><br>
  57. <a href="http://tv.cctv.com/live/cctv12">CCTV12社会与法</a><br>
  58. <a href="http://tv.cctv.com/live/cctv13">CCTV13新闻</a><br>
  59. <a href="http://tv.cctv.com/live/cctv15">CCTV15少儿</a><br>
  60. <a href="http://tv.cctv.com/live/cctv17">CCTV17农村</a><br>
  61. <a href="http://wanzhoulive.cbg.cn:8017/iTXwrGs/800/live.m3u8">万州综合频道</a><br>
  62. <a href="http://wanzhoulive.cbg.cn:8017/c2F0hmi/1000/live.m3u8">万州三峡移民</a><br>
  63. <a href="http://stream.lytv.net.cn/2/sd/live.m3u8">龙岩综合频道</a><br>
  64. <a href="http://stream.smntv.cn/smtv1/sd/live.m3u8">三明综合频道</a><br>
  65. <a href="http://stream.smntv.cn/smtv2/sd/live.m3u8">三明公共频道</a><br>
  66. <a href="http://live.todaydunhuang.com:1935/live/live100/500K/tzwj_video.m3u8">敦煌综合频道</a><br>
  67. <a href="http://tmpstream.hyrtv.cn/xwzh/sd/live.m3u8">河源综合频道</a><br>
  68. <a href="http://tmpstream.hyrtv.cn/hygg/sd/live.m3u8">河源公共频道</a><br>
  69. <a href="http://hls.mlink.tv/mlink/glyKPQRZ.m3u8">黔东南综合频道</a><br>
  70. <a href="http://czlive.czgd.tv:85/live/xnst.m3u8">沧州三套节目</a></p>
  71. <h4 id="电视模式配置直播源">电视模式:配置直播源</h4>
  72. <p>文件&quot;<a href="../search/index.html#">engine.search</a>&quot;为自动顺序搜索引擎列表文件,其格式与主屏搜索引擎文件&quot;home5.search&quot;类似。如果将其中的搜索引擎url以视频url代替。此时浏览器会将“engine.search”作为视频直播频道列表文件,浏览器进入电视模式,启动就会全屏播放。</p>
  73. </div>
  74. <p>Last Modified: 2 April 2024<br>
  75. add js function in README<br>
  76. <pre></pre>
  77. </p>
  78. <script id='jsgiscus'
  79. src='https://giscus.app/client.js'
  80. data-repo="torappinfo/uweb"
  81. data-repo-id="MDEwOlJlcG9zaXRvcnkzMDIyMDU3MjE="
  82. data-category="Announcements"
  83. data-category-id="DIC_kwDOEgNLGc4CQjsh"
  84. data-mapping="title"
  85. data-strict="0"
  86. data-reactions-enabled="1"
  87. data-emit-metadata="0"
  88. data-input-position="top"
  89. data-theme="light"
  90. data-lang="en"
  91. data-loading="lazy"
  92. crossorigin="anonymous" async>
  93. </script>
  94. <footer class="site-footer">
  95. <div class="container">
  96. &copy; 2018-2024 Richard H. Cao
  97. </div>
  98. </footer>
  99. <!-- This document is licensed under the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is available at <https://www.gnu.org/licenses/>. -->
  100. </body>
  101. </html>