Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PW-21587] Fix midroll reported as postroll #118

Merged
merged 10 commits into from
Dec 19, 2024

Conversation

saravanans-github
Copy link
Contributor

player.getDuration returns the ad duration hence if midroll schedule time > the duration of the adbreak it's errorneously reported as post-roll.

change: onsourceloaded event store the main content's duration and use that to do the above comparison, if the comparison might happen during an ad break

Copy link

@mimcz mimcz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

spec/tests/AdHelper.spec.ts Outdated Show resolved Hide resolved
Copy link
Member

@dweinber dweinber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the changes! I've added a few comments to improve readability of the code, please address, then we should be good to merge 🙂

CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
src/ts/ConvivaAnalytics.ts Outdated Show resolved Hide resolved
src/ts/helper/AdHelper.ts Outdated Show resolved Hide resolved
src/ts/helper/AdHelper.ts Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
@wasp898 wasp898 requested review from dweinber and mimcz December 19, 2024 11:35
@wasp898 wasp898 changed the title Pw 21587 midroll reported as postroll [PW-21587] Fix midroll reported as postroll Dec 19, 2024
@wasp898 wasp898 dismissed dweinber’s stale review December 19, 2024 12:20

Changes addressed

@wasp898 wasp898 merged commit 38bf283 into develop Dec 19, 2024
3 checks passed
@wasp898 wasp898 deleted the pw-21587-midroll-reported-as-postroll branch December 19, 2024 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants