@meduza/ui-kit-2 1.0.7 → 1.0.8

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.
@@ -1182,7 +1182,8 @@ const EmbedBlock = ({
1182
1182
  large_url: large,
1183
1183
  gif_url: gifUrl,
1184
1184
  mp4_url: mp4Url,
1185
- video_file_path: videoFileUrl
1185
+ video_file_path: videoFileUrl,
1186
+ thumbnail_url: thumbnailUrl
1186
1187
  }
1187
1188
  },
1188
1189
  styleContext,
@@ -1251,10 +1252,10 @@ const EmbedBlock = ({
1251
1252
  }, /*#__PURE__*/React.createElement("div", {
1252
1253
  className: makeClassName([[styles$r.objectWrap, true], [styles$r.isDefaultVideo, true]])
1253
1254
  }, /*#__PURE__*/React.createElement("video", {
1254
- src: `${videoFileUrl}#t=0.001`,
1255
+ src: videoFileUrl,
1256
+ poster: thumbnailUrl || undefined,
1255
1257
  controls: true,
1256
- playsInline: true,
1257
- preload: "metadata"
1258
+ playsInline: true
1258
1259
  })));
1259
1260
  }
1260
1261
  return /*#__PURE__*/React.createElement("div", {