Seek (parameter: seek)

Prev Next

The seek action records when a user moves the playback slider to a new position in the media. This action marks the start of a seeking operation.


When to send

  • Send a seek action whenever the user moves the playback slider forward or backward.

  • Once the slider is released, send a second action to confirm the new playback state:

    • If the media was playing, send play with the new position (mt1).

    • If the media was paused, send pause with the new position (mt1).


Rules & Pitfalls

  • The seek action itself signals only that a seek has occurred.

  • The actual new position is not confirmed until the subsequent play or pause action.

  • Always provide the new mt1 position in the follow-up action.


Example request

// Start of seek
wt_sendinfo_media(
  "video_16889",   // media_id
  "seek",          // player_action
  "60",            // mt1 / clip_position (before releasing the slider)
  "600",           // mt2 / clip_length
  "",              // media_parameter
  "64000",         // bandwidth
  "100",           // volume
  "0"              // mute
);

// Confirm seek with new position while playing
wt_sendinfo_media(
  "video_16889",   // media_id
  "play",          // player_action
  "293",           // mt1 / clip_position (new position)
  "600",           // mt2 / clip_length
  "",              // media_parameter
  "64000",
  "100",
  "0"
);
# Start of seek
http://track.wt-eu02.net/111111111111111/wt?p=414,st
&mi=video_16889
&mk=seek
&mt1=60
&mt2=600
&bw=64000
&vol=100
&mut=0
&x=1253786695416

# Confirm seek with new position (while playing)
http://track.wt-eu02.net/111111111111111/wt?p=414,st
&mi=video_16889
&mk=play
&mt1=293
&mt2=600
&bw=64000
&vol=100
&mut=0
&x=1253786695416