-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathagreement.html
247 lines (218 loc) · 12.2 KB
/
agreement.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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
<!--
Copyright 2024 Pardn Ltd 帕登國際有限公司.
Created by Pardn Chiu 邱敬幃.
Email: dev@pardn.io
-->
<!DOCTYPE html>
<html lang="zh-Hant-TW">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover">
<meta name="theme-color" content="#ffffff">
<meta name="robots" content="index, follow">
<!-- SEO 標題與描述 -->
<title>FlexPlyr 授權協議 - 模組化多風格播放器 - 邱敬幃 Pardn Chiu</title>
<meta name="title" content="FlexPlyr 授權協議 - 模組化多風格播放器 - 邱敬幃 Pardn Chiu">
<meta name="description" content="FlexPlyr 是一款基於 JavaScript 與原生 APIs 開發的輕量級媒體播放器,支持 HTML5、YouTube 與 Vimeo,具備高度自定義控制面板與多種風格主題,為您的網站提供最佳播放體驗。">
<meta name="keywords" content="media-player, video-player, youtube-player, vimeo-player, javascript-library, lightweight, customizable, HTML5 播放器, 多媒體播放器, 自定義播放器, 邱敬幃">
<meta name="author" content="邱敬幃 Pardn Chiu">
<link rel="author" href="https://pardn.io/">
<link rel="canonical" href="https://flexplyr.pardn.io/">
<!-- Favicon -->
<link rel="icon" href="https://flexplyr.pardn.io/static/image/logo.png" type="image/x-icon">
<!-- Open Graph -->
<meta property="og:title" content="FlexPlyr 授權協議 - 模組化多風格播放器 - 邱敬幃 Pardn Chiu">
<meta property="og:description" content="FlexPlyr 是一款基於 JavaScript 的輕量級媒體播放器,支持 HTML5、YouTube 與 Vimeo,具備高度自定義控制面板與多種風格主題,為您的網站提供最佳播放體驗。">
<meta property="og:image" content="https://flexplyr.pardn.io/static/image/website.jpg">
<meta property="og:url" content="https://flexplyr.pardn.io/agreement.html">
<meta property="og:site_name" content="FlexPlyr">
<meta property="og:type" content="website">
<meta property="og:locale" content="zh_TW">
<!-- Twitter -->
<meta name="twitter:card" content="summary_large_image">
<meta property="twitter:title" content="FlexPlyr 授權協議 - 模組化多風格播放器 - 邱敬幃 Pardn Chiu">
<meta property="twitter:description" content="FlexPlyr 是一款基於 JavaScript 的輕量級媒體播放器,支持 HTML5、YouTube 與 Vimeo,具備高度自定義控制面板與多種風格主題,為您的網站提供最佳播放體驗。">
<meta property="twitter:image" content="https://flexplyr.pardn.io/static/image/website.jpg">
<meta property="twitter:url" content="https://flexplyr.pardn.io/agreement.html">
<!-- Google Verification -->
<meta name="google-site-verification" content="YQQ2f6AchR8dcb55Az2BYd_mw4TrP0J1RApD-v2v65Y">
<!-- Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-L5VYEZPVXX"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-L5VYEZPVXX');
</script>
<!-- Preload and Preconnect -->
<link rel="preconnect" href="https://cdn.jsdelivr.net">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="preload" href="https://cdn.jsdelivr.net/npm/@pardnchiu/quickui@0.6.2/dist/QuickUI.js" as="script">
<script src="https://cdn.jsdelivr.net/npm/@pardnchiu/quickui@0.6.2/dist/QuickUI.js" copyright="Pardn Ltd"></script>
<link rel="preload" href="https://cdn.jsdelivr.net/npm/code-prettify@0.1.0/loader/run_prettify.min.js" as="script" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/code-prettify@0.1.0/loader/run_prettify.min.js"></script>
<link rel="preload" href="https://cdn.jsdelivr.net/npm/@pardnchiu/nanomd@1.8.5/dist/NanoMD.js" as="script">
<script src="https://cdn.jsdelivr.net/npm/@pardnchiu/nanomd@1.8.5/dist/NanoMD.js" copyright="Pardn Ltd"></script>
<link rel="preload" href="https://cdn.jsdelivr.net/npm/code-prettify@0.1.0/styles/desert.min.css" as="style" crossorigin="anonymous">
<link href="https://cdn.jsdelivr.net/npm/code-prettify@0.1.0/styles/desert.min.css" rel="stylesheet">
<link rel="preload" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.5.2/css/all.min.css" as="style">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.5.2/css/all.min.css">
<link rel="preload" href="https://fonts.googleapis.com/css2?family=Orbitron:wght@400..900&display=swap" as="style" crossorigin="anonymous">
<link href="https://fonts.googleapis.com/css2?family=Orbitron:wght@400..900&display=swap" rel="stylesheet">
<!-- Local Resources -->
<link rel="stylesheet" href="./static/css/index.css">
<!-- JSON-LD Schema -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "WebPage",
"datePublished": "2024-11-29",
"dateModified": "2024-12-21",
"inLanguage": "zh-TW",
"name": {
"@language": "zh-TW",
"@value": "FlexPlyr 授權協議 - 模組化多風格播放器 - 邱敬幃 Pardn Chiu"
},
"alternateName": {
"@language": "en",
"@value": "FlexPlyr License Agreement - Modular Multi-style Media Player - Pardn Chiu"
},
"description": {
"@language": "zh-TW",
"@value": "FlexPlyr 是一款基於 JavaScript 的輕量級、多功能媒體播放器,支持 HTML5、YouTube 與 Vimeo,具備高度自定義控制面板與多種風格主題,為您的網站提供最佳播放體驗。"
},
"alternateDescription": {
"@language": "en",
"@value": "FlexPlyr is a lightweight, versatile media player based on JavaScript that supports HTML5, YouTube and Vimeo. It features highly customizable control panels and multiple style themes to provide the best playback experience for your website."
},
"url": [
"https://flexplyr.pardn.io/agreement.html",
"https://flexplyr.pardn.io/agreement.html?lang=zh",
"https://flexplyr.pardn.io/agreement.html?lang=en"
],
"creator": {
"@type": "Person",
"name": [
{
"@language": "zh-TW",
"@value": "邱敬幃"
},
{
"@language": "en",
"@value": "Pardn Chiu"
}
],
"url": "https://pardn.io/",
"sameAs": [
"https://github.com/pardnchiu"
],
"email": "dev@pardn.io"
},
"image": "https://flexplyr.pardn.io/static/image/website.jpg",
}
</script>
</head>
<body id="page">
<!-- -->
<nav>
<section>
<!-- -->
<section>
<a :href="./index.html?lang={{ lang }}">
<img src="./static/image/logo.svg" alt="">
<strong>FlexPlyr</strong>
</a>
</section>
<!-- -->
<section></section>
<!-- -->
<section></section>
</section>
</nav>
<section id="doc-body">
<section id="doc-body-content" class="pd-md-viewer"></section>
</section>
<footer>
<p>Created by <a href="https://github.com/pardnchiu" target="_blank">邱敬幃 Pardn Chiu</a></p>
<p><a href="https://github.com/pardnchiu/FlexPlyr" target="_blank">FlexPlyr</a> on GitHub</p>
<p>Render by <a href="https://quickui.pardn.io" target="_blank">QuickUI</a> and <a href="https://nanomd.pardn.io" target="_blank">NanoMD</a></p>
<p>© 2024</p>
</footer>
<a :href="./agreement.html?lang={{ change }}" class="lang">
<i class="fa-solid fa-globe"></i>
<span>{{ change }}</span>
</a>
<script>
document.addEventListener("DOMContentLoaded", _ => {
const url = new URL(location.href);
const currentLanguage = navigator.language || navigator.userLanguage;
let lang = url.searchParams.get("lang");
let isZh = /^zh/i.test(currentLanguage);
if (lang != null) {
isZh = /^zh/i.test(lang);
};
lang = isZh ? "zh" : "en";
const page = new QUI({
id: "page",
i18n: {
zh: {
title: "模組化影片/音訊播放器",
easy_to_use: "輕鬆嵌入到個人網站",
add_from_cdn: "只需從 cdn.jsdelivr.net 引入核心源碼",
use_js: "使用 JavaScript 代碼添加播放器",
h2: "多種不同風格的面板做選擇",
h2_content: "提供多種預設面板風格,方便快速使用<br>風格與按鈕皆可自訂",
drag: "可拖曳變換位置",
copy: "複製代碼",
stream: "支持 Vimeo / YouTube",
stream_content: "直接提供影片 ID 即可播放",
audio: "音源播放支援",
audio_content: "適合嵌入背景音樂或播客"
},
en: {
title: "Modular Media Player",
easy_to_use: "Easily Embed into Websites",
add_from_cdn: "Include the code from cdn.jsdelivr.net",
use_js: "Use JavaScript to add the player",
h2: "Multiple Panel Styles",
h2_content: "Various preset panel styles for quick use.<br>Both styles and buttons are customizable.",
drag: "Draggable to change position",
copy: "copy code",
stream: "Supports Vimeo / YouTube",
stream_content: "Provide the video ID to play",
audio: "Supports audio playback",
audio_content: "Ideal for embedding background music or podcasts"
},
},
i18nLang: isZh ? "zh" : "en",
data: {
lang: isZh ? "zh" : "en",
change: isZh ? "en" : "zh"
},
when: {
rendered: async _ => {
let pre = "";
await fetch("./static/md/" + (isZh ? "zh" : "en") + "/license.md")
.then(response => response.text())
.then(data => {
pre = data;
})
.catch(error => {
console.error(error);
});
editor = new MDViewer({
id: "doc-body-content",
emptyContent: pre,
style: {
fill: 0
}
});
}
}
});
});
</script>
</body>
</html>