From 82fb690228f295845ff2216a74de2f30466ed281 Mon Sep 17 00:00:00 2001 From: Oliver Date: Mon, 13 Mar 2023 00:10:17 +1100 Subject: [PATCH] allow audio on ios with play interaction --- ui/src/JSmpegPlayer.jsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ui/src/JSmpegPlayer.jsx b/ui/src/JSmpegPlayer.jsx index fa6f818..b576994 100644 --- a/ui/src/JSmpegPlayer.jsx +++ b/ui/src/JSmpegPlayer.jsx @@ -25,6 +25,9 @@ const JSmpegPlayer = ({ url, active }) => { return (
{ + player.player.isPlaying ? player.player.pause() : player.player.play() + }} className="probePlayer" ref={videoRef}>