@latest-thinking/lt-player 3.0.0-beta.10 → 3.0.0-beta.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.
Files changed (2) hide show
  1. package/dist/player.js +1 -1
  2. package/package.json +1 -1
package/dist/player.js CHANGED
@@ -20415,7 +20415,7 @@ function Xg(e) {
20415
20415
  return Yg(t.current, n) || (t.current = n), t.current;
20416
20416
  }
20417
20417
  function Zg() {
20418
- return typeof document > "u" ? !1 : document.createElement("video").canPlayType(Hg) !== "";
20418
+ return typeof document > "u" || typeof navigator > "u" || !/apple/i.test(navigator.vendor) ? !1 : document.createElement("video").canPlayType(Hg) !== "";
20419
20419
  }
20420
20420
  function Qg({ children: e, intentQueue: t, mediaRef: n, sources: r, ...i }) {
20421
20421
  let a = Ht(), o = (0, w.useRef)(null), s = (0, w.useRef)(null), c = (0, w.useRef)(null), l = (0, w.useRef)(0), u = Xg(r), d = u.kind === "hls" && Zg(), f = u.kind === "hls" && !d, p = (0, w.useCallback)((e) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@latest-thinking/lt-player",
3
- "version": "3.0.0-beta.10",
3
+ "version": "3.0.0-beta.11",
4
4
  "type": "module",
5
5
  "description": "Latest Thinking video player v3 foundation",
6
6
  "license": "SEE LICENSE IN LICENSE.md",