- Put these following scripts tag near the top of the
<head>tag and before any other script or CSS tags.
<!-- Do not change the order -->
<script async src="https://assets.streamshop.com.br/sdk-ads/liveshop-ads-video.min.js"></script>
<script async src="https://assets.streamshop.com.br/sdk-ads/liveshop-ads-carousel.min.js"></script>
- Place our html tag
<liveshop-ads-video>in your<body>tag where you wish.
<liveshop-ads-carousel slugs-video="ABC,DEF,GHI"></liveshop-ads-carousel>
You can get your slug-video in your store in StreamShop Dashboard
π That's it! π
Take a look at the attributes below to customize your experience with our SDK:
| Property | Type | Required | Details |
|---|---|---|---|
| slugs-video | string | β | Sets the carousel slugs of your videos ads |
| videos-width | string | β | Sets the horizontal width of your video ads (default: "200px") |
| width | string | β | Sets the horizontal width (default: "100%") |
| height | string | β | Sets the vertical height (default: "100%") |
| quality | 'lq' | 'mq' | 'hq' | β | Sets the quality of your video cover |
| theme | 'light; | 'dark' | β | Sets the theme (default: 'light') |
| hml | boolean | β | Sets if it's hml environment (default: false) |
| border-radius | string | β | Sets the carousel border radius (default: 16px) |
| gap | string | β | Sets the carousel gap between videos (default: 12px) |
| aspect-ratio | string | β | Sets the carousel aspect-ratio of videos (default: 9/16) |
| use-post-message | boolean | β | Set it true if you want to track StreamShop events outside application (default: false) |
| stories-style | boolean | β | Set it true if you want to use stories mode in carousel (default: false) |
| stories-size | string | β | Sets the videos horizontal and vertical of sizes in the stories mode (default: 80px) |
| stories-color | string | β | Sets a custom color to stories (default: #c654ff) |
| skip-terms | boolean | β | Set it true if you want to hide the terms and conditions bottom sheet (default: false) |
| use-legacy-overlay | boolean | β | Set it true if you want to use legacy overlay. Not recommended (default: false) |
| show-logo | boolean | β | Determines whether logo sampling should be enabled (default: false) |
| use-active-videos-from | string | β | Set your store slug and it will build your carousel with all your actived videos. |
