Skip to content

Commit

Permalink
fix(FEC-9632): edge play playready on mac os when it's not supported (#…
Browse files Browse the repository at this point in the history
…301)


Solution: play playready drm for edge only on windows
  • Loading branch information
Yuvalke authored Jan 29, 2020
1 parent 19eb277 commit efb4665
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/common/utils/setup-helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,11 @@ function configureEdgeDRMDefaultOptions(options: KPOptionsObject): void {
if (Env.browser.name === 'Edge') {
const keySystem = Utils.Object.getPropertyPath(options, 'drm.keySystem');
if (!keySystem) {
options = Utils.Object.createPropertyPath(options, 'drm.keySystem', DrmScheme.PLAYREADY);
if (Env.os.name === 'Windows') {
options = Utils.Object.createPropertyPath(options, 'drm.keySystem', DrmScheme.PLAYREADY);
} else {
options = Utils.Object.createPropertyPath(options, 'drm.keySystem', DrmScheme.WIDEVINE);
}
}
}
}
Expand Down

0 comments on commit efb4665

Please sign in to comment.