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({}),