mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-21 04:31:20 -08:00
Danmuku (#759)
* chore: Bump artplayer-plugin-danmuku version to 5.1.0 * chore: Update danmuku plugin with new mount option * chore: Update danmuku plugin with new mount option * chore: Update danmuku plugin with new mount option * chore: Update danmuku plugin with new mount option * chore: Update danmuku plugin with new mount option * chore: Update danmuku plugin with new mount option * chore: Refactor getDanmuTop function to handle additional cases * chore: Refactor getDanmuTop function to handle additional cases * chore: Update danmuku plugin with new mount option * chore: Update danmuku plugin with new mount option * chore: Refactor danmuku plugin to always create a new Setting instance * Refactor danmuku plugin to always create a new Setting instance * Refactor danmuku plugin to always create a new Setting instance * Update danmuku.js * Update danmuku.js * Refactor danmuku plugin to include a new Setting instance * Refactor danmuku plugin to include a new Setting instance * Refactor danmuku plugin styles for better alignment and spacing * Refactor danmuku plugin styles for better alignment and spacing * Refactor danmuku plugin styles for better alignment and spacing * Refactor danmuku plugin styles for better alignment and spacing * Refactor danmuku plugin styles for better alignment and spacing * chore: Update package.json files * Refactor danmuku plugin to remove unnecessary whitespace in the setting template * chore: Remove ESLint configuration files and update npm dependencies * chore: Update ESLint configuration to disable console warnings and fix unused variable warnings * chore: Update ESLint configuration to fix quotes rule * Update package.json * Update package.json * Update setting.js * chore: Compress CSS code in build script * chore: Update build script to compress JavaScript code * chore: Update build script to compress JavaScript code * chore: Refactor setting.js to improve code organization and remove unused variables * chore: Add isHover flag to Control component for better control hiding behavior * chore: Update Control component to use $bottom instead of $controls for better control hiding behavior * Update package.json * Update package.json * Update package.json * chore: Update lerna.json to use independent versioning and yarn as npm client * refactor: Update Danmuku class to support configurable modes and visibility * refactor: Update Danmuku styles for better visibility and configurability * feat: Update font weight in Danmuku styles for better readability * refactor: Update Danmuku class to support configurable modes and visibility * refactor: Add opacity, area, font, and speed sliders to Danmuku settings * refactor: Initialize sliders for opacity, area, font, and speed in Danmuku settings * feat: Add slider UI for opacity, area, and speed in Danmuku settings * feat: Update slider styles in Danmuku settings for better visibility and configurability * refactor: Improve Danmuku settings UI for better visibility and configurability * refactor: Improve Danmuku settings UI for better visibility and configurability * refactor: Update slider styles in Danmuku settings for better visibility and configurability * refactor: Update margin slider initialization in Danmuku settings * refactor: Update slider styles and initialization in Danmuku settings * refactor: Update Danmuku class to support configurable visibility * refactor: Update Danmuku class to support configurable visibility * refactor: Update Danmuku class to support configurable visibility * refactor: Update Danmuku class to support configurable visibility * refactor: Update Danmuku settings UI for better visibility and configurability * refactor: Update Danmuku settings UI for better visibility and configurability * refactor: Update Danmuku settings UI for better visibility and configurability * refactor: Update Danmuku settings UI for better visibility and configurability * refactor: Improve Danmuku settings UI for better visibility and configurability * add lock * refactor: Add lock and unlock methods to Danmuku settings * refactor: Update Danmuku settings UI for better visibility and configurability * refactor: Update Danmuku settings UI for better visibility and configurability * refactor: Update Danmuku settings UI for better visibility and configurability * refactor: Update Danmuku settings UI for better visibility and configurability * Update artplayer-plugin-danmuku.d.ts * refactor: Update Danmuku settings UI for better visibility and configurability * refactor: Update Danmuku settings UI for better visibility and configurability * refactor: Update Danmuku settings UI for better visibility and configurability * refactor: Update Danmuku settings UI for better visibility and configurability * refactor: Update Danmuku settings event listeners * refactor: Update Danmuku settings UI for better visibility and configurability * refactor: Update Danmuku settings UI for better visibility and configurability * refactor: Update Danmuku settings UI for better visibility and configurability * refactor: Update Danmuku settings UI for better visibility and configurability
This commit is contained in:
1 parent
dfd1cf968d
commit
699135afcf
402 files changed
+20804
-17005
No files matched your search
@@ -1,4 +1,4 @@
|
||||
import { errorHandle, addClass, removeClass, isMobile, sleep } from '../utils';
|
||||
import { errorHandle, addClass, removeClass, isMobile, sleep, includeFromEvent } from '../utils';
|
||||
import Component from '../utils/component';
|
||||
import fullscreen from './fullscreen';
|
||||
import fullscreenWeb from './fullscreenWeb';
|
||||
@@ -16,11 +16,12 @@ export default class Control extends Component {
|
||||
constructor(art) {
|
||||
super(art);
|
||||
|
||||
this.isHover = false;
|
||||
this.name = 'control';
|
||||
this.timer = Date.now();
|
||||
|
||||
const { constructor } = art;
|
||||
const { $player } = this.art.template;
|
||||
const { $player, $bottom } = this.art.template;
|
||||
|
||||
art.on('mousemove', () => {
|
||||
if (!isMobile) {
|
||||
@@ -36,8 +37,19 @@ export default class Control extends Component {
|
||||
}
|
||||
});
|
||||
|
||||
art.on('document:mousemove', (event) => {
|
||||
this.isHover = includeFromEvent(event, $bottom);
|
||||
});
|
||||
|
||||
art.on('video:timeupdate', () => {
|
||||
if (!art.isInput && art.playing && this.show && Date.now() - this.timer >= constructor.CONTROL_HIDE_TIME) {
|
||||
if (
|
||||
!art.setting.show &&
|
||||
!this.isHover &&
|
||||
!art.isInput &&
|
||||
art.playing &&
|
||||
this.show &&
|
||||
Date.now() - this.timer >= constructor.CONTROL_HIDE_TIME
|
||||
) {
|
||||
this.show = false;
|
||||
}
|
||||
});
|
||||
|
||||
@@ -43,7 +43,16 @@ export default class Hotkey {
|
||||
if (this.art.isFocus) {
|
||||
const tag = document.activeElement.tagName.toUpperCase();
|
||||
const editable = document.activeElement.getAttribute('contenteditable');
|
||||
if (tag !== 'INPUT' && tag !== 'TEXTAREA' && editable !== '' && editable !== 'true' && !event.altKey && !event.ctrlKey && !event.metaKey && !event.shiftKey) {
|
||||
if (
|
||||
tag !== 'INPUT' &&
|
||||
tag !== 'TEXTAREA' &&
|
||||
editable !== '' &&
|
||||
editable !== 'true' &&
|
||||
!event.altKey &&
|
||||
!event.ctrlKey &&
|
||||
!event.metaKey &&
|
||||
!event.shiftKey
|
||||
) {
|
||||
const events = this.keys[event.keyCode];
|
||||
if (events) {
|
||||
event.preventDefault();
|
||||
|
||||
@@ -1,44 +1,44 @@
|
||||
const cs = {
|
||||
"Video Info": "Info o videu",
|
||||
"Close": "Zavřít",
|
||||
"Video Load Failed": "Nahrání videa selhalo",
|
||||
"Volume": "Hlasitost",
|
||||
"Play": "Přehrát",
|
||||
"Pause": "Pozastavit",
|
||||
"Rate": "Hodnocení",
|
||||
"Mute": "Ztlumit",
|
||||
"Video Flip": "Otočit video",
|
||||
"Horizontal": "Horizontálně",
|
||||
"Vertical": "Vertikálně",
|
||||
"Reconnect": "Opětovné připojení",
|
||||
"Show Setting": "Zobrazit nastavení",
|
||||
"Hide Setting": "Skrýt nastavení",
|
||||
"Screenshot": "Snímek obrazovky",
|
||||
"Play Speed": "Rychlost přehrávání",
|
||||
"Aspect Ratio": "Poměr stran",
|
||||
"Default": "Výchozí",
|
||||
"Normal": "Normální",
|
||||
"Open": "Otevřít",
|
||||
"Switch Video": "Přepnout video",
|
||||
"Switch Subtitle": "Přepnout titulky",
|
||||
"Fullscreen": "Celá obrazovka",
|
||||
"Exit Fullscreen": "Opustit režim celé obrazovky",
|
||||
"Web Fullscreen": "Celá stránka",
|
||||
"Exit Web Fullscreen": "Zavřít režim celé stránky",
|
||||
"Mini Player": "Mini přehrávač",
|
||||
"PIP Mode": "Režim PIP",
|
||||
"Exit PIP Mode": "Opustit režim PIP",
|
||||
"PIP Not Supported": "Režim PIP není podporován",
|
||||
"Fullscreen Not Supported": "Režim celé obrazovky není podporován",
|
||||
"Subtitle Offset": "Posun titulků",
|
||||
"Last Seen": "Naposledy viděn",
|
||||
"Jump Play": "Hra na skok",
|
||||
"AirPlay": "AirPlay",
|
||||
"AirPlay Not Available": "AirPlay není k dispozici"
|
||||
}
|
||||
'Video Info': 'Info o videu',
|
||||
Close: 'Zavřít',
|
||||
'Video Load Failed': 'Nahrání videa selhalo',
|
||||
Volume: 'Hlasitost',
|
||||
Play: 'Přehrát',
|
||||
Pause: 'Pozastavit',
|
||||
Rate: 'Hodnocení',
|
||||
Mute: 'Ztlumit',
|
||||
'Video Flip': 'Otočit video',
|
||||
Horizontal: 'Horizontálně',
|
||||
Vertical: 'Vertikálně',
|
||||
Reconnect: 'Opětovné připojení',
|
||||
'Show Setting': 'Zobrazit nastavení',
|
||||
'Hide Setting': 'Skrýt nastavení',
|
||||
Screenshot: 'Snímek obrazovky',
|
||||
'Play Speed': 'Rychlost přehrávání',
|
||||
'Aspect Ratio': 'Poměr stran',
|
||||
Default: 'Výchozí',
|
||||
Normal: 'Normální',
|
||||
Open: 'Otevřít',
|
||||
'Switch Video': 'Přepnout video',
|
||||
'Switch Subtitle': 'Přepnout titulky',
|
||||
Fullscreen: 'Celá obrazovka',
|
||||
'Exit Fullscreen': 'Opustit režim celé obrazovky',
|
||||
'Web Fullscreen': 'Celá stránka',
|
||||
'Exit Web Fullscreen': 'Zavřít režim celé stránky',
|
||||
'Mini Player': 'Mini přehrávač',
|
||||
'PIP Mode': 'Režim PIP',
|
||||
'Exit PIP Mode': 'Opustit režim PIP',
|
||||
'PIP Not Supported': 'Režim PIP není podporován',
|
||||
'Fullscreen Not Supported': 'Režim celé obrazovky není podporován',
|
||||
'Subtitle Offset': 'Posun titulků',
|
||||
'Last Seen': 'Naposledy viděn',
|
||||
'Jump Play': 'Hra na skok',
|
||||
AirPlay: 'AirPlay',
|
||||
'AirPlay Not Available': 'AirPlay není k dispozici',
|
||||
};
|
||||
|
||||
export default cs;
|
||||
|
||||
if (typeof window !== 'undefined') {
|
||||
window['artplayer-i18n-cs'] = cs;
|
||||
}
|
||||
}
|
||||
@@ -1,44 +1,44 @@
|
||||
const es = {
|
||||
"Video Info": "Información del video",
|
||||
"Close": "Cerrar",
|
||||
"Video Load Failed": "Falló carga de video",
|
||||
"Volume": "Volumen",
|
||||
"Play": "Reproduciendo",
|
||||
"Pause": "Pausa",
|
||||
"Rate": "Velocidad",
|
||||
"Mute": "Silencio",
|
||||
"Video Flip": "Rotar video",
|
||||
"Horizontal": "Horizontal",
|
||||
"Vertical": "Vertical",
|
||||
"Reconnect": "Reconectando",
|
||||
"Show Setting": "Mostrar ajustes",
|
||||
"Hide Setting": "Ocultar ajustes",
|
||||
"Screenshot": "Captura de Pantalla",
|
||||
"Play Speed": "Velocidad de reproducción",
|
||||
"Aspect Ratio": "Relación de aspecto",
|
||||
"Default": "Por defecto",
|
||||
"Normal": "Normal",
|
||||
"Open": "Abrir",
|
||||
"Switch Video": "Cambiar video",
|
||||
"Switch Subtitle": "Cambiar subtítulo",
|
||||
"Fullscreen": "Pantalla completa",
|
||||
"Exit Fullscreen": "Salir de Pantalla completa",
|
||||
"Web Fullscreen": "Pantalla completa Web",
|
||||
"Exit Web Fullscreen": "Salir de Pantalla completa",
|
||||
"Mini Player": "Mini reproductor",
|
||||
"PIP Mode": "Modo PiP",
|
||||
"Exit PIP Mode": "Cerrar modo PiP",
|
||||
"PIP Not Supported": "Modo PiP no compatible",
|
||||
"Fullscreen Not Supported": "Pantalla completa no soportada",
|
||||
"Subtitle Offset": "Ajuste subtítulo",
|
||||
"Last Seen": "Visto última vez",
|
||||
"Jump Play": "Saltar",
|
||||
"AirPlay": "AirPlay",
|
||||
"AirPlay Not Available": "AirPlay no disponible"
|
||||
}
|
||||
'Video Info': 'Información del video',
|
||||
Close: 'Cerrar',
|
||||
'Video Load Failed': 'Falló carga de video',
|
||||
Volume: 'Volumen',
|
||||
Play: 'Reproduciendo',
|
||||
Pause: 'Pausa',
|
||||
Rate: 'Velocidad',
|
||||
Mute: 'Silencio',
|
||||
'Video Flip': 'Rotar video',
|
||||
Horizontal: 'Horizontal',
|
||||
Vertical: 'Vertical',
|
||||
Reconnect: 'Reconectando',
|
||||
'Show Setting': 'Mostrar ajustes',
|
||||
'Hide Setting': 'Ocultar ajustes',
|
||||
Screenshot: 'Captura de Pantalla',
|
||||
'Play Speed': 'Velocidad de reproducción',
|
||||
'Aspect Ratio': 'Relación de aspecto',
|
||||
Default: 'Por defecto',
|
||||
Normal: 'Normal',
|
||||
Open: 'Abrir',
|
||||
'Switch Video': 'Cambiar video',
|
||||
'Switch Subtitle': 'Cambiar subtítulo',
|
||||
Fullscreen: 'Pantalla completa',
|
||||
'Exit Fullscreen': 'Salir de Pantalla completa',
|
||||
'Web Fullscreen': 'Pantalla completa Web',
|
||||
'Exit Web Fullscreen': 'Salir de Pantalla completa',
|
||||
'Mini Player': 'Mini reproductor',
|
||||
'PIP Mode': 'Modo PiP',
|
||||
'Exit PIP Mode': 'Cerrar modo PiP',
|
||||
'PIP Not Supported': 'Modo PiP no compatible',
|
||||
'Fullscreen Not Supported': 'Pantalla completa no soportada',
|
||||
'Subtitle Offset': 'Ajuste subtítulo',
|
||||
'Last Seen': 'Visto última vez',
|
||||
'Jump Play': 'Saltar',
|
||||
AirPlay: 'AirPlay',
|
||||
'AirPlay Not Available': 'AirPlay no disponible',
|
||||
};
|
||||
|
||||
export default es;
|
||||
|
||||
if (typeof window !== 'undefined') {
|
||||
window['artplayer-i18n-es'] = es;
|
||||
}
|
||||
}
|
||||
@@ -1,44 +1,44 @@
|
||||
const fa = {
|
||||
"Video Info": "اطلاعات ویدیو",
|
||||
"Close": "بستن",
|
||||
"Video Load Failed": "بارگذاری ناموفق",
|
||||
"Play": "پخش",
|
||||
"Volume": "میزان صدا",
|
||||
"Pause": "توقف",
|
||||
"Rate": "نرخ",
|
||||
"Mute": "سکوت",
|
||||
"Video Flip": "چرخش تصویر",
|
||||
"Horizontal": "افقی",
|
||||
"Vertical": "عمودی",
|
||||
"Reconnect": "اتصال مجدد",
|
||||
"Show Setting": "تنظیمات",
|
||||
"Hide Setting": "بستن تنظیمات",
|
||||
"Screenshot": "عکس از صفحه",
|
||||
"Play Speed": "سرعت پخش",
|
||||
"Aspect Ratio": "نسبت تصویر",
|
||||
"Default": "حالت پیشفرض",
|
||||
"Normal": " حالت عادی",
|
||||
"Open": "بازکردن",
|
||||
"Switch Video": "تغییر ویدیو",
|
||||
"Switch Subtitle": "نغییر زیرنویس",
|
||||
"Fullscreen": "تمام صفحه",
|
||||
"Exit Fullscreen": "کوچک کردن",
|
||||
"Web Fullscreen": "حالت تئاتر",
|
||||
"Exit Web Fullscreen": "خروج از حالت تئاتر",
|
||||
"Mini Player": "حالت پخش کوچک",
|
||||
"PIP Mode": " مینی پلیر",
|
||||
"Exit PIP Mode": "خروج از مینی پلیر",
|
||||
"PIP Not Supported": "عدم پشتیبانی از مینی پلیر",
|
||||
"Fullscreen Not Supported": "عدم پشتیبانی از حالت تمام صفحه",
|
||||
"Subtitle Offset": "افست زیرنویس",
|
||||
"Last Seen": "آخرین بازدید",
|
||||
"Jump Play": "جامپ پلی",
|
||||
"AirPlay": "ایر پلی",
|
||||
"AirPlay Not Available": "عدم پشتیبانی از ایرپلی"
|
||||
}
|
||||
'Video Info': 'اطلاعات ویدیو',
|
||||
Close: 'بستن',
|
||||
'Video Load Failed': 'بارگذاری ناموفق',
|
||||
Play: 'پخش',
|
||||
Volume: 'میزان صدا',
|
||||
Pause: 'توقف',
|
||||
Rate: 'نرخ',
|
||||
Mute: 'سکوت',
|
||||
'Video Flip': 'چرخش تصویر',
|
||||
Horizontal: 'افقی',
|
||||
Vertical: 'عمودی',
|
||||
Reconnect: 'اتصال مجدد',
|
||||
'Show Setting': 'تنظیمات',
|
||||
'Hide Setting': 'بستن تنظیمات',
|
||||
Screenshot: 'عکس از صفحه',
|
||||
'Play Speed': 'سرعت پخش',
|
||||
'Aspect Ratio': 'نسبت تصویر',
|
||||
Default: 'حالت پیشفرض',
|
||||
Normal: ' حالت عادی',
|
||||
Open: 'بازکردن',
|
||||
'Switch Video': 'تغییر ویدیو',
|
||||
'Switch Subtitle': 'نغییر زیرنویس',
|
||||
Fullscreen: 'تمام صفحه',
|
||||
'Exit Fullscreen': 'کوچک کردن',
|
||||
'Web Fullscreen': 'حالت تئاتر',
|
||||
'Exit Web Fullscreen': 'خروج از حالت تئاتر',
|
||||
'Mini Player': 'حالت پخش کوچک',
|
||||
'PIP Mode': ' مینی پلیر',
|
||||
'Exit PIP Mode': 'خروج از مینی پلیر',
|
||||
'PIP Not Supported': 'عدم پشتیبانی از مینی پلیر',
|
||||
'Fullscreen Not Supported': 'عدم پشتیبانی از حالت تمام صفحه',
|
||||
'Subtitle Offset': 'افست زیرنویس',
|
||||
'Last Seen': 'آخرین بازدید',
|
||||
'Jump Play': 'جامپ پلی',
|
||||
AirPlay: 'ایر پلی',
|
||||
'AirPlay Not Available': 'عدم پشتیبانی از ایرپلی',
|
||||
};
|
||||
|
||||
export default fa;
|
||||
|
||||
if (typeof window !== 'undefined') {
|
||||
window['artplayer-i18n-fa'] = fa;
|
||||
}
|
||||
}
|
||||
@@ -1,44 +1,44 @@
|
||||
const fr = {
|
||||
"Video Info": "Informations de la vidéo",
|
||||
"Close": "Fermer",
|
||||
"Video Load Failed": "Téléchargement de la vidéo échoué",
|
||||
"Volume": "Volume",
|
||||
"Play": "Lire",
|
||||
"Pause": "Pause",
|
||||
"Rate": "Vitesse",
|
||||
"Mute": "Muet",
|
||||
"Video Flip": "Rotation de la vidéo",
|
||||
"Horizontal": "Horizontal",
|
||||
"Vertical": "Vertical",
|
||||
"Reconnect": "Reconnexion",
|
||||
"Show Setting": "Afficher les paramètres",
|
||||
"Hide Setting": "Cacher les paramètres",
|
||||
"Screenshot": "Capture d'écran",
|
||||
"Play Speed": "Vitesse de lecture",
|
||||
"Aspect Ratio": "Rapport d'aspect",
|
||||
"Default": "Défaut",
|
||||
"Normal": "Normal",
|
||||
"Open": "Ouvrir",
|
||||
"Switch Video": "Basculer la vidéo",
|
||||
"Switch Subtitle": "Basculer le sous-titre",
|
||||
"Fullscreen": "Plein écran",
|
||||
"Exit Fullscreen": "Quitter le plein écran",
|
||||
"Web Fullscreen": "Plein écran Web",
|
||||
"Exit Web Fullscreen": "Quitter le plein écran Web",
|
||||
"Mini Player": "Mini lecteur",
|
||||
"PIP Mode": "Mode PiP",
|
||||
"Exit PIP Mode": "Fermer le mode PiP",
|
||||
"PIP Not Supported": "Mode PiP non supporté",
|
||||
"Fullscreen Not Supported": "Plein écran non supporté",
|
||||
"Subtitle Offset": "Réglage des sous-titres",
|
||||
"Last Seen": "Dernière position",
|
||||
"Jump Play": "Continuer",
|
||||
"AirPlay": "AirPlay",
|
||||
"AirPlay Not Available": "AirPlay non disponible"
|
||||
}
|
||||
'Video Info': 'Informations de la vidéo',
|
||||
Close: 'Fermer',
|
||||
'Video Load Failed': 'Téléchargement de la vidéo échoué',
|
||||
Volume: 'Volume',
|
||||
Play: 'Lire',
|
||||
Pause: 'Pause',
|
||||
Rate: 'Vitesse',
|
||||
Mute: 'Muet',
|
||||
'Video Flip': 'Rotation de la vidéo',
|
||||
Horizontal: 'Horizontal',
|
||||
Vertical: 'Vertical',
|
||||
Reconnect: 'Reconnexion',
|
||||
'Show Setting': 'Afficher les paramètres',
|
||||
'Hide Setting': 'Cacher les paramètres',
|
||||
Screenshot: "Capture d'écran",
|
||||
'Play Speed': 'Vitesse de lecture',
|
||||
'Aspect Ratio': "Rapport d'aspect",
|
||||
Default: 'Défaut',
|
||||
Normal: 'Normal',
|
||||
Open: 'Ouvrir',
|
||||
'Switch Video': 'Basculer la vidéo',
|
||||
'Switch Subtitle': 'Basculer le sous-titre',
|
||||
Fullscreen: 'Plein écran',
|
||||
'Exit Fullscreen': 'Quitter le plein écran',
|
||||
'Web Fullscreen': 'Plein écran Web',
|
||||
'Exit Web Fullscreen': 'Quitter le plein écran Web',
|
||||
'Mini Player': 'Mini lecteur',
|
||||
'PIP Mode': 'Mode PiP',
|
||||
'Exit PIP Mode': 'Fermer le mode PiP',
|
||||
'PIP Not Supported': 'Mode PiP non supporté',
|
||||
'Fullscreen Not Supported': 'Plein écran non supporté',
|
||||
'Subtitle Offset': 'Réglage des sous-titres',
|
||||
'Last Seen': 'Dernière position',
|
||||
'Jump Play': 'Continuer',
|
||||
AirPlay: 'AirPlay',
|
||||
'AirPlay Not Available': 'AirPlay non disponible',
|
||||
};
|
||||
|
||||
export default fr;
|
||||
|
||||
if (typeof window !== 'undefined') {
|
||||
window['artplayer-i18n-fr'] = fr;
|
||||
}
|
||||
}
|
||||
@@ -1,44 +1,44 @@
|
||||
const id = {
|
||||
"Video Info": "Informasi Video",
|
||||
"Close": "Tutup",
|
||||
"Video Load Failed": "Gagal Memuat Video",
|
||||
"Volume": "Volume",
|
||||
"Play": "Putar",
|
||||
"Pause": "Jeda",
|
||||
"Rate": "Kecepatan",
|
||||
"Mute": "Senyap",
|
||||
"Video Flip": "Memutar Video",
|
||||
"Horizontal": "Horizontal",
|
||||
"Vertical": "Vertikal",
|
||||
"Reconnect": "Menyambung Kembali",
|
||||
"Show Setting": "Tampilkan Pengaturan",
|
||||
"Hide Setting": "Sembunyikan Pengaturan",
|
||||
"Screenshot": "Tangkapan Layar",
|
||||
"Play Speed": "Kecepatan Putar",
|
||||
"Aspect Ratio": "Rasio Aspek",
|
||||
"Default": "Default",
|
||||
"Normal": "Normal",
|
||||
"Open": "Buka",
|
||||
"Switch Video": "Ganti Video",
|
||||
"Switch Subtitle": "Ganti Subtitle",
|
||||
"Fullscreen": "Layar Penuh",
|
||||
"Exit Fullscreen": "Keluar dari Layar Penuh",
|
||||
"Web Fullscreen": "Layar Penuh Web",
|
||||
"Exit Web Fullscreen": "Keluar dari Layar Penuh Web",
|
||||
"Mini Player": "Pemutar Mini",
|
||||
"PIP Mode": "Mode PIP",
|
||||
"Exit PIP Mode": "Keluar dari Mode PIP",
|
||||
"PIP Not Supported": "PIP Tidak Didukung",
|
||||
"Fullscreen Not Supported": "Layar Penuh Tidak Didukung",
|
||||
"Subtitle Offset": "Pergeseran Subtitle",
|
||||
"Last Seen": "Terakhir Dilihat",
|
||||
"Jump Play": "Lompat Putar",
|
||||
"AirPlay": "AirPlay",
|
||||
"AirPlay Not Available": "AirPlay Tidak Tersedia"
|
||||
}
|
||||
'Video Info': 'Informasi Video',
|
||||
Close: 'Tutup',
|
||||
'Video Load Failed': 'Gagal Memuat Video',
|
||||
Volume: 'Volume',
|
||||
Play: 'Putar',
|
||||
Pause: 'Jeda',
|
||||
Rate: 'Kecepatan',
|
||||
Mute: 'Senyap',
|
||||
'Video Flip': 'Memutar Video',
|
||||
Horizontal: 'Horizontal',
|
||||
Vertical: 'Vertikal',
|
||||
Reconnect: 'Menyambung Kembali',
|
||||
'Show Setting': 'Tampilkan Pengaturan',
|
||||
'Hide Setting': 'Sembunyikan Pengaturan',
|
||||
Screenshot: 'Tangkapan Layar',
|
||||
'Play Speed': 'Kecepatan Putar',
|
||||
'Aspect Ratio': 'Rasio Aspek',
|
||||
Default: 'Default',
|
||||
Normal: 'Normal',
|
||||
Open: 'Buka',
|
||||
'Switch Video': 'Ganti Video',
|
||||
'Switch Subtitle': 'Ganti Subtitle',
|
||||
Fullscreen: 'Layar Penuh',
|
||||
'Exit Fullscreen': 'Keluar dari Layar Penuh',
|
||||
'Web Fullscreen': 'Layar Penuh Web',
|
||||
'Exit Web Fullscreen': 'Keluar dari Layar Penuh Web',
|
||||
'Mini Player': 'Pemutar Mini',
|
||||
'PIP Mode': 'Mode PIP',
|
||||
'Exit PIP Mode': 'Keluar dari Mode PIP',
|
||||
'PIP Not Supported': 'PIP Tidak Didukung',
|
||||
'Fullscreen Not Supported': 'Layar Penuh Tidak Didukung',
|
||||
'Subtitle Offset': 'Pergeseran Subtitle',
|
||||
'Last Seen': 'Terakhir Dilihat',
|
||||
'Jump Play': 'Lompat Putar',
|
||||
AirPlay: 'AirPlay',
|
||||
'AirPlay Not Available': 'AirPlay Tidak Tersedia',
|
||||
};
|
||||
|
||||
export default id;
|
||||
|
||||
if (typeof window !== 'undefined') {
|
||||
window['artplayer-i18n-id'] = id;
|
||||
}
|
||||
}
|
||||
@@ -1,44 +1,44 @@
|
||||
const pl = {
|
||||
"Video Info": "Informacje o wideo",
|
||||
"Close": "Zamknij",
|
||||
"Video Load Failed": "Błąd ładowania wideo",
|
||||
"Volume": "Głośność",
|
||||
"Play": "Odtwórz",
|
||||
"Pause": "Wstrzymaj",
|
||||
"Rate": "Oceń",
|
||||
"Mute": "Wycisz",
|
||||
"Video Flip": "Rotacja wideo",
|
||||
"Horizontal": "Pozioma",
|
||||
"Vertical": "Pionowa",
|
||||
"Reconnect": "Połącz ponownie",
|
||||
"Show Setting": "Pokaż ustawienia",
|
||||
"Hide Setting": "Ukryj ustawienia",
|
||||
"Screenshot": "Zrzut ekranu",
|
||||
"Play Speed": "Prędkość odtwarzania",
|
||||
"Aspect Ratio": "Współczynnik proporcji",
|
||||
"Default": "Domyślny",
|
||||
"Normal": "Normalny",
|
||||
"Open": "Otwórz",
|
||||
"Switch Video": "Przełącz wideo",
|
||||
"Switch Subtitle": "Przełącz napisy",
|
||||
"Fullscreen": "Pełny ekran",
|
||||
"Exit Fullscreen": "Zamknij pełny ekran",
|
||||
"Web Fullscreen": "Tryb pełnej strony",
|
||||
"Exit Web Fullscreen": "Zamknij tryb pełnej strony",
|
||||
"Mini Player": "Miniodtwarzacz",
|
||||
"PIP Mode": "Tryb PiP",
|
||||
"Exit PIP Mode": "Zamknij tryb PiP",
|
||||
"PIP Not Supported": "Tryb PiP nieobsługiwany",
|
||||
"Fullscreen Not Supported": "Pełny ekran nieobsługiwany",
|
||||
"Subtitle Offset": "Przesunięcie napisów",
|
||||
"Last Seen": "Ostatnio widziany",
|
||||
"Jump Play": "Skocz do gry",
|
||||
"AirPlay": "AirPlay",
|
||||
"AirPlay Not Available": "AirPlay nie jest dostępny"
|
||||
}
|
||||
'Video Info': 'Informacje o wideo',
|
||||
Close: 'Zamknij',
|
||||
'Video Load Failed': 'Błąd ładowania wideo',
|
||||
Volume: 'Głośność',
|
||||
Play: 'Odtwórz',
|
||||
Pause: 'Wstrzymaj',
|
||||
Rate: 'Oceń',
|
||||
Mute: 'Wycisz',
|
||||
'Video Flip': 'Rotacja wideo',
|
||||
Horizontal: 'Pozioma',
|
||||
Vertical: 'Pionowa',
|
||||
Reconnect: 'Połącz ponownie',
|
||||
'Show Setting': 'Pokaż ustawienia',
|
||||
'Hide Setting': 'Ukryj ustawienia',
|
||||
Screenshot: 'Zrzut ekranu',
|
||||
'Play Speed': 'Prędkość odtwarzania',
|
||||
'Aspect Ratio': 'Współczynnik proporcji',
|
||||
Default: 'Domyślny',
|
||||
Normal: 'Normalny',
|
||||
Open: 'Otwórz',
|
||||
'Switch Video': 'Przełącz wideo',
|
||||
'Switch Subtitle': 'Przełącz napisy',
|
||||
Fullscreen: 'Pełny ekran',
|
||||
'Exit Fullscreen': 'Zamknij pełny ekran',
|
||||
'Web Fullscreen': 'Tryb pełnej strony',
|
||||
'Exit Web Fullscreen': 'Zamknij tryb pełnej strony',
|
||||
'Mini Player': 'Miniodtwarzacz',
|
||||
'PIP Mode': 'Tryb PiP',
|
||||
'Exit PIP Mode': 'Zamknij tryb PiP',
|
||||
'PIP Not Supported': 'Tryb PiP nieobsługiwany',
|
||||
'Fullscreen Not Supported': 'Pełny ekran nieobsługiwany',
|
||||
'Subtitle Offset': 'Przesunięcie napisów',
|
||||
'Last Seen': 'Ostatnio widziany',
|
||||
'Jump Play': 'Skocz do gry',
|
||||
AirPlay: 'AirPlay',
|
||||
'AirPlay Not Available': 'AirPlay nie jest dostępny',
|
||||
};
|
||||
|
||||
export default pl;
|
||||
|
||||
if (typeof window !== 'undefined') {
|
||||
window['artplayer-i18n-pl'] = pl;
|
||||
}
|
||||
}
|
||||
@@ -1,44 +1,44 @@
|
||||
const ru = {
|
||||
"Video Info": "Информация",
|
||||
"Close": "Закрыть",
|
||||
"Video Load Failed": "Ошибка загрузки видео",
|
||||
"Volume": "Громкость",
|
||||
"Play": "Играть",
|
||||
"Pause": "Пауза",
|
||||
"Rate": "Скорость",
|
||||
"Mute": "Заглушить",
|
||||
"Video Flip": "Развернуть видео",
|
||||
"Horizontal": "Горизонтально",
|
||||
"Vertical": "Вертикально",
|
||||
"Reconnect": "Переподключенине",
|
||||
"Show Setting": "Показать настройки",
|
||||
"Hide Setting": "Скрыть настройки",
|
||||
"Screenshot": "Скриншот",
|
||||
"Play Speed": "Скорость воспроизведения",
|
||||
"Aspect Ratio": "Соотношение сторон",
|
||||
"Default": "По-умолчанию",
|
||||
"Normal": "Нормальный",
|
||||
"Open": "Открыть",
|
||||
"Switch Video": "Переключить видео",
|
||||
"Switch Subtitle": "Переключить субтитры",
|
||||
"Fullscreen": "Полноэкранный режим",
|
||||
"Exit Fullscreen": "Выход из полноэкранного режима",
|
||||
"Web Fullscreen": "На все окно браузера",
|
||||
"Exit Web Fullscreen": "Выход из режима полного окна",
|
||||
"Mini Player": "Мини проигрыватель",
|
||||
"PIP Mode": "Картинка в картинке",
|
||||
"Exit PIP Mode": "Закрыть картинку в картинке",
|
||||
"PIP Not Supported": "Картинка в картинке не поддерживается",
|
||||
"Fullscreen Not Supported": "Полноэкранный режим не поддерживается",
|
||||
"Subtitle Offset": "Настройка субтитров",
|
||||
"Last Seen": "Последнее просмотренное",
|
||||
"Jump Play": "Перейти",
|
||||
"AirPlay": "AirPlay",
|
||||
"AirPlay Not Available": "AirPlay недоступен"
|
||||
}
|
||||
'Video Info': 'Информация',
|
||||
Close: 'Закрыть',
|
||||
'Video Load Failed': 'Ошибка загрузки видео',
|
||||
Volume: 'Громкость',
|
||||
Play: 'Играть',
|
||||
Pause: 'Пауза',
|
||||
Rate: 'Скорость',
|
||||
Mute: 'Заглушить',
|
||||
'Video Flip': 'Развернуть видео',
|
||||
Horizontal: 'Горизонтально',
|
||||
Vertical: 'Вертикально',
|
||||
Reconnect: 'Переподключенине',
|
||||
'Show Setting': 'Показать настройки',
|
||||
'Hide Setting': 'Скрыть настройки',
|
||||
Screenshot: 'Скриншот',
|
||||
'Play Speed': 'Скорость воспроизведения',
|
||||
'Aspect Ratio': 'Соотношение сторон',
|
||||
Default: 'По-умолчанию',
|
||||
Normal: 'Нормальный',
|
||||
Open: 'Открыть',
|
||||
'Switch Video': 'Переключить видео',
|
||||
'Switch Subtitle': 'Переключить субтитры',
|
||||
Fullscreen: 'Полноэкранный режим',
|
||||
'Exit Fullscreen': 'Выход из полноэкранного режима',
|
||||
'Web Fullscreen': 'На все окно браузера',
|
||||
'Exit Web Fullscreen': 'Выход из режима полного окна',
|
||||
'Mini Player': 'Мини проигрыватель',
|
||||
'PIP Mode': 'Картинка в картинке',
|
||||
'Exit PIP Mode': 'Закрыть картинку в картинке',
|
||||
'PIP Not Supported': 'Картинка в картинке не поддерживается',
|
||||
'Fullscreen Not Supported': 'Полноэкранный режим не поддерживается',
|
||||
'Subtitle Offset': 'Настройка субтитров',
|
||||
'Last Seen': 'Последнее просмотренное',
|
||||
'Jump Play': 'Перейти',
|
||||
AirPlay: 'AirPlay',
|
||||
'AirPlay Not Available': 'AirPlay недоступен',
|
||||
};
|
||||
|
||||
export default ru;
|
||||
|
||||
if (typeof window !== 'undefined') {
|
||||
window['artplayer-i18n-ru'] = ru;
|
||||
}
|
||||
}
|
||||
@@ -1,44 +1,44 @@
|
||||
const tr = {
|
||||
"Video Info": "Video Bilgisi",
|
||||
"Close": "Kapat",
|
||||
"Video Load Failed": "Video Yüklenemedi",
|
||||
"Volume": "Ses Seviyesi",
|
||||
"Play": "Oynat",
|
||||
"Pause": "Duraklat",
|
||||
"Rate": "Hız",
|
||||
"Mute": "Sessize Al",
|
||||
"Video Flip": "Videoyu Çevir",
|
||||
"Horizontal": "Yatay",
|
||||
"Vertical": "Dikey",
|
||||
"Reconnect": "Yeniden Bağlan",
|
||||
"Show Setting": "Ayarları Göster",
|
||||
"Hide Setting": "Ayarları Gizle",
|
||||
"Screenshot": "Ekran Görüntüsü",
|
||||
"Play Speed": "Oynatma Hızı",
|
||||
"Aspect Ratio": "En Boy Oranı",
|
||||
"Default": "Varsayılan",
|
||||
"Normal": "Normal",
|
||||
"Open": "Aç",
|
||||
"Switch Video": "Video Değiştir",
|
||||
"Switch Subtitle": "Altyazı Değiştir",
|
||||
"Fullscreen": "Tam Ekran",
|
||||
"Exit Fullscreen": "Tam Ekrandan Çık",
|
||||
"Web Fullscreen": "Web Tam Ekran",
|
||||
"Exit Web Fullscreen": "Web Tam Ekranından Çık",
|
||||
"Mini Player": "Küçük Oynatıcı",
|
||||
"PIP Mode": "PIP Modu",
|
||||
"Exit PIP Mode": "PIP Modundan Çık",
|
||||
"PIP Not Supported": "PIP Desteklenmiyor",
|
||||
"Fullscreen Not Supported": "Tam Ekran Desteklenmiyor",
|
||||
"Subtitle Offset": "Altyazı Kaydırma",
|
||||
"Last Seen": "Son İzlenen",
|
||||
"Jump Play": "Atla ve Oynat",
|
||||
"AirPlay": "AirPlay",
|
||||
"AirPlay Not Available": "AirPlay Kullanılamıyor"
|
||||
}
|
||||
'Video Info': 'Video Bilgisi',
|
||||
Close: 'Kapat',
|
||||
'Video Load Failed': 'Video Yüklenemedi',
|
||||
Volume: 'Ses Seviyesi',
|
||||
Play: 'Oynat',
|
||||
Pause: 'Duraklat',
|
||||
Rate: 'Hız',
|
||||
Mute: 'Sessize Al',
|
||||
'Video Flip': 'Videoyu Çevir',
|
||||
Horizontal: 'Yatay',
|
||||
Vertical: 'Dikey',
|
||||
Reconnect: 'Yeniden Bağlan',
|
||||
'Show Setting': 'Ayarları Göster',
|
||||
'Hide Setting': 'Ayarları Gizle',
|
||||
Screenshot: 'Ekran Görüntüsü',
|
||||
'Play Speed': 'Oynatma Hızı',
|
||||
'Aspect Ratio': 'En Boy Oranı',
|
||||
Default: 'Varsayılan',
|
||||
Normal: 'Normal',
|
||||
Open: 'Aç',
|
||||
'Switch Video': 'Video Değiştir',
|
||||
'Switch Subtitle': 'Altyazı Değiştir',
|
||||
Fullscreen: 'Tam Ekran',
|
||||
'Exit Fullscreen': 'Tam Ekrandan Çık',
|
||||
'Web Fullscreen': 'Web Tam Ekran',
|
||||
'Exit Web Fullscreen': 'Web Tam Ekranından Çık',
|
||||
'Mini Player': 'Küçük Oynatıcı',
|
||||
'PIP Mode': 'PIP Modu',
|
||||
'Exit PIP Mode': 'PIP Modundan Çık',
|
||||
'PIP Not Supported': 'PIP Desteklenmiyor',
|
||||
'Fullscreen Not Supported': 'Tam Ekran Desteklenmiyor',
|
||||
'Subtitle Offset': 'Altyazı Kaydırma',
|
||||
'Last Seen': 'Son İzlenen',
|
||||
'Jump Play': 'Atla ve Oynat',
|
||||
AirPlay: 'AirPlay',
|
||||
'AirPlay Not Available': 'AirPlay Kullanılamıyor',
|
||||
};
|
||||
|
||||
export default tr;
|
||||
|
||||
if (typeof window !== 'undefined') {
|
||||
window['artplayer-i18n-tr'] = tr;
|
||||
}
|
||||
}
|
||||
@@ -1,44 +1,44 @@
|
||||
const zhCn = {
|
||||
"Video Info": "统计信息",
|
||||
"Close": "关闭",
|
||||
"Video Load Failed": "加载失败",
|
||||
"Volume": "音量",
|
||||
"Play": "播放",
|
||||
"Pause": "暂停",
|
||||
"Rate": "速度",
|
||||
"Mute": "静音",
|
||||
"Video Flip": "画面翻转",
|
||||
"Horizontal": "水平",
|
||||
"Vertical": "垂直",
|
||||
"Reconnect": "重新连接",
|
||||
"Show Setting": "显示设置",
|
||||
"Hide Setting": "隐藏设置",
|
||||
"Screenshot": "截图",
|
||||
"Play Speed": "播放速度",
|
||||
"Aspect Ratio": "画面比例",
|
||||
"Default": "默认",
|
||||
"Normal": "正常",
|
||||
"Open": "打开",
|
||||
"Switch Video": "切换",
|
||||
"Switch Subtitle": "切换字幕",
|
||||
"Fullscreen": "全屏",
|
||||
"Exit Fullscreen": "退出全屏",
|
||||
"Web Fullscreen": "网页全屏",
|
||||
"Exit Web Fullscreen": "退出网页全屏",
|
||||
"Mini Player": "迷你播放器",
|
||||
"PIP Mode": "开启画中画",
|
||||
"Exit PIP Mode": "退出画中画",
|
||||
"PIP Not Supported": "不支持画中画",
|
||||
"Fullscreen Not Supported": "不支持全屏",
|
||||
"Subtitle Offset": "字幕偏移",
|
||||
"Last Seen": "上次看到",
|
||||
"Jump Play": "跳转播放",
|
||||
"AirPlay": "隔空播放",
|
||||
"AirPlay Not Available": "隔空播放不可用"
|
||||
}
|
||||
'Video Info': '统计信息',
|
||||
Close: '关闭',
|
||||
'Video Load Failed': '加载失败',
|
||||
Volume: '音量',
|
||||
Play: '播放',
|
||||
Pause: '暂停',
|
||||
Rate: '速度',
|
||||
Mute: '静音',
|
||||
'Video Flip': '画面翻转',
|
||||
Horizontal: '水平',
|
||||
Vertical: '垂直',
|
||||
Reconnect: '重新连接',
|
||||
'Show Setting': '显示设置',
|
||||
'Hide Setting': '隐藏设置',
|
||||
Screenshot: '截图',
|
||||
'Play Speed': '播放速度',
|
||||
'Aspect Ratio': '画面比例',
|
||||
Default: '默认',
|
||||
Normal: '正常',
|
||||
Open: '打开',
|
||||
'Switch Video': '切换',
|
||||
'Switch Subtitle': '切换字幕',
|
||||
Fullscreen: '全屏',
|
||||
'Exit Fullscreen': '退出全屏',
|
||||
'Web Fullscreen': '网页全屏',
|
||||
'Exit Web Fullscreen': '退出网页全屏',
|
||||
'Mini Player': '迷你播放器',
|
||||
'PIP Mode': '开启画中画',
|
||||
'Exit PIP Mode': '退出画中画',
|
||||
'PIP Not Supported': '不支持画中画',
|
||||
'Fullscreen Not Supported': '不支持全屏',
|
||||
'Subtitle Offset': '字幕偏移',
|
||||
'Last Seen': '上次看到',
|
||||
'Jump Play': '跳转播放',
|
||||
AirPlay: '隔空播放',
|
||||
'AirPlay Not Available': '隔空播放不可用',
|
||||
};
|
||||
|
||||
export default zhCn;
|
||||
|
||||
if (typeof window !== 'undefined') {
|
||||
window['artplayer-i18n-zh-cn'] = zhCn;
|
||||
}
|
||||
}
|
||||
@@ -1,44 +1,44 @@
|
||||
const zhTw = {
|
||||
"Video Info": "統計訊息",
|
||||
"Close": "關閉",
|
||||
"Video Load Failed": "載入失敗",
|
||||
"Volume": "音量",
|
||||
"Play": "播放",
|
||||
"Pause": "暫停",
|
||||
"Rate": "速度",
|
||||
"Mute": "靜音",
|
||||
"Video Flip": "畫面翻轉",
|
||||
"Horizontal": "水平",
|
||||
"Vertical": "垂直",
|
||||
"Reconnect": "重新連接",
|
||||
"Show Setting": "顯示设置",
|
||||
"Hide Setting": "隱藏设置",
|
||||
"Screenshot": "截圖",
|
||||
"Play Speed": "播放速度",
|
||||
"Aspect Ratio": "畫面比例",
|
||||
"Default": "默認",
|
||||
"Normal": "正常",
|
||||
"Open": "打開",
|
||||
"Switch Video": "切換",
|
||||
"Switch Subtitle": "切換字幕",
|
||||
"Fullscreen": "全屏",
|
||||
"Exit Fullscreen": "退出全屏",
|
||||
"Web Fullscreen": "網頁全屏",
|
||||
"Exit Web Fullscreen": "退出網頁全屏",
|
||||
"Mini Player": "迷你播放器",
|
||||
"PIP Mode": "開啟畫中畫",
|
||||
"Exit PIP Mode": "退出畫中畫",
|
||||
"PIP Not Supported": "不支持畫中畫",
|
||||
"Fullscreen Not Supported": "不支持全屏",
|
||||
"Subtitle Offset": "字幕偏移",
|
||||
"Last Seen": "上次看到",
|
||||
"Jump Play": "跳轉播放",
|
||||
"AirPlay": "隔空播放",
|
||||
"AirPlay Not Available": "隔空播放不可用"
|
||||
}
|
||||
'Video Info': '統計訊息',
|
||||
Close: '關閉',
|
||||
'Video Load Failed': '載入失敗',
|
||||
Volume: '音量',
|
||||
Play: '播放',
|
||||
Pause: '暫停',
|
||||
Rate: '速度',
|
||||
Mute: '靜音',
|
||||
'Video Flip': '畫面翻轉',
|
||||
Horizontal: '水平',
|
||||
Vertical: '垂直',
|
||||
Reconnect: '重新連接',
|
||||
'Show Setting': '顯示设置',
|
||||
'Hide Setting': '隱藏设置',
|
||||
Screenshot: '截圖',
|
||||
'Play Speed': '播放速度',
|
||||
'Aspect Ratio': '畫面比例',
|
||||
Default: '默認',
|
||||
Normal: '正常',
|
||||
Open: '打開',
|
||||
'Switch Video': '切換',
|
||||
'Switch Subtitle': '切換字幕',
|
||||
Fullscreen: '全屏',
|
||||
'Exit Fullscreen': '退出全屏',
|
||||
'Web Fullscreen': '網頁全屏',
|
||||
'Exit Web Fullscreen': '退出網頁全屏',
|
||||
'Mini Player': '迷你播放器',
|
||||
'PIP Mode': '開啟畫中畫',
|
||||
'Exit PIP Mode': '退出畫中畫',
|
||||
'PIP Not Supported': '不支持畫中畫',
|
||||
'Fullscreen Not Supported': '不支持全屏',
|
||||
'Subtitle Offset': '字幕偏移',
|
||||
'Last Seen': '上次看到',
|
||||
'Jump Play': '跳轉播放',
|
||||
AirPlay: '隔空播放',
|
||||
'AirPlay Not Available': '隔空播放不可用',
|
||||
};
|
||||
|
||||
export default zhTw;
|
||||
|
||||
if (typeof window !== 'undefined') {
|
||||
window['artplayer-i18n-zh-tw'] = zhTw;
|
||||
}
|
||||
}
|
||||
@@ -9,6 +9,7 @@ export default function posterMix(art) {
|
||||
get: () => {
|
||||
try {
|
||||
return $poster.style['backgroundImage'].match(/"(.*)"/)[1];
|
||||
// eslint-disable-next-line no-unused-vars
|
||||
} catch (error) {
|
||||
return '';
|
||||
}
|
||||
|
||||
@@ -8,6 +8,7 @@ export default class Storage {
|
||||
try {
|
||||
const storage = JSON.parse(window.localStorage.getItem(this.name)) || {};
|
||||
return key ? storage[key] : storage;
|
||||
// eslint-disable-next-line no-unused-vars
|
||||
} catch (error) {
|
||||
return key ? this.settings[key] : this.settings;
|
||||
}
|
||||
@@ -19,6 +20,7 @@ export default class Storage {
|
||||
[key]: value,
|
||||
});
|
||||
window.localStorage.setItem(this.name, JSON.stringify(storage));
|
||||
// eslint-disable-next-line no-unused-vars
|
||||
} catch (error) {
|
||||
this.settings[key] = value;
|
||||
}
|
||||
@@ -29,6 +31,7 @@ export default class Storage {
|
||||
const storage = this.get();
|
||||
delete storage[key];
|
||||
window.localStorage.setItem(this.name, JSON.stringify(storage));
|
||||
// eslint-disable-next-line no-unused-vars
|
||||
} catch (error) {
|
||||
delete this.settings[key];
|
||||
}
|
||||
@@ -37,6 +40,7 @@ export default class Storage {
|
||||
clear() {
|
||||
try {
|
||||
window.localStorage.removeItem(this.name);
|
||||
// eslint-disable-next-line no-unused-vars
|
||||
} catch (error) {
|
||||
this.settings = {};
|
||||
}
|
||||
|
||||
@@ -15,7 +15,13 @@
|
||||
color: var(--art-font-color);
|
||||
background-color: var(--art-background-color);
|
||||
text-shadow: 0 0 2px var(--art-text-shadow-color);
|
||||
font-family: PingFang SC, Helvetica Neue, Microsoft YaHei, Roboto, Arial, sans-serif;
|
||||
font-family:
|
||||
PingFang SC,
|
||||
Helvetica Neue,
|
||||
Microsoft YaHei,
|
||||
Roboto,
|
||||
Arial,
|
||||
sans-serif;
|
||||
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
||||
-ms-touch-action: manipulation;
|
||||
touch-action: manipulation;
|
||||
|
||||
@@ -787,10 +787,18 @@
|
||||
|
||||
.hint--bounce:before,
|
||||
.hint--bounce:after {
|
||||
-webkit-transition: opacity 0.3s ease, visibility 0.3s ease,
|
||||
-webkit-transition:
|
||||
opacity 0.3s ease,
|
||||
visibility 0.3s ease,
|
||||
-webkit-transform 0.3s cubic-bezier(0.71, 1.7, 0.77, 1.24);
|
||||
-moz-transition: opacity 0.3s ease, visibility 0.3s ease, -moz-transform 0.3s cubic-bezier(0.71, 1.7, 0.77, 1.24);
|
||||
transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s cubic-bezier(0.71, 1.7, 0.77, 1.24);
|
||||
-moz-transition:
|
||||
opacity 0.3s ease,
|
||||
visibility 0.3s ease,
|
||||
-moz-transform 0.3s cubic-bezier(0.71, 1.7, 0.77, 1.24);
|
||||
transition:
|
||||
opacity 0.3s ease,
|
||||
visibility 0.3s ease,
|
||||
transform 0.3s cubic-bezier(0.71, 1.7, 0.77, 1.24);
|
||||
}
|
||||
|
||||
.hint--no-shadow:before,
|
||||
|
||||
@@ -46,15 +46,18 @@
|
||||
}
|
||||
}
|
||||
|
||||
&.art-mini-progress-bar, &.art-lock {
|
||||
&.art-mini-progress-bar,
|
||||
&.art-lock {
|
||||
.art-bottom {
|
||||
opacity: 1;
|
||||
padding: 0;
|
||||
background-image: none;
|
||||
|
||||
|
||||
.art-controls,
|
||||
.art-progress {
|
||||
transform: translateY(calc(var(--art-control-height) + var(--art-bottom-gap) + var(--art-progress-height) / 4));
|
||||
transform: translateY(
|
||||
calc(var(--art-control-height) + var(--art-bottom-gap) + var(--art-progress-height) / 4)
|
||||
);
|
||||
}
|
||||
|
||||
.art-progress-indicator {
|
||||
|
||||
@@ -110,7 +110,9 @@
|
||||
border-radius: var(--art-border-radius);
|
||||
pointer-events: none;
|
||||
background-color: var(--art-widget-background);
|
||||
box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.2), 0 1px 2px -1px rgb(0 0 0 / 0.2);
|
||||
box-shadow:
|
||||
0 1px 3px 0 rgb(0 0 0 / 0.2),
|
||||
0 1px 2px -1px rgb(0 0 0 / 0.2);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -12,10 +12,15 @@
|
||||
bottom: var(--art-subtitle-bottom);
|
||||
font-size: var(--art-subtitle-font-size);
|
||||
transition: bottom var(--art-transition-duration) ease;
|
||||
text-shadow: var(--art-subtitle-border) 1px 0 1px, var(--art-subtitle-border) 0 1px 1px,
|
||||
var(--art-subtitle-border) -1px 0 1px, var(--art-subtitle-border) 0 -1px 1px,
|
||||
var(--art-subtitle-border) 1px 1px 1px, var(--art-subtitle-border) -1px -1px 1px,
|
||||
var(--art-subtitle-border) 1px -1px 1px, var(--art-subtitle-border) -1px 1px 1px;
|
||||
text-shadow:
|
||||
var(--art-subtitle-border) 1px 0 1px,
|
||||
var(--art-subtitle-border) 0 1px 1px,
|
||||
var(--art-subtitle-border) -1px 0 1px,
|
||||
var(--art-subtitle-border) 0 -1px 1px,
|
||||
var(--art-subtitle-border) 1px 1px 1px,
|
||||
var(--art-subtitle-border) -1px -1px 1px,
|
||||
var(--art-subtitle-border) 1px -1px 1px,
|
||||
var(--art-subtitle-border) -1px 1px 1px;
|
||||
}
|
||||
|
||||
&.art-subtitle-show {
|
||||
|
||||
@@ -60,7 +60,6 @@ export function assToVtt(ass) {
|
||||
return (index === 0 ? '0' : ':0') + item;
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-nested-ternary
|
||||
return index === 0 ? item : index === arr.length - 1 ? `.${item}` : `:${item}`;
|
||||
})
|
||||
.join('');
|
||||
|
||||
Reference in new issue
Block a user