--- title: "Custom Media Actions" slug: "custom-media-actions" updated: 2025-10-02T12:53:20Z published: 2025-10-02T12:53:20Z canonical: "docs.mapp.com/custom-media-actions" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.mapp.com/llms.txt > Use this file to discover all available pages before exploring further. # Custom Media Actions In addition to the standard media actions (init, play, pos, pause, stop, seek, eof), you can also transmit **custom actions**. This makes it possible to record additional activities within a media session. For example, you can measure a click on a **“Recommend”** link during playback to evaluate the time of the interaction in the video. --- ## When to send - Use a custom action whenever an event occurs that is not covered by the standard actions. - Send the **current play position (mt1)** and the **total length (mt2)** along with the custom action. - The name of the custom action is passed in the player_action parameter. --- ## Example request BrowserServer-to-Server ```javascript wt_sendinfo_media(  "video_16889",   // media_id  "recommend",     // custom action  "90",            // mt1 / clip_position  "600",           // mt2 / clip_length  "",              // media_parameter  "64000",         // bandwidth  "100",           // volume  "0"              // mute ); ``` ```bash http://track.wt-eu02.net/111111111111111/wt?p=414,st &mi=video_16889 &mk=recommend &mt1=90 &mt2=600 &bw=64000 &vol=100 &mut=0 &x=125378669541 ```