@trafilea/afrodita-components 6.23.0 → 6.23.2
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/build/index.esm.js +2 -2
- package/build/index.js +2 -2
- package/build/theme/revel.theme.js +1 -1
- package/package.json +1 -1
package/build/index.esm.js
CHANGED
|
@@ -13595,11 +13595,11 @@ var templateObject_1$11, templateObject_2$K, templateObject_3$B, templateObject_
|
|
|
13595
13595
|
|
|
13596
13596
|
var Video$1 = function (_a) {
|
|
13597
13597
|
var _b, _c, _d, _e;
|
|
13598
|
-
var source = _a.source, thumbnail = _a.thumbnail, height = _a.height, className = _a.className, _f = _a.withProgressBar, withProgressBar = _f === void 0 ? true : _f, hasAudioControl = _a.hasAudioControl, rest = __rest(_a, ["source", "thumbnail", "height", "className", "withProgressBar", "hasAudioControl"]);
|
|
13598
|
+
var source = _a.source, thumbnail = _a.thumbnail, height = _a.height, className = _a.className, _f = _a.withProgressBar, withProgressBar = _f === void 0 ? true : _f, hasAudioControl = _a.hasAudioControl, muted = _a.muted, rest = __rest(_a, ["source", "thumbnail", "height", "className", "withProgressBar", "hasAudioControl", "muted"]);
|
|
13599
13599
|
var videoRef = useRef(null);
|
|
13600
13600
|
var _g = useState(true), isLoading = _g[0], setIsLoading = _g[1];
|
|
13601
13601
|
var _h = useState(false), isPlaying = _h[0], setIsPlaying = _h[1];
|
|
13602
|
-
var _j = useState(
|
|
13602
|
+
var _j = useState(muted), isMuted = _j[0], setIsMuted = _j[1];
|
|
13603
13603
|
var _k = useState(0), videoProgress = _k[0], setVideoProgress = _k[1];
|
|
13604
13604
|
var _l = useState(false), debouncePlay = _l[0], setDebouncePlay = _l[1];
|
|
13605
13605
|
var isStarted = videoProgress > 0;
|
package/build/index.js
CHANGED
|
@@ -13621,11 +13621,11 @@ var templateObject_1$11, templateObject_2$K, templateObject_3$B, templateObject_
|
|
|
13621
13621
|
|
|
13622
13622
|
var Video$1 = function (_a) {
|
|
13623
13623
|
var _b, _c, _d, _e;
|
|
13624
|
-
var source = _a.source, thumbnail = _a.thumbnail, height = _a.height, className = _a.className, _f = _a.withProgressBar, withProgressBar = _f === void 0 ? true : _f, hasAudioControl = _a.hasAudioControl, rest = __rest(_a, ["source", "thumbnail", "height", "className", "withProgressBar", "hasAudioControl"]);
|
|
13624
|
+
var source = _a.source, thumbnail = _a.thumbnail, height = _a.height, className = _a.className, _f = _a.withProgressBar, withProgressBar = _f === void 0 ? true : _f, hasAudioControl = _a.hasAudioControl, muted = _a.muted, rest = __rest(_a, ["source", "thumbnail", "height", "className", "withProgressBar", "hasAudioControl", "muted"]);
|
|
13625
13625
|
var videoRef = React$2.useRef(null);
|
|
13626
13626
|
var _g = React$2.useState(true), isLoading = _g[0], setIsLoading = _g[1];
|
|
13627
13627
|
var _h = React$2.useState(false), isPlaying = _h[0], setIsPlaying = _h[1];
|
|
13628
|
-
var _j = React$2.useState(
|
|
13628
|
+
var _j = React$2.useState(muted), isMuted = _j[0], setIsMuted = _j[1];
|
|
13629
13629
|
var _k = React$2.useState(0), videoProgress = _k[0], setVideoProgress = _k[1];
|
|
13630
13630
|
var _l = React$2.useState(false), debouncePlay = _l[0], setDebouncePlay = _l[1];
|
|
13631
13631
|
var isStarted = videoProgress > 0;
|
package/package.json
CHANGED