首页
关于
Search
1
ARK Server Manager (方舟开服器简易教程)
1,336 阅读
2
Hyper-V虚拟机无法启动提示Start Pxe over IPv4解决方法
977 阅读
3
HTTP代理格式含义
658 阅读
4
关于山东联通最新光猫中兴F677v2无法改桥接的问题
516 阅读
5
虚拟显示器
495 阅读
说说
游戏
方舟
软件
Linux
Ubuntu
Openwrt
Docker
分享
QZRS
WEB
登录
Search
标签搜索
Openwrt
丶曲終人散ゞ
累计撰写
88
篇文章
累计收到
236
条评论
首页
栏目
说说
游戏
方舟
软件
Linux
Ubuntu
Openwrt
Docker
分享
QZRS
WEB
页面
关于
搜索到
3
篇与
的结果
2025-11-01
Beta
SRS HTTPS 播放器 body { font-family: sans-serif; background:#111; color:#eee; text-align:center; padding:20px;} #player { width: 80%; max-width: 800px; margin: auto; } h2 { margin-bottom: 20px; } SRS HTTPS 流播放器 // 视频流配置 const flvUrl = 'https://47.105.67.198:4048/live/livestream.flv'; const hlsUrl = 'https://47.105.67.198:4048/live/livestream.m3u8'; // 检测 HLS 支持(Safari 原生支持) let videoType = 'flv'; if(Hls.isSupported()) { videoType = 'hls'; } // 创建 DPlayer const dp = new DPlayer({ container: document.getElementById('player'), autoplay: true, live: true, video: { url: videoType === 'hls' ? hlsUrl : flvUrl, type: videoType }, danmaku: false }); // 如果选择 FLV,使用 flv.js if(videoType === 'flv' && flvjs.isSupported()){ const flvPlayer = flvjs.createPlayer({ type: 'flv', url: flvUrl, isLive: true }); flvPlayer.attachMediaElement(dp.video); flvPlayer.load(); flvPlayer.play(); }
2025年11月01日
8 阅读
0 评论
0 点赞
2025-09-16
此内容被密码保护
加密文章,请前往内页查看详情
2025年09月16日
9 阅读
0 评论
0 点赞
2025-09-13
此内容被密码保护
加密文章,请前往内页查看详情
2025年09月13日
18 阅读
0 评论
0 点赞