watch.html:1 Unsafe attempt to load URL file:///C:/subtitle.vtt from frame with URL file:///C:/watch.html. 'file:' URLs are treated as unique security origins.
这是我在尝试向视频添加字幕时在 Chrome 控制台中遇到的错误。字幕在 Internet Explorer 上运行,没有任何错误消息。我正在运行的代码:
<video controls>
<source src="C:\video.mp4" type="video/mp4">
<track src="C:\subtitle.vtt" kind="subtitles" srclang="en" label="English">
</video>
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)