@crystaldesign/widget-media-viewer 25.10.0-beta.2 → 25.10.0-beta.21

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.
@@ -74,8 +74,10 @@ function MainComponent(props) {
74
74
  mediaUrl: mediaUrl,
75
75
  isCurrentlyVisible: true,
76
76
  config: {
77
- disableSirv: true
78
- },
77
+ disableSirv: true,
78
+ sirvProps: props.settings.sirvProps
79
+ } //disableSriv disables Sirv Viewer - sirvProps is used to add specific params to the image url
80
+ ,
79
81
  videoAutoplay: props.settings.videoAutoplay
80
82
  })
81
83
  });
@@ -6,5 +6,8 @@ export interface MediaViewerProps {
6
6
  export interface Configuration extends BaseConfiguration {
7
7
  functionTypePriority: string[];
8
8
  videoAutoplay?: boolean;
9
+ sirvProps?: {
10
+ [data: string]: string;
11
+ };
9
12
  }
10
13
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAElE,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,EAAE,aAAa,CAAC;IACxB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,aAAc,SAAQ,iBAAiB;IACtD,oBAAoB,EAAE,MAAM,EAAE,CAAC;IAC/B,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAElE,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,EAAE,aAAa,CAAC;IACxB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,aAAc,SAAQ,iBAAiB;IACtD,oBAAoB,EAAE,MAAM,EAAE,CAAC;IAC/B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,SAAS,CAAC,EAAE;QAAE,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;CACxC"}