Expand my Community achievements bar.

SOLVED

How to report on multiple overlapping media states for video

Avatar

Level 1
We have a scenario where we have a mini player that can also be muted. We fire state starts/stops for "mini player" and "mute" and I want to be able to track watch time on the mini player that was not muted. The issue is that we can mute other places that are not in the mini player so I need a way to filter the media states to have the condition of "mini player" + "mute" to get the correct time.
Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @KadenNo 

You can try using custom media state tracking to capture those overlapping conditions. Since you are already firing state start/stop events for both "mini player" and "mute," the key is making sure those states are passed clearly in the media heartbeat config.

 

One way to approach it is to create a custom boolean or label (like isMiniMuted) and set it to true only when both the mini player is active & mute is on. You can pass this as a custom media state and then calculate watch time based on that condition later in reporting.

 

So basically:

  • When mini player starts --> state = "mini"

  • When mute starts --> state = "muted"

  • When both are active --> state = "mini-muted" (or set a flag)

 

Then in Analysis Workspace, use segments that filter for that combined state to isolate watch time in that exact condition.

Hope that helps!

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Hi @KadenNo 

You can try using custom media state tracking to capture those overlapping conditions. Since you are already firing state start/stop events for both "mini player" and "mute," the key is making sure those states are passed clearly in the media heartbeat config.

 

One way to approach it is to create a custom boolean or label (like isMiniMuted) and set it to true only when both the mini player is active & mute is on. You can pass this as a custom media state and then calculate watch time based on that condition later in reporting.

 

So basically:

  • When mini player starts --> state = "mini"

  • When mute starts --> state = "muted"

  • When both are active --> state = "mini-muted" (or set a flag)

 

Then in Analysis Workspace, use segments that filter for that combined state to isolate watch time in that exact condition.

Hope that helps!

Avatar

Community Advisor and Adobe Champion

I was going to suggest something similar.. using a custom value to distinguish the main player from the mini-player.