From 5b41407d71c34145cf0110d44336a657738edb06 Mon Sep 17 00:00:00 2001 From: Owen Hart Date: Fri, 4 Feb 2022 12:32:34 -0800 Subject: [PATCH 1/3] Fix lint --- DRMType.js | 2 +- Video.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/DRMType.js b/DRMType.js index 473536b2..d873bd69 100644 --- a/DRMType.js +++ b/DRMType.js @@ -2,5 +2,5 @@ export default { WIDEVINE: 'widevine', PLAYREADY: 'playready', CLEARKEY: 'clearkey', - FAIRPLAY: 'fairplay' + FAIRPLAY: 'fairplay', }; diff --git a/Video.js b/Video.js index b492d48b..e1eb6b3b 100644 --- a/Video.js +++ b/Video.js @@ -249,7 +249,7 @@ export default class Video extends Component { NativeModules.VideoManager.setLicenseError && NativeModules.VideoManager.setLicenseError(error, findNodeHandle(this._root)); }); } else { - NativeModules.VideoManager.setLicenseError && NativeModules.VideoManager.setLicenseError("No spc received", findNodeHandle(this._root)); + NativeModules.VideoManager.setLicenseError && NativeModules.VideoManager.setLicenseError('No spc received', findNodeHandle(this._root)); } } } @@ -403,7 +403,7 @@ Video.propTypes = { ]), drm: PropTypes.shape({ type: PropTypes.oneOf([ - DRMType.CLEARKEY, DRMType.FAIRPLAY, DRMType.WIDEVINE, DRMType.PLAYREADY + DRMType.CLEARKEY, DRMType.FAIRPLAY, DRMType.WIDEVINE, DRMType.PLAYREADY, ]), licenseServer: PropTypes.string, headers: PropTypes.shape({}), From 9398a15fc6976803b8664dead13e74f333d027da Mon Sep 17 00:00:00 2001 From: Owen Hart Date: Fri, 4 Feb 2022 16:29:58 -0800 Subject: [PATCH 2/3] Update shaka-player --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index cb8d146e..b7652584 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "dependencies": { "keymirror": "^0.1.1", "prop-types": "^15.7.2", - "shaka-player": "^2.5.9" + "shaka-player": "^3.3.1" }, "scripts": { "lint": "yarn eslint *.js" From 3ced0826ba299df508e8f5f0490d1586a82e97c5 Mon Sep 17 00:00:00 2001 From: Eran Hammer Date: Fri, 22 Apr 2022 00:14:27 -0700 Subject: [PATCH 3/3] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b7652584..d38df4c3 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "dependencies": { "keymirror": "^0.1.1", "prop-types": "^15.7.2", - "shaka-player": "^3.3.1" + "shaka-player": "^3.3.2" }, "scripts": { "lint": "yarn eslint *.js"