boss-web-player-sdk 1.1.0 → 1.1.2

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.js CHANGED
@@ -1,4 +1,4 @@
1
- import { c as e, t, u as n } from "./src-4MqtK4Qy.js";
1
+ import { c as e, t, u as n } from "./src-9ogb0T2_.js";
2
2
  import { createContext as r, createElement as i, forwardRef as a, useCallback as o, useContext as s, useEffect as c, useMemo as l, useRef as u, useState as d } from "react";
3
3
  import { Fragment as f, jsx as p, jsxs as m } from "react/jsx-runtime";
4
4
  import { createRoot as ee } from "react-dom/client";
@@ -1649,7 +1649,7 @@ var ne = (...e) => e.filter((e, t, n) => !!e && e.trim() !== "" && n.indexOf(e)
1649
1649
  "aria-hidden": "true"
1650
1650
  })
1651
1651
  }),
1652
- N.enableSubtitles && !Y && /* @__PURE__ */ m("div", {
1652
+ N.enableSubtitles && !Y && An.some((e) => !e.isNative) && /* @__PURE__ */ m("div", {
1653
1653
  className: "sdk-menu-container",
1654
1654
  children: [/* @__PURE__ */ p("button", {
1655
1655
  className: `sdk-mobile-icon-btn${V === "off" ? "" : " active"}`,
@@ -2259,7 +2259,7 @@ var ne = (...e) => e.filter((e, t, n) => !!e && e.trim() !== "" && n.indexOf(e)
2259
2259
  "aria-hidden": "true"
2260
2260
  })
2261
2261
  }),
2262
- N.enableSubtitles && !Y && /* @__PURE__ */ m("div", {
2262
+ N.enableSubtitles && !Y && An.some((e) => !e.isNative) && /* @__PURE__ */ m("div", {
2263
2263
  className: "sdk-menu-container",
2264
2264
  children: [/* @__PURE__ */ p("button", {
2265
2265
  className: `sdk-desktop-icon-btn${V === "off" ? "" : " active"}`,