加载中...

电视

使用帮助

参数名 参数类型 默认值 参数说明
url string 直播源列表文件的链接(m3u格式)
playUrl string 在线视频的链接(m3u8、mp4等)

使用方式1:使用默认的直播源列表(根据IP地址的国家或地区自动切换)

javascript
1
https://stackblog.cf/tv/

使用方式2:使用自定义直播源列表

javascript
1
https://stackblog.cf/tv/?url=https://iptv-org.github.io/iptv/index.m3u

使用方式3:直接播放在线视频

javascript
1
https://stackblog.cf/tv/?playUrl=https://vmcdn.stackblog.ml/video/simplestacktv_1.m3u8

注: playUrl的优先级比url高,所以同时设置只有playUrl有效。

Q&A

1、无法播放?
分析:可能是跨域问题;部分视频链接是ipv6的,你的网络可能不支持访问;格式不支持;浏览器不支持;视频链接不是https的,被浏览器阻止…
解决办法:换个网络环境(wifi、移动数据、加速器等等)、换浏览器、换个直播源列表文件链接、打开浏览器的设置,搜索”不安全“,将网站设置成“允许不安全的内容”…
2、源码?
https://github.com/Uyukisan/StackTV
3、去哪里找m3u直播列表文件链接?
https://github.com/search?q=iptv&type=repositories
下面是我找到的几个

链接 来源
https://iptv-org.github.io/iptv/index.m3u iptv-org
https://ghproxy.com/https://raw.githubusercontent.com/Free-TV/IPTV/master/playlist.m3u8 Free-TV
https://live.fanmingming.com/tv/m3u/ipv6.m3u fanmingming
https://live.fanmingming.com/tv/m3u/global.m3u fanmingming
https://live.fanmingming.com/radio/m3u/index.m3u fanmingming
https://ghproxy.com/https://raw.githubusercontent.com/kozalak-robot/iptv/master/daily.m3u8 kozalak-robot

在你的网站中嵌入StackTV

前往查询👉:戳它

以上!


评论
Nickname
Email
Website
0/2000
  • OωO
  • |´・ω・)ノ
  • ヾ(≧∇≦*)ゝ
  • (☆ω☆)
  • (╯‵□′)╯︵┴─┴
  •  ̄﹃ ̄
  • (/ω\)
  • ∠( ᐛ 」∠)_
  • (๑•̀ㅁ•́ฅ)
  • →_→
  • ୧(๑•̀⌄•́๑)૭
  • ٩(ˊᗜˋ*)و
  • (ノ°ο°)ノ
  • (´இ皿இ`)
  • ⌇●﹏●⌇
  • (ฅ´ω`ฅ)
  • (╯°A°)╯︵○○○
  • φ( ̄∇ ̄o)
  • ヾ(´・ ・`。)ノ"
  • ( ง ᵒ̌皿ᵒ̌)ง⁼³₌₃
  • (ó﹏ò。)
  • Σ(っ °Д °;)っ
  • ( ,,´・ω・)ノ"(´っω・`。)
  • ╮(╯▽╰)╭
  • o(*////▽////*)q
  • >﹏<
  • ( ๑´•ω•) "(ㆆᴗㆆ)
  • (笑)
  • (泣)
  • (汗)
  • (爆笑)
  • (苦笑)
  • 😂
  • 😀
  • 😅
  • 😊
  • 🙂
  • 🙃
  • 😌
  • 😍
  • 😘
  • 😜
  • 😝
  • 😏
  • 😒
  • 🙄
  • 😳
  • 😡
  • 😔
  • 😫
  • 😱
  • 😭
  • 🍎
  • 👻
  • 🙌
  • ✌️
  • 👍
  • 👌
  • 👏
  • 👫
  • 👬
  • 👭
  • 🌚
  • 🌝
  • 🙈
  • 💊
  • 😶
  • 🙏
  • 🍦
  • 🍉
  • 😣
  • ⛄️
  • 🐻
  • 🐧
  • 🐣
  • ☕️
  • 颜文字
  • Emoji
  • Bilibili
0 comments
No comment