stormcloud-video-player 0.1.6 → 0.1.8
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/README.md +4 -0
- package/dist/stormcloud-vp.min.js +2 -2
- package/lib/index.cjs +82 -12
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +8 -2
- package/lib/index.d.ts +8 -2
- package/lib/index.js +82 -12
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -142,6 +142,10 @@ new StormcloudVideoPlayer(config: StormcloudVideoPlayerConfig)
|
|
|
142
142
|
- `setAdSchedule(schedule?: AdSchedule): void`: Provide/replace ad schedule
|
|
143
143
|
- `loadAdScheduleFromUrl(url: string): Promise<void>`: Fetch and set JSON schedule
|
|
144
144
|
- `loadDefaultVastFromAiry(url: string, params?: Record<string, string>): Promise<void>`: Fetch ad tag from Airy-like API and set `defaultVastTagUrl`
|
|
145
|
+
- `toggleMute(): void`: Toggle video mute state
|
|
146
|
+
- `toggleFullscreen(): Promise<void>`: Toggle fullscreen mode
|
|
147
|
+
- `isMuted(): boolean`: Check if video is currently muted
|
|
148
|
+
- `isFullscreen(): boolean`: Check if video is currently in fullscreen
|
|
145
149
|
|
|
146
150
|
### Types
|
|
147
151
|
|