diff --git a/packages/griffith/README-zh-Hans.md b/packages/griffith/README-zh-Hans.md
index 78f847c4..7071e765 100644
--- a/packages/griffith/README-zh-Hans.md
+++ b/packages/griffith/README-zh-Hans.md
@@ -37,7 +37,7 @@ render()
```ts
interface sources {
- [key in ('ld' | 'sd' | 'hd')]: {
+ [key in ('ld' | 'sd' | 'hd' | 'fhd')]: {
bitrate?: number
duration?: number
format?: string
diff --git a/packages/griffith/README.md b/packages/griffith/README.md
index 92a4b053..c3cbc878 100644
--- a/packages/griffith/README.md
+++ b/packages/griffith/README.md
@@ -38,7 +38,7 @@ render()
```ts
interface sources {
- [key in ('ld' | 'sd' | 'hd')]: {
+ [key in ('ld' | 'sd' | 'hd' | 'fhd')]: {
bitrate?: number
duration?: number
format?: string
diff --git a/packages/griffith/index.d.ts b/packages/griffith/index.d.ts
index 53a8cf97..3585e6fa 100644
--- a/packages/griffith/index.d.ts
+++ b/packages/griffith/index.d.ts
@@ -1,6 +1,6 @@
import React from 'react'
-type RealQuality = 'ld' | 'sd' | 'hd'
+type RealQuality = 'ld' | 'sd' | 'hd' | 'fhd'
interface PlaySource {
bitrate: number
diff --git a/packages/griffith/src/components/Controller/items/QualityMenuItem.js b/packages/griffith/src/components/Controller/items/QualityMenuItem.js
index b6d718ad..67f18140 100644
--- a/packages/griffith/src/components/Controller/items/QualityMenuItem.js
+++ b/packages/griffith/src/components/Controller/items/QualityMenuItem.js
@@ -12,6 +12,7 @@ const QUALITIES = {
ld: 'quality-ld',
sd: 'quality-sd',
hd: 'quality-hd',
+ fhd: 'quality-fhd',
}
class QualityMenuItem extends React.PureComponent {
diff --git a/packages/griffith/src/components/TranslatedText/strings.js b/packages/griffith/src/components/TranslatedText/strings.js
index d189beaa..f45fc1b7 100644
--- a/packages/griffith/src/components/TranslatedText/strings.js
+++ b/packages/griffith/src/components/TranslatedText/strings.js
@@ -4,6 +4,7 @@ export default {
'quality-ld': 'LD',
'quality-sd': 'SD',
'quality-hd': 'HD',
+ 'quality-fhd': 'FHD',
'action-enter-fullscreen': 'Fullscreen',
'action-exit-fullscreen': 'Exit Fullscreen',
'action-enter-pip': 'Picture in Picture',
@@ -14,6 +15,7 @@ export default {
'quality-ld': '低画質',
'quality-sd': '標準画質',
'quality-hd': '高画質',
+ 'quality-fhd': '超高画質',
'action-enter-fullscreen': '全画面',
'action-exit-fullscreen': '全画面終了',
'action-enter-pip': 'ピクチャーインピクチャー',
@@ -24,7 +26,8 @@ export default {
'quality-auto': '自动',
'quality-ld': '低清',
'quality-sd': '标清',
- 'quality-hd': '超清',
+ 'quality-hd': '高清',
+ 'quality-fhd': '超清',
'action-enter-fullscreen': '全屏',
'action-exit-fullscreen': '退出全屏',
'action-enter-pip': '画中画',
@@ -36,6 +39,7 @@ export default {
'quality-ld': '低畫質',
'quality-sd': '標準畫質',
'quality-hd': '高畫質',
+ 'quality-fhd': '超高畫質',
'action-enter-fullscreen': '全螢幕',
'action-exit-fullscreen': '結束全螢幕',
'action-enter-pip': '子母畫面',
diff --git a/packages/griffith/src/contexts/VideoSource/parsePlaylist.js b/packages/griffith/src/contexts/VideoSource/parsePlaylist.js
index 454bcfbe..dedc63db 100644
--- a/packages/griffith/src/contexts/VideoSource/parsePlaylist.js
+++ b/packages/griffith/src/contexts/VideoSource/parsePlaylist.js
@@ -1,4 +1,4 @@
-const QUALITY_ORDER = ['ld', 'sd', 'hd']
+const QUALITY_ORDER = ['ld', 'sd', 'hd', 'fhd']
export const getQualities = (sources, isMobile) => {
const qualities = Object.keys(sources).sort(
diff --git a/website/md/usage.md b/website/md/usage.md
index 5289ae44..3c7dcf23 100644
--- a/website/md/usage.md
+++ b/website/md/usage.md
@@ -30,7 +30,7 @@ render()
```ts
interface sources {
- [key in ('ld' | 'sd' | 'hd')]: {
+ [key in ('ld' | 'sd' | 'hd' | 'fhd')]: {
bitrate?: number
duration?: number
format?: string