@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.cjs
CHANGED
|
@@ -4968,12 +4968,17 @@ function VideoPlayer({
|
|
|
4968
4968
|
exitCssFullscreen();
|
|
4969
4969
|
return;
|
|
4970
4970
|
}
|
|
4971
|
-
if (
|
|
4972
|
-
|
|
4971
|
+
if (video && typeof video.webkitEnterFullscreen === "function") {
|
|
4972
|
+
try {
|
|
4973
|
+
video.webkitEnterFullscreen();
|
|
4974
|
+
} catch {
|
|
4975
|
+
setCssFullscreen(true);
|
|
4976
|
+
setIsFullscreen(true);
|
|
4977
|
+
}
|
|
4973
4978
|
return;
|
|
4974
4979
|
}
|
|
4975
|
-
if (
|
|
4976
|
-
|
|
4980
|
+
if (el && hasStandardFullscreen() && typeof el.requestFullscreen === "function") {
|
|
4981
|
+
void el.requestFullscreen();
|
|
4977
4982
|
return;
|
|
4978
4983
|
}
|
|
4979
4984
|
setCssFullscreen(true);
|