如何删除 WebVTT 生成的标题的字符轮廓?

问题描述

我想用 WebVTT 文件为视频添加标题,并注意到字符会自动勾勒出轮廓(附加图片中的黑线,如 html/CSS 的“文本笔划”),但我希望删除此轮廓。我可以使用特定的 CSS 来实现这一点吗? 请参考附件图片和我的 CSS 以及 WebVTT 文件。提前感谢您的帮助。

video::cue {
    font-size: 1.0em;
    font-family: "Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
    font-weight: bold;
    background-color: transparent;
    background-image: transparent;
}

video::cue(c) {
    font-family: '"Helvetica Neue",sans-serif;
      font-weight: bold;
}

video::cue(:current) {
    color: #FFFFFF;
  
}

video::cue(:past) {
    color: #FFFFFF;
}
video::cue(:future) {
    color: #c6c6c6;
        opacity: 0.7;
}
<div class="caption">
<video controls="" playsinline="" src="https://www.voice.post-newsletter.org/wp-content/uploads/2021/04/0422.mp4" width="1000"><track kind="subtitles" srclang="en" default="English Subtitles" label="English Subtitles" src="https://www.voice.post-newsletter.org/wp-content/uploads/2021/04/0422_1.vtt"></video>
</div>

enter image description here

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...