This is an experimental technology
Because this technology's specification has not stabilized, check the compatibility table for usage in various browsers. Also note that the syntax and behavior of an experimental technology is subject to change in future versions of browsers as the specification changes.
This page is not complete.
timestampOffset property of the
SourceBuffer interface controls the offset applied to timestamps inside media segments that are appended to the
The initial value of
timestampOffset is 0.
var myOffset = sourceBuffer.timestampOffset; sourceBuffer.timestampOffset = 2.5;
A double, with the offset amount expressed in seconds.
The following errors may be thrown when setting a new value for this property.
||One or more of the
|Media Source Extensions
The definition of 'timestampOffset' in that specification.
|Candidate Recommendation||Initial definition.|
|Feature||Chrome||Edge||Firefox (Gecko)||Internet Explorer||Opera||Safari (WebKit)|
|Basic support||23||(Yes)||25.0 (25.0)
|Feature||Android||Edge||Firefox Mobile (Gecko)||Firefox OS (Gecko)||IE Phone||Opera Mobile||Safari Mobile|
|No support||11||30||No support|
 Available after switching the
true. In addition, support was limited to a whitelist of sites, for example YouTube, Netflix, and other popular streaming sites. The whitelist was removed and Media Source Extensions was enabled by default in 42+ for all sites.
 Only works on Windows 8+.