哪里
问题描述:
答
只需添加这样../assets/captions-en.vtt
tracks: [{
file: "../assets/captions-en.vtt",
label: "Latino",
kind: "captions",
"default": true
},{
file: "../assets/captions-fr.vtt",
kind: "captions",
label: "Subtitulado"
}],
primary: 'html5',
像这样与我一起工作。
AFAIK,驱动器文件不是分层的,如完整路径,因为[单个文件可以有多个parentID](https://stackoverflow.com/questions/41546503/how-to-get-absolute-path-of -a-document-and-file-from-google-drive-using-java-dri#comment70301074_41546503),并且在[论坛]中也有说明(https://productforums.google.com/forum/#!msg/驱动/ h6OkYSrWZp0/cyjdTMZ7x8gJ)。您还可以从链接中获得解决方法,了解如何使用自定义代码获取完整文件路径。 –
您也可以按照[帮助页面](https://support.google.com/drive/answer/1372218?co=GENIE.Platform%3DDesktop&hl=en&oco=1)设置视频标题轨道。 –
谢谢我的朋友为你解答... –