feat: apply phase1 DX cleanup for private registry
This commit is contained in:
@@ -31,7 +31,7 @@ export const ControlsLayer: React.FC<ControlsLayerProps> = ({
|
||||
audioTracks = [],
|
||||
qualities = [],
|
||||
}) => {
|
||||
const { videoState, uiState, togglePlay, toggleFullscreen, showControls, hideControls } =
|
||||
const { videoState, uiState, togglePlay, toggleFullscreen, showControls, hideControls, translations } =
|
||||
usePlayerContext()
|
||||
const [isPointerOver, setIsPointerOver] = useState(false)
|
||||
const [lastInteraction, setLastInteraction] = useState<number>(0)
|
||||
@@ -228,7 +228,7 @@ export const ControlsLayer: React.FC<ControlsLayerProps> = ({
|
||||
{videoState.isLiveBroadcast && (
|
||||
<div className="live-indicator">
|
||||
<span className="live-dot"></span>
|
||||
<span className="live-text">LIVE</span>
|
||||
<span className="live-text">{translations.live}</span>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user