@chlp-tech/rpa-ui 0.0.4 → 0.0.6
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/media-play/index.js
CHANGED
|
@@ -96,16 +96,16 @@ var VideoPlay = function VideoPlay(_ref) {
|
|
|
96
96
|
},
|
|
97
97
|
crossOrigin: "anonymous"
|
|
98
98
|
}, /*#__PURE__*/React.createElement("source", {
|
|
99
|
-
src: mediaInfo.url,
|
|
99
|
+
src: mediaInfo.previewUrl || mediaInfo.url,
|
|
100
100
|
type: "video/mp4"
|
|
101
101
|
}), /*#__PURE__*/React.createElement("source", {
|
|
102
|
-
src: mediaInfo.url,
|
|
102
|
+
src: mediaInfo.previewUrl || mediaInfo.url,
|
|
103
103
|
type: "video/webm"
|
|
104
104
|
}), /*#__PURE__*/React.createElement("source", {
|
|
105
|
-
src: mediaInfo.url,
|
|
105
|
+
src: mediaInfo.previewUrl || mediaInfo.url,
|
|
106
106
|
type: "video/ogg"
|
|
107
107
|
}), /*#__PURE__*/React.createElement("source", {
|
|
108
|
-
src: mediaInfo.url,
|
|
108
|
+
src: mediaInfo.previewUrl || mediaInfo.url,
|
|
109
109
|
type: "video/avi"
|
|
110
110
|
})), /*#__PURE__*/React.createElement("img", {
|
|
111
111
|
src: Close,
|
|
@@ -140,7 +140,7 @@ var ReleaseVideoCard = function ReleaseVideoCard(props) {
|
|
|
140
140
|
}
|
|
141
141
|
}, props.time))), /*#__PURE__*/React.createElement(Space, {
|
|
142
142
|
direction: 'vertical',
|
|
143
|
-
size:
|
|
143
|
+
size: 10,
|
|
144
144
|
className: styles['card__header']
|
|
145
145
|
}, /*#__PURE__*/React.createElement("div", {
|
|
146
146
|
style: ((_props$mediaInfo = props.mediaInfo) === null || _props$mediaInfo === void 0 ? void 0 : _props$mediaInfo.type) === 'video' ? {} : {
|
|
@@ -150,10 +150,10 @@ var ReleaseVideoCard = function ReleaseVideoCard(props) {
|
|
|
150
150
|
lines: 1
|
|
151
151
|
}, "\u6807\u9898\uFF1A", props.title || '- -')), /*#__PURE__*/React.createElement("div", {
|
|
152
152
|
style: {
|
|
153
|
-
height:
|
|
153
|
+
height: 55
|
|
154
154
|
}
|
|
155
155
|
}, /*#__PURE__*/React.createElement(TextEllipsis, {
|
|
156
|
-
lines:
|
|
156
|
+
lines: 2
|
|
157
157
|
}, "\u63CF\u8FF0\uFF1A", props.desc || '- -')), /*#__PURE__*/React.createElement("div", {
|
|
158
158
|
className: styles['card__header__block']
|
|
159
159
|
}, /*#__PURE__*/React.createElement("div", {
|