feat(subtitle): add artplayer-plugin-libass

This commit is contained in:
journey-ad committed 2023-11-14 12:36:35 +08:00
1 parent cf8cea8283
commit 08ec5716f9
17 files changed
+2450

No files matched your search

@@ -0,0 +1,17 @@
import type Artplayer from 'artplayer';
import type SubtitlesOctopus from "@hrgui/libass-wasm-ts"
import { type Options } from "libass-wasm"
export = artplayerPluginAss
export as namespace artplayerPluginAss
declare const artplayerPluginAss: (options: Options) => (art: Artplayer) => {
name: 'artplayerPluginLibass';
libass: SubtitlesOctopus;
visible: boolean;
init: () => void;
switch: (url: string) => void;
show: () => void;
hide: () => void;
destroy: () => void;
};