You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're doing some work with autoplaying related content once our video has ended, and we've run into a bug that pops up when the second video completes. We're listening to the ended event to change the content of the player & request an ad break by using the setContentWithAdTag method.
I would expect the SDK to call the onCompleted event internally to signal to contrib-ads that no post roll will run, but since contentComplete isn't reset, the onNoPostroll method isn't called
I'd be more than happy to PR a fix for this assuming there's no unintended side effects of setting contentComplete = false on reset calls. We'd love to get a fix for this ASAP so we don't have to wait for a timeout between videos
The text was updated successfully, but these errors were encountered:
Cosrnos
changed the title
contentComplete not reset in player wrapper
contentComplete not reset in player wrapper
Jun 6, 2018
Fixes a bug that would prevent the nopostroll event from being triggered, causing a delay before contrib-ads would fire the ended event on the player
Fixesgoogleads#639
Fixes a bug that would prevent the nopostroll event from being triggered, causing a delay before contrib-ads would fire the ended event on the player
Fixes#639
We're doing some work with autoplaying related content once our video has ended, and we've run into a bug that pops up when the second video completes. We're listening to the
ended
event to change the content of the player & request an ad break by using thesetContentWithAdTag
method.I would expect the SDK to call the onCompleted event internally to signal to
contrib-ads
that no post roll will run, but sincecontentComplete
isn't reset, theonNoPostroll
method isn't calledI'd be more than happy to PR a fix for this assuming there's no unintended side effects of setting
contentComplete = false
on reset calls. We'd love to get a fix for this ASAP so we don't have to wait for a timeout between videosThe text was updated successfully, but these errors were encountered: