wargerm 0.7.10 → 0.7.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.esm.js +5 -3
- package/dist/index.js +5 -3
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
@@ -8576,7 +8576,7 @@ var index$6 = /*#__PURE__*/forwardRef(VideoPlayer$1);
|
|
8576
8576
|
}, window.dhPlayerControl || {}, {
|
8577
8577
|
noCardPlayerFlag: false,
|
8578
8578
|
DHPlayerVersion: '',
|
8579
|
-
pkgDHPlayerVerion: [
|
8579
|
+
pkgDHPlayerVerion: [2305221636, 2305221636] // 配套的插件版本号
|
8580
8580
|
|
8581
8581
|
}); //在Function的原型上自定义myBind()方法
|
8582
8582
|
|
@@ -9762,7 +9762,7 @@ var index$6 = /*#__PURE__*/forwardRef(VideoPlayer$1);
|
|
9762
9762
|
onbeforeunload: function onbeforeunload() {
|
9763
9763
|
var _this5 = this;
|
9764
9764
|
|
9765
|
-
this.destroy().then(function () {
|
9765
|
+
this.destroy(true).then(function () {
|
9766
9766
|
socketClose.call(_this5);
|
9767
9767
|
});
|
9768
9768
|
},
|
@@ -9952,6 +9952,7 @@ var index$6 = /*#__PURE__*/forwardRef(VideoPlayer$1);
|
|
9952
9952
|
destroy: function destroy() {
|
9953
9953
|
var _this7 = this;
|
9954
9954
|
|
9955
|
+
var isRefresh = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
9955
9956
|
return new Promise(function (resolve, reject) {
|
9956
9957
|
var that = window.dhPlayerControl.videoList[_this7.setting.videoId];
|
9957
9958
|
|
@@ -9961,7 +9962,8 @@ var index$6 = /*#__PURE__*/forwardRef(VideoPlayer$1);
|
|
9961
9962
|
_this7.send({
|
9962
9963
|
method: 'window.destroy',
|
9963
9964
|
info: {
|
9964
|
-
hwnd: that.setting.hwnd
|
9965
|
+
hwnd: that.setting.hwnd,
|
9966
|
+
isRefresh: isRefresh
|
9965
9967
|
}
|
9966
9968
|
});
|
9967
9969
|
|
package/dist/index.js
CHANGED
@@ -8620,7 +8620,7 @@ var index$6 = /*#__PURE__*/React.forwardRef(VideoPlayer$1);
|
|
8620
8620
|
}, window.dhPlayerControl || {}, {
|
8621
8621
|
noCardPlayerFlag: false,
|
8622
8622
|
DHPlayerVersion: '',
|
8623
|
-
pkgDHPlayerVerion: [
|
8623
|
+
pkgDHPlayerVerion: [2305221636, 2305221636] // 配套的插件版本号
|
8624
8624
|
|
8625
8625
|
}); //在Function的原型上自定义myBind()方法
|
8626
8626
|
|
@@ -9806,7 +9806,7 @@ var index$6 = /*#__PURE__*/React.forwardRef(VideoPlayer$1);
|
|
9806
9806
|
onbeforeunload: function onbeforeunload() {
|
9807
9807
|
var _this5 = this;
|
9808
9808
|
|
9809
|
-
this.destroy().then(function () {
|
9809
|
+
this.destroy(true).then(function () {
|
9810
9810
|
socketClose.call(_this5);
|
9811
9811
|
});
|
9812
9812
|
},
|
@@ -9996,6 +9996,7 @@ var index$6 = /*#__PURE__*/React.forwardRef(VideoPlayer$1);
|
|
9996
9996
|
destroy: function destroy() {
|
9997
9997
|
var _this7 = this;
|
9998
9998
|
|
9999
|
+
var isRefresh = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
9999
10000
|
return new Promise(function (resolve, reject) {
|
10000
10001
|
var that = window.dhPlayerControl.videoList[_this7.setting.videoId];
|
10001
10002
|
|
@@ -10005,7 +10006,8 @@ var index$6 = /*#__PURE__*/React.forwardRef(VideoPlayer$1);
|
|
10005
10006
|
_this7.send({
|
10006
10007
|
method: 'window.destroy',
|
10007
10008
|
info: {
|
10008
|
-
hwnd: that.setting.hwnd
|
10009
|
+
hwnd: that.setting.hwnd,
|
10010
|
+
isRefresh: isRefresh
|
10009
10011
|
}
|
10010
10012
|
});
|
10011
10013
|
|