we use essential grid to show videos in a lightbox.
Unfortunately, Matomo Media analytics does not recognize the player and does not track the playback.
Jason from matomo team wrote:
"You just need to use _paq.push([‘MediaAnalytics::scanForMedia’]); there shouldn’t be a need for your to use the element id. When you click on the video it probably runs a function to open the player? At the end of that function you would want to scan for the media. "
I tried this in
Any idea, how to implement the line above?