This documentation explains all how to activate Reels Mode using Liveshop ADS Tag
Property | Type | Required | Details |
---|---|---|---|
slugs-reels | string | ❌ | Define an array of Reels playlist using arrays of video slugs separating by ; inside of slugs videos separating by , .Example: see the example below (default: null) |
marketplace-reels | boolean | ❌ | Define if Reels is a marketplace, it means that the slugs of slugs-reels may not be all in the same store (Be careful: It can not work in some scenarios) (default: false) |
Carousel Ads slugs-reels
example:
slugs-reels
example:Let's do this example with this code below: a simple carousel with 3 slug videos (A,B,C)
<liveshop-ads-carousel slugs-video="A,B,C"></liveshop-ads-carousel>
In this example, our carousel will draw 3 videos. Let's use this example to insert reels. For each video position we need to pass a slug playlist using an array of slugs. If you don't want to use reels for a video, you just have to pass an empty array []
.
I'm gonna propouse a scenario: Video A
and C
will not be a reels, but B
will be a reels of slugs [B,D,E]
. The final code will be:
<liveshop-ads-carousel slugs-video="A,B,C" slugs-reels="[];[B,D,E];[]"></liveshop-ads-carousel>
In this case:
- Video
A
will open videoA
- Video
B
will open reels of videosB
,D
andE
- Vidoe
C
will open videoC