Merge pull request #2587 from owjsub/update-shaka-player
Bump shaka-player to 3.3.2
This commit is contained in:
commit
2cb2f682de
@ -2,5 +2,5 @@ export default {
|
|||||||
WIDEVINE: 'widevine',
|
WIDEVINE: 'widevine',
|
||||||
PLAYREADY: 'playready',
|
PLAYREADY: 'playready',
|
||||||
CLEARKEY: 'clearkey',
|
CLEARKEY: 'clearkey',
|
||||||
FAIRPLAY: 'fairplay'
|
FAIRPLAY: 'fairplay',
|
||||||
};
|
};
|
||||||
|
4
Video.js
4
Video.js
@ -249,7 +249,7 @@ export default class Video extends Component {
|
|||||||
NativeModules.VideoManager.setLicenseError && NativeModules.VideoManager.setLicenseError(error, findNodeHandle(this._root));
|
NativeModules.VideoManager.setLicenseError && NativeModules.VideoManager.setLicenseError(error, findNodeHandle(this._root));
|
||||||
});
|
});
|
||||||
} else {
|
} 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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -405,7 +405,7 @@ Video.propTypes = {
|
|||||||
]),
|
]),
|
||||||
drm: PropTypes.shape({
|
drm: PropTypes.shape({
|
||||||
type: PropTypes.oneOf([
|
type: PropTypes.oneOf([
|
||||||
DRMType.CLEARKEY, DRMType.FAIRPLAY, DRMType.WIDEVINE, DRMType.PLAYREADY
|
DRMType.CLEARKEY, DRMType.FAIRPLAY, DRMType.WIDEVINE, DRMType.PLAYREADY,
|
||||||
]),
|
]),
|
||||||
licenseServer: PropTypes.string,
|
licenseServer: PropTypes.string,
|
||||||
headers: PropTypes.shape({}),
|
headers: PropTypes.shape({}),
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"keymirror": "^0.1.1",
|
"keymirror": "^0.1.1",
|
||||||
"prop-types": "^15.7.2",
|
"prop-types": "^15.7.2",
|
||||||
"shaka-player": "^2.5.9"
|
"shaka-player": "^3.3.2"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"lint": "eslint ."
|
"lint": "eslint ."
|
||||||
|
Loading…
Reference in New Issue
Block a user