Refactor Control class to update control option variables and element references

This commit is contained in:
Harvey Zack committed 2024-10-21 18:26:06 +08:00
1 parent a01782732d
commit bb3fc27427
4 files changed
+28 -34

No files matched your search

+1 -1
View File
@@ -27,7 +27,7 @@ var art = new Artplayer({
// Show audios in setting
setting: true,
// Get the audio name from track
getName: (track) => track.lang,
getName: (track) => track.lang.toUpperCase(),
// I18n
title: 'Audio',
auto: 'Auto',