feat: 倍速与字幕就近弹出菜单

This commit is contained in:
orz12
2024-03-01 06:32:19 +08:00
parent 05143fc90e
commit b7e2fd63e3
3 changed files with 72 additions and 132 deletions

View File

@@ -582,6 +582,13 @@ class VideoHttp {
SmartDialog.showToast("字幕${i['lan_doc']}加载失败, ${res.data['message']}");
}
}
if (subtitlesVtt.isNotEmpty) {
subtitlesVtt.insert(0, {
'language': '',
'title': '关闭字幕',
'text': ""
});
}
return subtitlesVtt;
}
}