quickvo-player 0.0.5 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/QuickVoPlayer.d.ts +5 -1
- package/dist/index.js +1441 -1276
- package/dist/index.umd.cjs +4 -3
- package/package.json +2 -2
package/dist/QuickVoPlayer.d.ts
CHANGED
|
@@ -7,7 +7,11 @@ interface Room {
|
|
|
7
7
|
author?: string;
|
|
8
8
|
version?: string;
|
|
9
9
|
}
|
|
10
|
+
interface QuickVoPlayerOption {
|
|
11
|
+
debug?: boolean;
|
|
12
|
+
}
|
|
10
13
|
export declare class QuickVoPlayer {
|
|
14
|
+
option: QuickVoPlayerOption;
|
|
11
15
|
displayMode: 'original' | 'cut';
|
|
12
16
|
prPlayer: PrPlayer;
|
|
13
17
|
dom: Element | undefined;
|
|
@@ -16,7 +20,7 @@ export declare class QuickVoPlayer {
|
|
|
16
20
|
on: {
|
|
17
21
|
users: (_users: any) => void;
|
|
18
22
|
};
|
|
19
|
-
constructor();
|
|
23
|
+
constructor(option?: QuickVoPlayerOption);
|
|
20
24
|
init: () => void;
|
|
21
25
|
start: (url: string) => Promise<void>;
|
|
22
26
|
stop: () => void;
|