--- title: "Current Position (parameter: pos)" slug: "current-position-of-the-multimedia-file-pos" updated: 2025-10-02T12:31:23Z published: 2025-10-02T12:31:23Z canonical: "docs.mapp.com/current-position-of-the-multimedia-file-pos" --- > ## 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. # Current Position (parameter: pos) The `pos` action records which parts of a media file have been viewed. It is also used to track the **last position** in case the user closes the browser or app window. This action always works with two parameters: - **mt1** – current play position (in seconds) - **mt2** – total length of the media file (in seconds) --- ## When to send - Default interval: every **30 seconds** while the media is in *play* mode. - Do not send `pos` events when the media is *paused* or *stopped*. In these cases, the timer must also be paused. - For **live streams** (no total length mt2 available), the interval is fixed at **60 seconds**. --- ## Rules & Pitfalls - The allowed interval depends on the **total length of the media file (mt2)**. - The media pixel divides the total length by **60** to calculate the minimum interval. - The interval can never be shorter than **10 seconds**. - After each `pos` event, the timer restarts. - If you send events more frequently than allowed, additional requests are ignored. **Formula:** ```plaintext Interval = max(10, mt2 / 60) ``` **Examples:** - mt2 = 600s (10 min) → 600/60 = **10s** - mt2 = 1200s (20 min) → 1200/60 = **20s** If the calculated interval is 30 seconds but you send every 20 seconds, only every second request is accepted. This means the event is effectively measured after 40 seconds. --- ## Example request BrowserServer-to-Server ```javascript wt_sendinfo_media(  "video_16889",          // media_id  "pos",                  // player_action  "30",                   // mt1 / clip_position  "600",                  // mt2 / clip_length  "",                     // media_parameter  "64000",                // bandwidth  "100",                  // volume  "0"                     // mute ); ``` ```plaintext http://track.wt-eu02.net/111111111111111/wt?p=414,st&mi=video_16889&mk=pos&mt1=30&mt2=600&bw=64000&vol=100&mut=0&x=125378669541 ```