【发布时间】:2014-04-14 20:42:31
【问题描述】:
在 youtube 上创建嵌入链接时,默认情况下标题为 on。嵌入 youtube 链接时,有没有办法禁用或关闭字幕?
documentation 表示:
Make captions automatically appear for an embedded video by adding "&cc_load_policy=1" to the video's embed code.
我需要反过来。
我尝试使用&cc_load_policiy=0,但没有奏效。我还找到了this 问题,但似乎没有一个答案有效。
我也在使用 VideoJS。所以也许有办法通过它来做到这一点......
谢谢
【问题讨论】:
-
我找到了small workaround for no captions in some browsers,以防万一你还需要它...
标签: javascript youtube video.js closed-captions