--- title: "Playback Scenarios (Complete Requests)" slug: "examples-of-complete-request-sequences" updated: 2025-10-02T13:23:22Z published: 2025-10-02T13:23:22Z canonical: "docs.mapp.com/examples-of-complete-request-sequences" --- > ## 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. # Playback Scenarios (Complete Requests) This page shows **complete playback flows** that combine several media actions. While the individual action pages (play, pause, seek, …) describe each action in isolation, these examples demonstrate how actions interact within a full session. Use these examples to: - Understand the **correct sequence** of actions in typical scenarios - See how parameters such as mt1 (current position) and mt2 (total length) behave in practice - Avoid common pitfalls (e.g. wrong mt1 at stop, missing mt2 on first play, incorrect pos intervals) --- ## Scenarios ### 1. Full view, no interactions BrowserServer-to-Server ```javascript wt_init_media("track.wt-eu02.net", "111111111111111"); wt_sendinfo_media("video_16889", "play", "0", "110", "mg1=sports;mg2=language_EN", "64000", "100", "0"); wt_sendinfo_media("video_16889", "pos",  "30", "110", "", "64000", "100", "0"); wt_sendinfo_media("video_16889", "pos",  "60", "110", "", "64000", "100", "0"); wt_sendinfo_media("video_16889", "pos",  "90", "110", "", "64000", "100", "0"); wt_sendinfo_media("video_16889", "eof", "110", "110", "", "64000", "100", "0"); ``` ```bash https://track.wt-eu02.net/111111111111111/wt?mi=video_16889&mk=play&mt1=0&mt2=110&mg1=sports&mg2=language_EN&bw=64000&vol=100&mut=0&x=TIMESTAMP https://track.wt-eu02.net/111111111111111/wt?mi=video_16889&mk=pos&mt1=30&mt2=110&bw=64000&vol=100&mut=0&x=TIMESTAMP https://track.wt-eu02.net/111111111111111/wt?mi=video_16889&mk=pos&mt1=60&mt2=110&bw=64000&vol=100&mut=0&x=TIMESTAMP https://track.wt-eu02.net/111111111111111/wt?mi=video_16889&mk=pos&mt1=90&mt2=110&bw=64000&vol=100&mut=0&x=TIMESTAMP https://track.wt-eu02.net/111111111111111/wt?mi=video_16889&mk=eof&mt1=110&mt2=110&bw=64000&vol=100&mut=0&x=TIMESTAMP ``` ### 2. Pause and resume BrowserServer-to-Server ```javascript https://track.wt-eu02.net/111111111111111/wt?mi=video_16889&mk=play&mt1=0&mt2=600&mg1=sports&bw=64000&vol=100&mut=0&x=TIMESTAMP https://track.wt-eu02.net/111111111111111/wt?mi=video_16889&mk=pause&mt1=45&mt2=600&bw=64000&vol=100&mut=0&x=TIMESTAMP https://track.wt-eu02.net/111111111111111/wt?mi=video_16889&mk=play&mt1=45&mt2=600&bw=64000&vol=100&mut=0&x=TIMESTAMP https://track.wt-eu02.net/111111111111111/wt?mi=video_16889&mk=eof&mt1=600&mt2=600&bw=64000&vol=100&mut=0&x=TIMESTAMP ``` ```bash http://track.wt-eu02.net/111111111111111/wt?p=414,st&mi=video_16889&mk=play&mt1=0&mt2=110&mg1=sports&mg2=language_EN&bw=64000&vol=100&mut=0&x=1253786695416 http://track.wt-eu02.net/111111111111111/wt?p=414,st&mi=video_16889&mk=media_action&mt1=1&mt2=110&cb3=goal&bw=64000&vol=100&mut=0&x=1253786695416 http://track.wt-eu02.net/111111111111111/wt?p=414,st&mi=video_16889&mk=media_action&mt1=2&mt2=110&ck6=green&ck7=https%3A%2F%2Fwww.mapp.com%2F&bw=64000&vol=100&mut=0&x=1253786695416 http://track.wt-eu02.net/111111111111111/wt?p=414,st&mi=video_16889&mk=media_action&mt1=3&mt2=110&cs2=male&cs5=logged_in&bw=64000&vol=100&mut=0&x=1253786695416 http://track.wt-eu02.net/111111111111111/wt?p=414,st&mi=video_16889&mk=pos&mt1=30&mt2=110&bw=64000&vol=100&mut=0&x=1253786695416 http://track.wt-eu02.net/111111111111111/wt?p=414,st&mi=video_16889&mk=pos&mt1=60&mt2=110&bw=64000&vol=100&mut=0&x=1253786695416 http://track.wt-eu02.net/111111111111111/wt?p=414,st&mi=video_16889&mk=pos&mt1=90&mt2=110&bw=64000&vol=100&mut=0&x=1253786695416 http://track.wt-eu02.net/111111111111111/wt?p=414,st&mi=video_16889&mk=eof&mt1=110&mt2=110&bw=64000&vol=100&mut=0&x=1253786695416 ``` ### 3. Seek during playback BrowserServer-to-Server ```javascript wt_sendinfo_media("video_16889", "play", "0",   "600", "mg1=sports", "64000", "100", "0"); wt_sendinfo_media("video_16889", "pos",  "20",  "600", "",           "64000", "100", "0"); wt_sendinfo_media("video_16889", "seek", "22",  "600", "",           "64000", "100", "0"); wt_sendinfo_media("video_16889", "play", "293", "600", "",           "64000", "100", "0"); wt_sendinfo_media("video_16889", "pos",  "313", "600", "",           "64000", "100", "0"); ``` ```bash https://track.wt-eu02.net/111111111111111/wt?mi=video_16889&mk=play&mt1=0&mt2=600&mg1=sports&bw=64000&vol=100&mut=0&x=TIMESTAMP https://track.wt-eu02.net/111111111111111/wt?mi=video_16889&mk=seek&mt1=22&mt2=600&bw=64000&vol=100&mut=0&x=TIMESTAMP https://track.wt-eu02.net/111111111111111/wt?mi=video_16889&mk=play&mt1=293&mt2=600&bw=64000&vol=100&mut=0&x=TIMESTAMP ``` ### 4. Stop and restart BrowserServer-to-Server ```javascript wt_sendinfo_media("video_16889", "play", "0",   "600", "mg1=sports", "64000", "100", "0"); wt_sendinfo_media("video_16889", "pos",  "40",  "600", "",           "64000", "100", "0"); wt_sendinfo_media("video_16889", "stop", "100", "600", "",           "64000", "100", "0"); wt_sendinfo_media("video_16889", "play", "0",   "600", "",           "64000", "100", "0"); ``` ```bash https://track.wt-eu02.net/111111111111111/wt?mi=video_16889&mk=play&mt1=0&mt2=600&mg1=sports&bw=64000&vol=100&mut=0&x=TIMESTAMP https://track.wt-eu02.net/111111111111111/wt?mi=video_16889&mk=stop&mt1=100&mt2=600&bw=64000&vol=100&mut=0&x=TIMESTAMP https://track.wt-eu02.net/111111111111111/wt?mi=video_16889&mk=play&mt1=0&mt2=600&bw=64000&vol=100&mut=0&x=TIMESTAMP ``` ### 5. Live stream (no total length) BrowserServer-to-Server ```javascript wt_sendinfo_media("livestream_42", "play", "0", "0", "", "64000", "100", "0"); wt_sendinfo_media("livestream_42", "pos", "60", "0", "", "64000", "100", "0"); ``` ```bash https://track.wt-eu02.net/111111111111111/wt?mi=livestream_42&mk=play&mt1=0&mt2=0&x=TIMESTAMP https://track.wt-eu02.net/111111111111111/wt?mi=livestream_42&mk=pos&mt1=60&x=TIMESTAMP https://track.wt-eu02.net/111111111111111/wt?mi=livestream_42&mk=pos&mt1=120&x=TIMESTAMP ```