feat(sub): video arttemp
This commit is contained in:
parent
d2fc4768fb
commit
103373f0db
|
|
@ -10,6 +10,6 @@
|
|||
{{ if url }}src="{{ url }}"{{ /if }}
|
||||
>
|
||||
{{ if enableSubtitle }}
|
||||
<track kind="metadata" default src="{{ subtitle.url }}"></track>
|
||||
<track class="dplayer-subtrack" kind="metadata" default src="{{ typeof subtitle.url === 'string' ? subtitle.url : subtitle.url[subtitle.index].subtitle }}"></track>
|
||||
{{ /if }}
|
||||
</video>
|
||||
Loading…
Reference in New Issue