我正在尝试在视频字幕上添加参考编号作为上标。
有什么方法可以申请或另一个上标格式标记来实现与代码片段中相同的预期结果?
https://codepen.io/fraigo/pen/ExvVEze
<div>Expected: Subtitle line<sup>1,2,3</sup></div>
<video poster="img/video-background.aa0792cb.jpg" preload src="https://file-examples-com.github.io/uploads/2017/04/file_example_MP4_480_1_5MG.mp4" playsinline class="video-content" controls="controls" width="480" height="270">
<track label="English" default="" kind="subtitles" srclang="en" src="data:text/vtt;charset=utf-8;base64,V0VCVlRUIEZJTEUNCg0KMQ0KMDA6MDA6MDAuMTAwIC0tPiAwMDowMDowNS4wMDANClN1YnRpdGxlIGxpbmU8c3VwPjEsMiwzPC9zdXA+">
</video>
VTT 文件内容(base64 编码为data:text/vtt;charset=utf-8;base64,V0VCVlRUIEZJTEUNCg0KMQ0KMDA6MDA6MDAuMTAwIC0tPiAwMDowMDowNS4wMDANClN1YnRpdGxlIGxpbmU8c3VwPjEsMiwzPC9zdXA+
)
WEBVTT FILE
1
00:00:00.100 --> 00:00:05.000
Subtitle line<sup>1,2,3</sup>