Plugin Options
About 1 min
components
Type:
AvailableComponent[]
type AvailableComponent = | "ArtPlayer" | "AudioPlayer" | "Badge" | "BiliBili" | "CodePen" | "PDF" | "Replit" | "Share" | "StackBlitz" | "SiteInfo" | "VPBanner" | "VPCard" | "VidStack" | "VideoPlayer" | "XiGua" | "YouTube";
Default:
[]
Components to be registered.
Available component names:
"ArtPlayer"
"AudioPlayer"
"Badge"
"BiliBili"
"CodePen"
"PDF"
"Replit"
"Share"
"StackBlitz"
"SiteInfo"
"VPBanner"
"VPCard"
"VidStack"
"VideoPlayer"
"XiGua"
"YouTube"
componentsOptions
Global config for components.
componentsOptions.artPlayer
- Type:
ComponentsArtPlayerOptions
- Required: No
- Details:
componentsOptions.pdf.pdfjs
- Type:
string
- Required: No
- Details:
Location to pdfjs viewer.
componentsOptions.share.services
- Type:
(string | ShareService)[]
- Details:
Share services
componentsOptions.share.twitterUserName
- Type:
string
- Required: No
Twitter username.
locales
Component locales.
locales.pdf
Type:
PDFLocaleConfig
interface PDFLocaleData { /** * PDF hint text * * @description Only used if the browser does not support embedding PDF and no PDFJS URL is provided. * [url] will be replaced by actual PDF link. */ hint: string; } interface PDFLocaleConfig { [localePath: string]: PDFLocaleData; }
Required: No
Locales config for pdf component.
locales.siteInfo
Type:
SiteInfoLocaleConfig
interface SiteInfoLocaleData { /** * Source text * * 源代码文字 */ source: string; } interface SiteInfoLocaleConfig { [localePath: string]: SiteInfoLocaleData; }
Required: No
Locales config for site info component.
locales.vidstack
Type:
VidstackLocaleConfig
interface VidstackLocaleData { "Caption Styles": string; "Captions look like this": string; "Closed-Captions Off": string; "Closed-Captions On": string; "Display Background": string; "Enter Fullscreen": string; "Enter PiP": string; "Exit Fullscreen": string; "Exit PiP": string; "Google Cast": string; "Keyboard Animations": string; "Seek Backward": string; "Seek Forward": string; "Skip To Live": string; "Text Background": string; Accessibility: string; AirPlay: string; Announcements: string; Audio: string; Auto: string; Boost: string; Captions: string; Chapters: string; Color: string; Connected: string; Connecting: string; Continue: string; Default: string; Disabled: string; Disconnected: string; Download: string; Family: string; Font: string; Fullscreen: string; LIVE: string; Loop: string; Mute: string; Normal: string; Off: string; Opacity: string; Pause: string; PiP: string; Play: string; Playback: string; Quality: string; Replay: string; Reset: string; Seek: string; Settings: string; Shadow: string; Size: string; Speed: string; Text: string; Track: string; Unmute: string; Volume: string; } interface VidstackLocaleConfig { [localePath: string]: VidstackLocaleData; }
Required: No
Locales config for vidstack component.
Built-in Supported Languages
- Simplified Chinese (zh-CN)
- Traditional Chinese (zh-TW)
- English (United States) (en-US)
- German (de-DE)
- German (Australia) (de-AT)
- Russian (ru-RU)
- Ukrainian (uk-UA)
- Vietnamese (vi-VN)
- Portuguese (Brazil) (pt-BR)
- Polish (pl-PL)
- French (fr-FR)
- Spanish (es-ES)
- Slovak (sk-SK)
- Japanese (ja-JP)
- Turkish (tr-TR)
- Korean (ko-KR)
- Finnish (fi-FI)
- Indonesian (id-ID)
- Dutch (nl-NL)
Changelog
2/10/25, 11:25 AM
View All Changelog
dd4a8
-onea175
-on71048
-on9bd48
-ona50a4
-on2f66e
-on05c41
-on8f594
-on0739c
-on0f844
-ondfc52
-ond3b16
-on3d75e
-onc887b
-on6136a
-on79d68
-on42090
-ona7a28
-on12ecd
-one08cc
-onaddb6
-on34f79
-on9b72f
-on760c6
-on8902d
-onedf2d
-on27c6a
-on869de
-on4104e
-on3cdac
-on1c52f
-on15ee5
-on7cd56
-on20622
-onaafb1
-onae2d2
-on69cce
-on563e2
-on2a9e9
-ond28b6
-on6639c
-on2243a
-on9fcf5
-on84771
-on2788c
-on5d62e
-on01612
-on80eb7
-on22c53
-onf732e
-onc10f5
-onb51bf
-on5cc7a
-onb34cb
-on48bca
-on07909
-on1e4eb
-on73de5
-on3e855
-on716f9
-on92c11
-on8dc9f
-on2d779
-one7f0c
-onba517
-on0cb0b
-on