cafe-video-player 3.0.10 → 3.0.11
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/index.js +2 -0
- package/index.js.map +1 -1
- package/index.mjs +2 -0
- package/index.mjs.map +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -4993,6 +4993,7 @@ var init_playerCore_actions = __esm({
|
|
|
4993
4993
|
};
|
|
4994
4994
|
handleStaticVideoCanPlay = () => {
|
|
4995
4995
|
const dispatch = store_default.dispatch;
|
|
4996
|
+
console.log("handleStaticVideoCanPlay");
|
|
4996
4997
|
dispatch(setIsLoading(false));
|
|
4997
4998
|
dispatch(setCanPlayVideo(true));
|
|
4998
4999
|
};
|
|
@@ -7030,6 +7031,7 @@ var VideoPlayer = (props) => {
|
|
|
7030
7031
|
element = /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: tw("", { desktop: "pl-rounded-[12px]" }), style: { touchAction: "pan-y", userSelect: "none" }, children: conditions("isStaticFormat" /* isStaticFormat */) ? /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(StaticPlayer2, {}) : /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(VodPlayer2, {}) });
|
|
7031
7032
|
}
|
|
7032
7033
|
const isShowLoader = firstPlay && isLoading;
|
|
7034
|
+
console.log(firstPlay, isLoading);
|
|
7033
7035
|
return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
|
|
7034
7036
|
"div",
|
|
7035
7037
|
{
|