We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS

SpeechSynthesisEvent.elapsedTime

This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The elapsedTime read-only property of the SpeechSynthesisUtterance interface returns the elapsed time in seconds after the SpeechSynthesisUtterance.text started being spoken that the event was triggered at.

Syntax

event.elapsedTime;

Value

A float.

Examples

utterThis.onboundary = function(event) {
  console.log(event.name + ' boundary reached after ' + event.elapsedTime + ' seconds.');
}

Specifications

Specification Status Comment
Web Speech API
The definition of 'elapsedTime' in that specification.
Draft  

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support33 Yes49 No217
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support3333 Yes No No7.1 ?

See also

Document Tags and Contributors

Contributors to this page: lucian95, aarongustafson, abbycar, chrisdavidmills
Last updated by: lucian95,