fix: fixed captions when switching source (#2261)

This commit is contained in:
Jack G 2021-08-24 21:15:45 +08:00 committed by GitHub
parent 784f36921b
commit 882952bba6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -956,6 +956,7 @@ class Plyr {
*/
set currentTrack(input) {
captions.set.call(this, input, false);
captions.setup();
}
/**