@agentscope-ai/design 1.0.25-beta.1767767358521 → 1.0.25-beta.1767768224447
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.
|
@@ -105,8 +105,9 @@ var Video = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
105
105
|
else if ('webkitAudioDecodedByteCount' in videoRef.current) {
|
|
106
106
|
// @ts-ignore
|
|
107
107
|
setEnableVolume(videoRef.current.webkitAudioDecodedByteCount > 0);
|
|
108
|
+
} else {
|
|
109
|
+
setEnableVolume(false);
|
|
108
110
|
}
|
|
109
|
-
setEnableVolume(false);
|
|
110
111
|
}
|
|
111
112
|
(_videoProps$onCanPlay = videoProps.onCanPlayThrough) === null || _videoProps$onCanPlay === void 0 || _videoProps$onCanPlay.call(videoProps, e);
|
|
112
113
|
};
|