diff --git a/src/Components/CameraFeed/CameraFeed.tsx b/src/Components/CameraFeed/CameraFeed.tsx index 06c96635912..8d647c6e9c2 100644 --- a/src/Components/CameraFeed/CameraFeed.tsx +++ b/src/Components/CameraFeed/CameraFeed.tsx @@ -234,7 +234,7 @@ export default function CameraFeed(props: Props) { playsInline onPlay={player.onPlayCB} onEnded={() => player.setStatus("stop")} - ref={playerRef as LegacyRef} + ref={playerRef as LegacyRef} /> {inlineControls && player.status === "playing" && controls} diff --git a/src/Components/CameraFeed/CameraFeedOld.tsx b/src/Components/CameraFeed/CameraFeedOld.tsx index 198dd1fb65b..baf5f3fd5eb 100644 --- a/src/Components/CameraFeed/CameraFeedOld.tsx +++ b/src/Components/CameraFeed/CameraFeedOld.tsx @@ -7,10 +7,7 @@ import { deleteAssetBed, } from "../../Redux/actions.js"; import { CameraPTZ, getCameraPTZ } from "../../Common/constants.js"; -import { - StreamStatus, - useMSEMediaPlayer, -} from "./useMSEplayer.js"; +import { StreamStatus, useMSEMediaPlayer } from "./useMSEplayer.js"; import { useFeedPTZ } from "./useFeedPTZ.js"; import * as Notification from "../../Utils/Notifications.js"; import { AxiosError } from "axios"; @@ -22,7 +19,6 @@ import Page from "../Common/components/Page.js"; import ConfirmDialog from "../Common/ConfirmDialog.js"; import { FieldLabel } from "../Form/FormFields/FormField.js"; import useFullscreen from "../../Common/hooks/useFullscreen.js"; -import { isIOS } from "../../Utils/utils.js"; import TextFormField from "../Form/FormFields/TextFormField.js"; export const FeedCameraPTZHelpButton = (props: { cameraPTZ: CameraPTZ[] }) => { diff --git a/src/Components/CameraFeed/usePlayer.tsx b/src/Components/CameraFeed/usePlayer.tsx index 7728866c72f..98a3088d3d3 100644 --- a/src/Components/CameraFeed/usePlayer.tsx +++ b/src/Components/CameraFeed/usePlayer.tsx @@ -33,7 +33,7 @@ export default function usePlayer( }, }); }, - [ref.current, streamUrl,], + [ref.current, streamUrl], ); const onPlayCB = () => {