The MediaSessionActionDetails dictionary's seekOffset property is an optional value passed into the action handler callback to provide the number of seconds the seekforward and seekbackward actions should move the playback time by.


let mediaSessionActionDetails = { seekOffset: deltaTimeInSeconds };

let deltaTime = mediaSessionActionDetails.seekOffset;


A floating-point value indicating the time delta in seconds by which to move the playback position relative to its current timestamp. If the offset isn't specified, the user agent will choose an appropriate offset automatically. This is typically in the range of five to ten seconds.


Specification Status Comment
The definition of 'MediaSessionActionDetails.seekOffset' in that specification.
Draft Initial definition.

Browser compatibility

BCD tables only load in the browser

See also