Use lang_original if subtitle name is empty
This commit is contained in:
parent
174ad8d81e
commit
4a0cbce575
2 changed files with 2 additions and 2 deletions
|
|
@ -73,7 +73,7 @@ window.VideoJSPlayer = class VideoJSPlayer extends Player
|
|||
vid=#{data.meta.gdrive_subtitles.vid}"
|
||||
kind: 'subtitles'
|
||||
srclang: subt.lang
|
||||
label: subt.name
|
||||
label: subt.name or subt.lang_original
|
||||
).appendTo(video)
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue