stormcloud-video-player 0.2.4 → 0.2.6

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 CHANGED
@@ -314,21 +314,20 @@ new StormcloudVideoPlayer(config: StormcloudVideoPlayerConfig)
314
314
 
315
315
  #### Methods
316
316
 
317
- | Method | Description | Returns |
318
- | ------------------------------------------ | --------------------------------------------- | --------------- | -------- |
319
- | `load()` | Initialize and start video playback | `Promise<void>` |
320
- | `destroy()` | Clean up player resources and event listeners | `void` |
321
- | `toggleMute()` | Toggle video mute state | `void` |
322
- | `toggleFullscreen()` | Enter/exit fullscreen mode | `Promise<void>` |
323
- | `isMuted()` | Check if video is currently muted | `boolean` |
324
- | `isFullscreen()` | Check if player is in fullscreen mode | `boolean` |
325
- | `isAdPlaying()` | Check if an ad is currently playing | `boolean` |
326
- | `isShowingAds()` | Check if ads are being shown | `boolean` |
327
- | `getCurrentAdIndex()` | Get current ad index in pod | `number` |
328
- | `getTotalAdsInBreak()` | Get total ads in current break | `number` |
329
- | `shouldShowNativeControls()` | Check if native controls should be shown | `boolean` |
330
- | `getStreamType()` | Get detected stream type | `'hls' | 'other'` |
331
- | `loadDefaultVastFromAdstorm(url, params?)` | Load VAST tags from Adstorm API | `Promise<void>` |
317
+ | Method | Description | Returns |
318
+ | ---------------------------- | --------------------------------------------- | ------------------ |
319
+ | `load()` | Initialize and start video playback | `Promise<void>` |
320
+ | `destroy()` | Clean up player resources and event listeners | `void` |
321
+ | `toggleMute()` | Toggle video mute state | `void` |
322
+ | `toggleFullscreen()` | Enter/exit fullscreen mode | `Promise<void>` |
323
+ | `isMuted()` | Check if video is currently muted | `boolean` |
324
+ | `isFullscreen()` | Check if player is in fullscreen mode | `boolean` |
325
+ | `isAdPlaying()` | Check if an ad is currently playing | `boolean` |
326
+ | `isShowingAds()` | Check if ads are being shown | `boolean` |
327
+ | `getCurrentAdIndex()` | Get current ad index in pod | `number` |
328
+ | `getTotalAdsInBreak()` | Get total ads in current break | `number` |
329
+ | `shouldShowNativeControls()` | Check if native controls should be shown | `boolean` |
330
+ | `getStreamType()` | Get detected stream type | `'hls' \| 'other'` |
332
331
 
333
332
  #### Configuration Options
334
333
 
@@ -708,7 +707,7 @@ MIT License - see [LICENSE](LICENSE) file for details.
708
707
 
709
708
  Built with ❤️ by the Stormcloud team
710
709
 
711
- ### What's New in v2.0
710
+ ### What's New in v0.2
712
711
 
713
712
  - 🎯 **Professional Architecture**: Modular player system inspired by react-player
714
713
  - 🚀 **Automatic Format Detection**: Smart player selection based on video source