yootd 0.0.76 → 0.0.77
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.
@@ -5,6 +5,7 @@ export interface VideoPlayerRef {
|
|
5
5
|
pause: () => void;
|
6
6
|
setVideoCurrentTime: (time: number) => void;
|
7
7
|
useFaceExpression: (type: 'emotion' | 'character' | 'anchor' | 'pose', use: boolean) => void;
|
8
|
+
currentTime: () => number;
|
8
9
|
}
|
9
10
|
export interface VideoPlayerProps {
|
10
11
|
/**
|
@@ -176,7 +176,18 @@ export var VideoPlayer = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
176
176
|
pose: false
|
177
177
|
}, type, use);
|
178
178
|
});
|
179
|
-
}
|
179
|
+
},
|
180
|
+
currentTime: function (_currentTime) {
|
181
|
+
function currentTime() {
|
182
|
+
return _currentTime.apply(this, arguments);
|
183
|
+
}
|
184
|
+
currentTime.toString = function () {
|
185
|
+
return _currentTime.toString();
|
186
|
+
};
|
187
|
+
return currentTime;
|
188
|
+
}(function () {
|
189
|
+
return currentTime;
|
190
|
+
})
|
180
191
|
};
|
181
192
|
});
|
182
193
|
var handleFullScreen = function handleFullScreen() {
|