I’m trying to set up custom video player tracking for my app since my requirements are somewhat unique and the default player tracking will not work.
Calling
this.tracker = Matomo
.MediaAnalytics
.MediaTracker('myVideoPlayer', Matomo.MediaAnalytics.mediaType.VIDEO, this.data.mediaResource);
results in the following error
matomo.js:84 Uncaught TypeError: this.reset is not a function
at Object.j [as MediaTracker] (matomo.js:84)
at new MyVideoPlayer (my_video_player.js:7)
at show.js:14