HTMLTrackElement:src 属性

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.

HTMLTrackElement.src 属性反映 <track> 元素的 src 属性的值,其指示文本轨道数据的 URL。

一个包含文本轨道数据的 URL 字符串。

示例

js
// 即将推出

规范

Specification
HTML Standard
# dom-track-src

浏览器兼容性

BCD tables only load in the browser

参见