wg-video-player 1.0.0-beta.93 → 1.0.0-beta.94

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "wg-video-player",
3
3
  "description": "A video player for private",
4
- "version": "1.0.0-beta.93",
4
+ "version": "1.0.0-beta.94",
5
5
  "author": "wg <wg@wisdomgarden.com>",
6
6
  "license": "MIT",
7
7
  "private": false,
@@ -27,8 +27,12 @@ export class WgVideoPlayer {
27
27
  get currentTime(): number
28
28
  set currentTime(currentTime: number)
29
29
 
30
+ get playing(): boolean
31
+
30
32
  on(eventName: string, eventHandler: Function): void
31
33
 
34
+ one(eventName: string, eventHandler: Function): void
35
+
32
36
  off(eventName: string): void
33
37
 
34
38
  play(): void