The request "mediaPlay" is used for the playback of a video and start of the media session.

Example

<amp-analytics type="mapp_intelligence">
    <script type="application/json">
	{
		"vars": {
			"trackDomain": "analytics.mapp.com",
			"trackId": "111111111111111" 
		},
		"triggers": { 
			...
			"trackMediaPlay": {
				"on": "video-play", 
				"request": "mediaPlay", 
				"selector": "#video"
			},
			... 
		}
	}
	</script>
</amp-analytics>
XML
Parameter or AttributeDescription
"request": "mediaPlay"

You must set the value of the request parameter to mediaPlay to send the correct parameter to Mapp Intelligence.

The request mediaPlay is used to record the playback of the multimedia file. This action is also sent when a file is autostarted or when the [Play] button of the media player is clicked.

Please note that the total playing time and media categories will only be evaluated for the first mediaPlay request.