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.
23 — 31 -webkit-
|Feature||Android webview||Chrome for Android||Edge mobile||Firefox for Android||Opera Android||iOS Safari||Samsung Internet|
1. Limited support to a whitelist of sites, for example YouTube, Netflix, and other popular streaming sites. The whitelist was removed when Media Source Extensions was enabled by default in Firefox 42.
2. From version 25 until version 42 (exclusive): this feature is behind the
media.mediasource.enabled preference. To change preferences in Firefox, visit about:config.
3. Only works on Windows 8+.