Can CSS be applied to element

前端 未结 6 1846
余生分开走
余生分开走 2021-01-07 05:17

So I ran into problem while writing my own customized HTML5 video player. Can any CSS rules be applied to element? Any nasty hacks? I want to cont

6条回答
  •  猫巷女王i
    2021-01-07 06:22

    There are many good options here, but maybe my solution will help someone.

    On a past project for which I had to implement FCC-compliant options for styling subtitles, I ended up using VTT.js, which renders the cues in a

    or a over the . Add a css rule that reaches this node, and you have full CSS control over it.

提交回复
热议问题