-
Notifications
You must be signed in to change notification settings - Fork 0
/
faq.html
110 lines (105 loc) · 2.77 KB
/
faq.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<!DOCTYPE html>
<html lang="en-US">
<head>
<title>faq</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
code {
display: block;
white-space: pre-wrap
}
#wrap{
padding:20px;
}
</style>
</head>
<body>
<div id="wrap">
<h1>ENGLISH</h1>
<h2>Q:what video format does this app support</h2>
<p>A: this app is designed to play m3u8 file, but also supporting other format like mp4 ,etc. Only support http ,not p2p,rtmp,rtsp</p>
<h2>Q:that is the subscription file format</h2>
<p>A: subscription file supports txt ,m3u, and json.</p>
<h3>for txt file </h3>
<code>
ch1,https://www.example.com/channel1.m3u8
ch2,https://www.example.com/channel2.m3u8
</code>
<h3>for m3u file </h3>
<code>
#EXTM3U
#EXTINF:-1 ,ch1
https://www.example.com/channel1.m3u8
#EXTINF:-1 ,ch2
https://www.example.com/channel2.m3u8
</code>
<h3>for json file </h3>
<code>
{
"uuid":"64350b50-a810-4901-b86b-7a5106bdef2c",
"title": "you subscription file name",
"channels": [
{
"name":"ch1",
"url": "https://www.example.com/channel1.m3u8"
},
{
"name": "ch2",
"url": "https://www.example.com/channel2.m3u8"
}
]
}
</code>
<p>the file contains three part, uuid,title and channels</p>
<ul>
<li>uuid: don't change it</li>
<li>title: change it to your own name</li>
<li>channels: your channels list here</li>
</ul>
<p>put this file on the web(like github),get the direct link(very important!) and paste it. That's all you need to do.</p>
<h1>中文</h1>
<h2>问:支持什么样的视频格式</h2>
<p>答: 本播放器主要用来播放m3u8,当然也支持其他格式,如mp4等,只支持http,不支持p2p,rtmp,rtsp </p>
<h2>问:订阅文件的格式是什么</h2>
<p>A: 订阅文件支持三种格式 txt ,m3u,json.</p>
<h3>txt文本格式 </h3>
<code>
频道1,https://www.example.com/channel1.m3u8
频道2,https://www.example.com/channel2.m3u8
</code>
<h3>m3u格式</h3>
<code>
#EXTM3U
#EXTINF:-1 ,频道1
https://www.example.com/channel1.m3u8
#EXTINF:-1 ,频道2
https://www.example.com/channel2.m3u8
</code>
<h3>json格式 </h3>
<code>
{
"uuid":"64350b50-a810-4901-b86b-7a5106bdef2c",
"title": "你的频道名字",
"channels": [
{
"name":"频道1",
"url": "https://www.example.com/channel1.m3u8"
},
{
"name": "频道2",
"url": "https://www.example.com/channel2.m3u8"
}
]
}
</code>
<p>分成3个部分, uuid, title和 channels</p>
<ul>
<li>uuid: 不要做任何改动</li>
<li>title: 可以自定义,这个是你导入后在列表里显示的名字</li>
<li>channels: 你所有的频道列表</li>
</ul>
<p>将json文件放到网络上,比如github,然后获取直链的网址,在添加订阅里粘贴保存即可。</p>
</div>
</body>
</html>