feat: Add support for custom file names in screenshot functionality

This commit is contained in:
Harvey Zack committed 2024-07-04 09:57:13 +08:00
1 parent caddb2091e
commit e71e6ad0dd
3 files changed
+6 -5

No files matched your search

+1 -1
View File
@@ -72,7 +72,7 @@ export declare class Player {
switchQuality(url: string): Promise<void>;
getDataURL(): Promise<string>;
getBlobUrl(): Promise<string>;
screenshot(): Promise<string>;
screenshot(name?: string): Promise<string>;
airplay(): void;
autoSize(): void;
autoHeight(): void;