Skip to main content
Inline, Floating, and VideoFeed must be wrapped in <VideowiseSDK.Provider>. The Provider manages modal video state when a shopper taps a video. LiveShoppingChannel does not use the Provider.
A floating widget overlay that appears at the bottom-left of the screen. It dynamically sizes itself based on the widget content. When a user taps on a video, a full-screen VideoFeed modal opens.

Props

videowiseInfo object

onEvent callback

Triggered for all custom events from the widget. The event object has the following structure: detail object
All detail properties are optional and depend on the event type.
Possible event names (name)
  • videowiseProductAddToCart — Product added to cart
  • videowiseProductBuyNow — Buy now clicked
  • videowiseCheckoutClick — Checkout clicked
  • videowiseProductClick — Product clicked
  • videowiseVideoClick — Video clicked
  • videowiseVideoStart — Video played more than 3 seconds
  • videowiseVideoIsPlaying — Video is currently playing
  • videowiseVideoFull — Video played more than 80%
  • videowiseVideoSwipe — Video swiped
  • videowisePlayerClose — Player closed
  • videowiseVideoSoundOn — Sound turned on
  • videowiseVideoSoundOff — Sound turned off
  • videowiseVideoBounce — Video closed/swiped before 3 seconds
  • videowiseDataReady — Widget data loaded
  • videowiseCampaignReady — Campaign rendered
  • videowiseCampaignCheckout — Redirecting to checkout
  • videowiseBackgroundV2Rendered — Background V2 rendered
  • videowiseCtaClick — CTA button clicked
  • videowiseTriggerPlayerClose — Player close triggered

onAddToCart callback

Triggered when a user adds a product to the cart (videowiseProductAddToCart event). The event object has the following structure: detail object

onCheckout callback

Triggered when a user clicks checkout (videowiseCheckoutClick event). The event object has the following structure: detail object items array element

Example