expiration property
The time after which the keys in the current session will expire and can no longer be used to decrypt media data, or NaN if no such time exists.
This property is read-only.
Syntax
| JavaScript |
|---|
expiration = object.expiration |
Property values
Type: Unrestricted double
The time after which the keys in the current session will expire.
Standards information
Remarks
The time is measured in milliseconds since January 1, 1970 UTC.
This value may change during the session lifetime.
As of Microsoft Edge, this property is supported. For more information on EME implementation updates in Microsoft Edge, see Encrypted Media Extensions updates.
See also
Show: