@livo-tv/blocks 1.28.0 → 1.29.0
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/dist/index.cjs +9 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +9 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4942,12 +4942,17 @@ function VideoPlayer({
|
|
|
4942
4942
|
exitCssFullscreen();
|
|
4943
4943
|
return;
|
|
4944
4944
|
}
|
|
4945
|
-
if (
|
|
4946
|
-
|
|
4945
|
+
if (video && typeof video.webkitEnterFullscreen === "function") {
|
|
4946
|
+
try {
|
|
4947
|
+
video.webkitEnterFullscreen();
|
|
4948
|
+
} catch {
|
|
4949
|
+
setCssFullscreen(true);
|
|
4950
|
+
setIsFullscreen(true);
|
|
4951
|
+
}
|
|
4947
4952
|
return;
|
|
4948
4953
|
}
|
|
4949
|
-
if (
|
|
4950
|
-
|
|
4954
|
+
if (el && hasStandardFullscreen() && typeof el.requestFullscreen === "function") {
|
|
4955
|
+
void el.requestFullscreen();
|
|
4951
4956
|
return;
|
|
4952
4957
|
}
|
|
4953
4958
|
setCssFullscreen(true);
|