yootd 0.2.41 → 0.2.42
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.
@@ -1,7 +1,7 @@
|
|
1
|
-
.yot-preview-phone {
|
2
|
-
width: 398px;
|
3
|
-
height: 829px;
|
4
|
-
background-size: 100% 100%;
|
5
|
-
padding: 96px 36px 20px 36px;
|
6
|
-
box-sizing: border-box;
|
7
|
-
}
|
1
|
+
.yot-preview-phone {
|
2
|
+
width: 398px;
|
3
|
+
height: 829px;
|
4
|
+
background-size: 100% 100%;
|
5
|
+
padding: 96px 36px 20px 36px;
|
6
|
+
box-sizing: border-box;
|
7
|
+
}
|
@@ -60,7 +60,8 @@ export var VideoPlayer = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
60
60
|
onPlayStateChange = _ref.onPlayStateChange,
|
61
61
|
onCapture = _ref.onCapture,
|
62
62
|
onCurrentTimeChange = _ref.onCurrentTimeChange,
|
63
|
-
onError = _ref.onError
|
63
|
+
onError = _ref.onError,
|
64
|
+
poster = _ref.poster;
|
64
65
|
var containerRef = useRef(null);
|
65
66
|
var pcRef = useRef(null);
|
66
67
|
var videoRef = useRef(null);
|
@@ -1071,6 +1072,7 @@ export var VideoPlayer = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
1071
1072
|
}, "\u89C6\u9891\u6B63\u5728\u7F13\u51B2\u4E2D...")
|
1072
1073
|
}, /*#__PURE__*/React.createElement("video", {
|
1073
1074
|
ref: videoRef,
|
1075
|
+
poster: poster,
|
1074
1076
|
muted: muted !== null && muted !== void 0 ? muted : false,
|
1075
1077
|
autoPlay: autoPlay !== null && autoPlay !== void 0 ? autoPlay : false,
|
1076
1078
|
onCanPlay: handleCanPlay,
|