Brightcove Lazy-Load Videos

On our website, we load Brightcove videos using the iframe method but the iframe is only created when the video thumbnail is clicked. As a result, Matomos video analytics doesn’t track the events. I found a script that messages video events from the iframe back to the parent window and this is working but I need to know what Matomo is expecting to be sent for video events - how do I call them in a way that will populate the right fields so they show on the built-in video reports in Matomo? We’re using the hosted option so video tracking is included.

Hi @andrewg
Did you have a look at:
https://developer.matomo.org/guides/media-analytics/setup
Also intersting:
https://developer.matomo.org/guides/media-analytics/custom-player#tracking-the-media-data

At last, you can call manually HTTP requests to Matomo:
https://developer.matomo.org/guides/media-analytics/custom-player#media-analytics-http-tracking-api-reference