@meduza/ui-kit-2 1.0.2 → 1.0.4

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/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.2",
2
+ "version": "1.0.4",
3
3
  "license": "MIT",
4
4
  "description": "UIKit for Meduza",
5
5
  "repository": "https://github.com/meduza-corp/ui-kit-2.git",
@@ -1,3 +1,4 @@
1
+ /* eslint-disable react/no-unknown-property */
1
2
  /* eslint-disable jsx-a11y/media-has-caption */
2
3
  import React, { useState } from 'react'
3
4
  import { Image } from '../Image'
@@ -108,7 +109,12 @@ export const EmbedBlock: React.FC<EmbedBlockProps> = ({
108
109
  [styles.isDefaultVideo, true]
109
110
  ])}
110
111
  >
111
- <video src={videoFileUrl} controls />
112
+ <video
113
+ src={`${videoFileUrl}#t=0.001`}
114
+ controls
115
+ playsInline
116
+ preload="metadata"
117
+ />
112
118
  </div>
113
119
  </div>
114
120
  )