fix firefox subtitle does not show (#415)

This commit is contained in:
Myon authored and GitHub committed 2022-11-05 11:53:41 +08:00
1 parent 2a4b271d5f
commit f8af7c88c3
1 file changed
+1
+1
View File
@@ -87,6 +87,7 @@ export default class Subtitle extends Component {
$newTrack.default = true;
$newTrack.kind = kind;
$newTrack.src = url;
$newTrack.track.mode = 'hidden';
this.eventDestroy();
remove($track);