@chlp-tech/rpa-ui 0.0.4 → 0.0.5

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.
@@ -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,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chlp-tech/rpa-ui",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "description": "rpa-ui",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",