Skip to content

Commit

Permalink
feat: keep index in the universal id
Browse files Browse the repository at this point in the history
  • Loading branch information
Wkkkkk committed Nov 15, 2024
1 parent ac9a32f commit b9f835c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/vast-maker.js
Original file line number Diff line number Diff line change
Expand Up @@ -202,9 +202,9 @@ function AttachPodAds(vast, podAds, params) {
if (vast.attrs.version === "4.0") {
mediaNode = mediaNode
.addUniversalAdId(
encodeURIComponent(`${podAds[i].universalId}`), {
encodeURIComponent(`${podAds[i].universalId}${i + 1}`), {
idRegistry: "test-ad-id.eyevinn",
idValue: encodeURIComponent(`${podAds[i].universalId}`),
idValue: encodeURIComponent(`${podAds[i].universalId}${i + 1}`),
}
);
}
Expand Down

0 comments on commit b9f835c

Please sign in to comment.