@rxdrag/website-lib-core 0.0.112 → 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.112",
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",
27
+ "@rxdrag/tsconfig": "0.2.0",
28
28
  "@rxdrag/slate-preview": "1.2.63",
29
- "@rxdrag/tsconfig": "0.2.0"
29
+ "@rxdrag/eslint-config-custom": "0.2.12"
30
30
  },
31
31
  "dependencies": {
32
32
  "@iconify/utils": "^3.0.2",
@@ -34,7 +34,6 @@ export const ReactVideoPlayer = forwardRef<
34
34
  media: Media;
35
35
  posterUrl?: string;
36
36
  eagerLoad?: boolean;
37
- showOverlayAfterStarted?: boolean;
38
37
  classNames?: VideoPlayerClassNames;
39
38
  callToAction?: string;
40
39
  onToggleSelect?: (id: ID) => void;
@@ -47,7 +46,6 @@ export const ReactVideoPlayer = forwardRef<
47
46
  onToggleSelect,
48
47
  posterUrl,
49
48
  eagerLoad,
50
- showOverlayAfterStarted = true,
51
49
  classNames,
52
50
  callToAction,
53
51
  designMode,
@@ -230,7 +228,9 @@ export const ReactVideoPlayer = forwardRef<
230
228
  classNames?.video
231
229
  )}
232
230
  playsInline
233
- controls={!designMode && hasStarted}
231
+ controls={false}
232
+ disablePictureInPicture
233
+ controlsList="nodownload noremoteplayback noplaybackrate"
234
234
  >
235
235
  {!media.storageType && media.file?.original && (eagerLoad || isSourceReady) ? (
236
236
  <source src={media.file.original} />
@@ -241,7 +241,7 @@ export const ReactVideoPlayer = forwardRef<
241
241
  {!isPlaying &&
242
242
  !isEnded &&
243
243
  !isLoading &&
244
- (!hasStarted || showOverlayAfterStarted) && (
244
+ !hasStarted && (
245
245
  <button
246
246
  type="button"
247
247
  onClick={handlePlayClick}