VideoPlaybackQuality

A VideoPlaybackQuality object is returned by the HTMLVideoElement.getVideoPlaybackQuality() method and contains metrics that can be used to determine the playback quality of a video.

特性

VideoPlaybackQuality interface doesn't inherit properties from any other interfaces.

creationTime 只读
A DOMHighResTimeStamp containing the time in miliseconds between the start of the navigation and the creation of the object.
droppedVideoFrames 只读
An unsigned long giving the number of video frames dropped since the creation of the associated HTMLVideoElement .
totalVideoFrames 只读
An unsigned long giving the number of video frames created and dropped since the creation of the associated HTMLVideoElement .

过时特性

corruptedVideoFrames 只读
An unsigned long giving the number of video frames corrupted since the creation of the associated HTMLVideoElement . A corrupted frame may be created or dropped.
totalFrameDelay 只读
A double containing the sum of the frame delay since the creation of the associated HTMLVideoElement . The frame delay is the difference between a frame's theoretical presentation time and its effective display time.

方法

VideoPlaybackQuality interface has no methods, and does not inherit any.

规范

规范 状态 Comment
Media Playback Quality
The definition of 'VideoPlaybackQuality' in that specification.
编者草案 初始定义。

浏览器兼容性

更新 GitHub 上的兼容性数据
Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari Android webview Chrome for Android Firefox for Android Opera for Android Safari on iOS Samsung Internet
VideoPlaybackQuality
Chrome 23 Edge 12 Firefox 42
42
25 — 42
注意事项 Disabled
Limited support to an allowed list of sites, for example YouTube, Netflix, and other popular streaming sites. The limitation was removed when Media Source Extensions was enabled by default in Firefox 42.
Disabled From version 25 until version 42 (exclusive): this feature is behind the media.mediasource.enabled preference. To change preferences in Firefox, visit about:config.
IE 11
注意事项
11
注意事项
Only works on Windows 8+.
Opera 15 Safari 8 WebView Android 4.4.3 Chrome Android ? Firefox Android 不支持 No Opera Android 14 Safari iOS 不支持 No Samsung Internet Android ?
corruptedVideoFrames
弃用 非标
Chrome 80 Edge 12 Firefox 不支持 42 — 73
42 — 73
25 — 42
注意事项 Disabled
Limited support to an allowed list of sites, for example YouTube, Netflix, and other popular streaming sites. The limitation was removed when Media Source Extensions was enabled by default in Firefox 42.
Disabled From version 25 until version 42 (exclusive): this feature is behind the media.mediasource.enabled preference. To change preferences in Firefox, visit about:config.
IE 11
注意事项
11
注意事项
Only works on Windows 8+.
Opera 67 Safari 8 WebView Android 80 Chrome Android 80 Firefox Android 不支持 No Opera Android 不支持 No Safari iOS 不支持 No Samsung Internet Android 不支持 No
creationTime
Chrome 23 Edge 12 Firefox 42
42
25 — 42
注意事项 Disabled
Limited support to an allowed list of sites, for example YouTube, Netflix, and other popular streaming sites. The limitation was removed when Media Source Extensions was enabled by default in Firefox 42.
Disabled From version 25 until version 42 (exclusive): this feature is behind the media.mediasource.enabled preference. To change preferences in Firefox, visit about:config.
IE 11
注意事项
11
注意事项
Only works on Windows 8+.
Opera 15 Safari 8 WebView Android 4.4.3 Chrome Android ? Firefox Android 不支持 No Opera Android 14 Safari iOS 不支持 No Samsung Internet Android ?
droppedVideoFrames
Chrome 23 Edge 12 Firefox 42
42
25 — 42
注意事项 Disabled
Limited support to an allowed list of sites, for example YouTube, Netflix, and other popular streaming sites. The limitation was removed when Media Source Extensions was enabled by default in Firefox 42.
Disabled From version 25 until version 42 (exclusive): this feature is behind the media.mediasource.enabled preference. To change preferences in Firefox, visit about:config.
IE 11
注意事项
11
注意事项
Only works on Windows 8+.
Opera 15 Safari 8 WebView Android 4.4.3 Chrome Android ? Firefox Android 不支持 No Opera Android 14 Safari iOS 不支持 No Samsung Internet Android ?
totalFrameDelay
弃用 非标
Chrome 23 Edge 12 Firefox 不支持 25 — 30
注意事项 Disabled
25 — 30
注意事项 Disabled
Limited support to an allowed list of sites, for example YouTube, Netflix, and other popular streaming sites.
Disabled From version 25 until version 30 (exclusive): this feature is behind the media.mediasource.enabled preference. To change preferences in Firefox, visit about:config.
IE 11
注意事项
11
注意事项
Only works on Windows 8+.
Opera 15 Safari 8 WebView Android 4.4.3 Chrome Android ? Firefox Android 不支持 No Opera Android 14 Safari iOS 不支持 No Samsung Internet Android ?
totalVideoFrames
Chrome 23 Edge 12 Firefox 42
42
25 — 42
注意事项 Disabled
Limited support to an allowed list of sites, for example YouTube, Netflix, and other popular streaming sites. The limitation was removed when Media Source Extensions was enabled by default in Firefox 42.
Disabled From version 25 until version 42 (exclusive): this feature is behind the media.mediasource.enabled preference. To change preferences in Firefox, visit about:config.
IE 11
注意事项
11
注意事项
Only works on Windows 8+.
Opera 15 Safari 8 WebView Android 4.4.3 Chrome Android ? Firefox Android 不支持 No Opera Android 14 Safari iOS 不支持 No Samsung Internet Android ?

图例

完整支持
完整支持
不支持
不支持
兼容性未知
兼容性未知
实验。期望将来行为有所改变。
实验。期望将来行为有所改变。
非标。预期跨浏览器支持较差。
弃用。不要用于新网站。
弃用。不要用于新网站。
见实现注意事项。
用户必须明确启用此特征。
用户必须明确启用此特征。

另请参阅

  1. VideoPlaybackQuality
  2. 特性
    1. corruptedVideoFrames
    2. creationTime
    3. droppedVideoFrames
    4. totalFrameDelay
    5. totalVideoFrames
  3. Related pages for HTML DOM
    1. BeforeUnloadEvent
    2. DOMStringMap
    3. ErrorEvent
    4. GlobalEventHandlers
    5. HTMLAnchorElement
    6. HTMLAreaElement
    7. HTMLAudioElement
    8. HTMLBRElement
    9. HTMLBaseElement
    10. HTMLBaseFontElement
    11. HTMLBodyElement
    12. HTMLButtonElement
    13. HTMLCanvasElement
    14. HTMLContentElement
    15. HTMLDListElement
    16. HTMLDataElement
    17. HTMLDataListElement
    18. HTMLDialogElement
    19. HTMLDivElement
    20. HTMLDocument
    21. HTMLElement
    22. HTMLEmbedElement
    23. HTMLFieldSetElement
    24. HTMLFormControlsCollection
    25. HTMLFormElement
    26. HTMLFrameSetElement
    27. HTMLHRElement
    28. HTMLHeadElement
    29. HTMLHeadingElement
    30. HTMLHtmlElement
    31. HTMLIFrameElement
    32. HTMLImageElement
    33. HTMLInputElement
    34. HTMLIsIndexElement
    35. HTMLKeygenElement
    36. HTMLLIElement
    37. HTMLLabelElement
    38. HTMLLegendElement
    39. HTMLLinkElement
    40. HTMLMapElement
    41. HTMLMediaElement
    42. HTMLMetaElement
    43. HTMLMeterElement
    44. HTMLModElement
    45. HTMLOListElement
    46. HTMLObjectElement
    47. HTMLOptGroupElement
    48. HTMLOptionElement
    49. HTMLOptionsCollection
    50. HTMLOutputElement
    51. HTMLParagraphElement
    52. HTMLParamElement
    53. HTMLPictureElement
    54. HTMLPreElement
    55. HTMLProgressElement
    56. HTMLQuoteElement
    57. HTMLScriptElement
    58. HTMLSelectElement
    59. HTMLShadowElement
    60. HTMLSourceElement
    61. HTMLSpanElement
    62. HTMLStyleElement
    63. HTMLTableCaptionElement
    64. HTMLTableCellElement
    65. HTMLTableColElement
    66. HTMLTableDataCellElement
    67. HTMLTableElement
    68. HTMLTableHeaderCellElement
    69. HTMLTableRowElement
    70. HTMLTableSectionElement
    71. HTMLTemplateElement
    72. HTMLTextAreaElement
    73. HTMLTimeElement
    74. HTMLTitleElement
    75. HTMLTrackElement
    76. HTMLUListElement
    77. HTMLUnknownElement
    78. HTMLVideoElement
    79. HashChangeEvent
    80. History
    81. ImageData
    82. Location
    83. MessageChannel
    84. MessageEvent
    85. MessagePort
    86. Navigator
    87. NavigatorGeolocation
    88. NavigatorID
    89. NavigatorLanguage
    90. NavigatorOnLine
    91. NavigatorPlugins
    92. PageTransitionEvent
    93. Plugin
    94. PluginArray
    95. PopStateEvent
    96. PortCollection
    97. PromiseRejectionEvent
    98. RadioNodeList
    99. Transferable
    100. ValidityState
    101. Window
    102. WindowBase64
    103. WindowEventHandlers
    104. WindowTimers