Skip to content

Commit fc3b80a

Browse files
grabofusrobwalch
authored andcommitted
fix: fall back to config key systems
1 parent e3e9659 commit fc3b80a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/loader/key-loader.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,8 @@ export default class KeyLoader implements ComponentAPI {
126126
});
127127
}
128128
}
129-
} else if (this.config.requireKeySystemAccessOnStart) {
129+
}
130+
if (this.config.requireKeySystemAccessOnStart) {
130131
const keySystemsInConfig = getKeySystemsForConfig(this.config);
131132
if (keySystemsInConfig.length) {
132133
return this.emeController.getKeySystemAccess(keySystemsInConfig);

0 commit comments

Comments
 (0)