startMediaTracking method
Starts media tracking with the given configuration
.
Note: to track media events on Web, you will need to install the media JS
plugin by configuration TrackerConfiguration.jsMediaPluginURL.
Implementation
Future<MediaTracking> startMediaTracking(
MediaTrackingConfiguration configuration) async {
return await Snowplow.startMediaTracking(
configuration: configuration, tracker: namespace);
}