Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[html] 第118天 有使用过HTML5的跟踪元素吗?说说你对它的理解 #1053

Open
haizhilin2013 opened this issue Aug 11, 2019 · 3 comments
Labels
html html

Comments

@haizhilin2013
Copy link
Collaborator

第118天 有使用过HTML5的跟踪元素吗?说说你对它的理解

@haizhilin2013 haizhilin2013 added the html html label Aug 11, 2019
@nowherebutup
Copy link

没用过,查询资料得知,跟踪元素向视频和音频提供字幕和说明文字的方法

<video width="320" height="240" controls>
  <source src="forrest_gump.mp4" type="video/mp4">
  <source src="forrest_gump.ogg" type="video/ogg">
  <track src="subtitles_en.vtt" kind="subtitles" srclang="en" label="English">
  <track src="subtitles_no.vtt" kind="subtitles" srclang="no" label="Norwegian">
</video>

@qp97vi
Copy link

qp97vi commented Aug 12, 2019

第一次了解 跟踪元素 向视频和音频提供字幕和说明文字的方法
文档链接https://www.html5rocks.com/zh/tutorials/track/basics/

@ghost
Copy link

ghost commented Aug 12, 2019

“跟踪元素”这个名字不是很恰当。虽然“跟踪”和“轨道”都可以体现出其包含的数据随时间变化,但考虑在已有的术语中,"audio track" 被翻译成 “音频轨道”/“音轨”,对于 <track> 元素(包含的内容为“text track”)的翻译应该为“轨道元素”/“文字轨道元素”更为恰当(MDN 也采取了“轨道”这个名称)。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
html html
Projects
None yet
Development

No branches or pull requests

3 participants