| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Tested manually that this does not affect visibility ratio reporting logic.
I see Ben is OOO today, so sending to Dale and Sangbaek for review, TY!
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
UpdateVideoVisibilityTracker();Can we make this part of `CreateVisibilityTrackerIfNeeded` then? A bit weird to have to call both.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Can we make this part of `CreateVisibilityTrackerIfNeeded` then? A bit weird to have to call both.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
CreateVisibilityTrackerIfNeeded();You would still need to update the video visibility tracker outside of this if statement (line 505):
```
if (visibility_tracker_) {
UpdateVideoVisibilityTracker();
}
```
If we don't do this, and the tracker already exists, we would miss the state update, because of the early return in `CreateVisibilityTrackerIfNeeded`.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
CreateVisibilityTrackerIfNeeded();You would still need to update the video visibility tracker outside of this if statement (line 505):
```
if (visibility_tracker_) {
UpdateVideoVisibilityTracker();
}
```If we don't do this, and the tracker already exists, we would miss the state update, because of the early return in `CreateVisibilityTrackerIfNeeded`.
Ah thanks, should have seen that.
Since we didn't want this:
```
CreateVisibilityTrackerIfNeeded();
UpdateVideoVisibilityTracker();
```
I just moved the `UpdateVideoVisibilityTracker` to the early return in `UpdateVideoVisibilityTracker`.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |