@faintlines/video-player
Advanced tools
Comparing version 1.8.0 to 1.8.1
@@ -805,3 +805,7 @@ import classnames from 'classnames'; | ||
setPlaying(true); | ||
return playerRef === null || playerRef === void 0 ? void 0 : (_playerRef$current3 = playerRef.current) === null || _playerRef$current3 === void 0 ? void 0 : (_playerRef$current3$g = _playerRef$current3.getInternalPlayer()) === null || _playerRef$current3$g === void 0 ? void 0 : _playerRef$current3$g.play()["catch"](NOOP); | ||
var promise = playerRef === null || playerRef === void 0 ? void 0 : (_playerRef$current3 = playerRef.current) === null || _playerRef$current3 === void 0 ? void 0 : (_playerRef$current3$g = _playerRef$current3.getInternalPlayer()) === null || _playerRef$current3$g === void 0 ? void 0 : _playerRef$current3$g.play(); | ||
if (promise) { | ||
promise = promise["catch"](NOOP); | ||
} | ||
return promise; | ||
}, | ||
@@ -884,3 +888,6 @@ pause: function pause() { | ||
var _playerRef$current8, _playerRef$current8$g; | ||
return playerRef === null || playerRef === void 0 ? void 0 : (_playerRef$current8 = playerRef.current) === null || _playerRef$current8 === void 0 ? void 0 : (_playerRef$current8$g = _playerRef$current8.getInternalPlayer()) === null || _playerRef$current8$g === void 0 ? void 0 : _playerRef$current8$g.play()["catch"](NOOP); | ||
var promise = playerRef === null || playerRef === void 0 ? void 0 : (_playerRef$current8 = playerRef.current) === null || _playerRef$current8 === void 0 ? void 0 : (_playerRef$current8$g = _playerRef$current8.getInternalPlayer()) === null || _playerRef$current8$g === void 0 ? void 0 : _playerRef$current8$g.play(); | ||
if (promise) { | ||
promise["catch"](NOOP); | ||
} | ||
}, 3000); | ||
@@ -887,0 +894,0 @@ return; |
{ | ||
"name": "@faintlines/video-player", | ||
"version": "1.8.0", | ||
"version": "1.8.1", | ||
"description": "", | ||
@@ -30,3 +30,3 @@ "license": "UNLICENSED", | ||
}, | ||
"gitHead": "8ed3bb1c193063382989a34014c7a74b1208c950" | ||
"gitHead": "77352a01e2e030da76fba6dccb0bad618b203c9e" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
97804
1049