Stopp (parameter: stop)

Prev Next

The stop action marks that playback has been terminated by the user.

In most players this happens when the Stop button is pressed and the media resets to the beginning.


When to send

  • Send whenever the user presses the Stop button.

  • After a stop, the next playback must always start with a new play action.


Rules & Pitfalls

  • A stop action ends the current media session.

  • Always provide the current play position (mt1) at which the stop occurred.

    • Do not set mt1 to 0, even though the player resets to the beginning.

    • mt1 must reflect the actual stop position.

  • mt2 (total length) is included as usual but does not change session behavior.


Example request

wt_sendinfo_media(
  "video_16889",   // media_id
  "stop",          // player_action
  "100",           // mt1 / clip_position (position where stop occurred)
  "600",           // mt2 / clip_length
  "",              // media_parameter
  "64000",         // bandwidth
  "100",           // volume
  "0"              // mute
);
http://track.wt-eu02.net/111111111111111/wt?p=414,st
&mi=video_16889
&mk=stop
&mt1=100
&mt2=600
&bw=64000
&vol=100
&mut=0
&x=125378669541