This is an experimental technology
Because this technology's specification has not stabilized, check the compatibility table for the proper prefixes to use 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 spec 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||Firefox (Gecko)||Internet Explorer||Opera||Safari (WebKit)|
|Basic support||23||25.0 (25.0)
|Feature||Android||Firefox Mobile (Gecko)||Firefox OS (Gecko)||IE Phone||Opera Mobile||Safari Mobile|
|Not supported||11||30||Not supported|
 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+.
© 2016 Mozilla Contributors
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.