Skip to content

Commit

Permalink
fix: config keySystem isn't boolean (#283)
Browse files Browse the repository at this point in the history
check for existence string instead boolean
  • Loading branch information
Yuvalke authored Nov 7, 2019
1 parent 782e696 commit 4280dc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/utils/setup-helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ function configureLGTVDefaultOptions(options: KPOptionsObject): void {
function configureEdgeDRMDefaultOptions(options: KPOptionsObject): void {
if (Env.browser.name === 'Edge') {
const keySystem = Utils.Object.getPropertyPath(options, 'drm.keySystem');
if (typeof keySystem !== 'boolean') {
if (!keySystem) {
options = Utils.Object.createPropertyPath(options, 'drm.keySystem', DrmScheme.PLAYREADY);
}
}
Expand Down

0 comments on commit 4280dc5

Please sign in to comment.