@rxdrag/website-lib-core 0.0.111 → 0.0.113
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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rxdrag/website-lib-core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.113",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": "./index.ts"
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
"@types/react-dom": "^19.1.0",
|
|
25
25
|
"eslint": "^7.32.0",
|
|
26
26
|
"typescript": "^5",
|
|
27
|
-
"@rxdrag/eslint-config-custom": "0.2.12",
|
|
28
27
|
"@rxdrag/tsconfig": "0.2.0",
|
|
29
|
-
"@rxdrag/slate-preview": "1.2.63"
|
|
28
|
+
"@rxdrag/slate-preview": "1.2.63",
|
|
29
|
+
"@rxdrag/eslint-config-custom": "0.2.12"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@iconify/utils": "^3.0.2",
|
|
@@ -228,7 +228,9 @@ export const ReactVideoPlayer = forwardRef<
|
|
|
228
228
|
classNames?.video
|
|
229
229
|
)}
|
|
230
230
|
playsInline
|
|
231
|
-
controls={
|
|
231
|
+
controls={false}
|
|
232
|
+
disablePictureInPicture
|
|
233
|
+
controlsList="nodownload noremoteplayback noplaybackrate"
|
|
232
234
|
>
|
|
233
235
|
{!media.storageType && media.file?.original && (eagerLoad || isSourceReady) ? (
|
|
234
236
|
<source src={media.file.original} />
|
|
@@ -236,7 +238,10 @@ export const ReactVideoPlayer = forwardRef<
|
|
|
236
238
|
Your browser does not support video playback.
|
|
237
239
|
</video>
|
|
238
240
|
|
|
239
|
-
{!isPlaying &&
|
|
241
|
+
{!isPlaying &&
|
|
242
|
+
!isEnded &&
|
|
243
|
+
!isLoading &&
|
|
244
|
+
!hasStarted && (
|
|
240
245
|
<button
|
|
241
246
|
type="button"
|
|
242
247
|
onClick={handlePlayClick}
|