Closed siebevd closed 2 months ago
1.0.2
Device: All OS: All
When enabling hideControls the Mute button is still visisble. Would be useful to hide that, so we can add our own UI element for this
hideControls
From reading the Javascript docs, you need to call the setChromeless function to make that happen.
setChromeless
Would be useful to potentially add a chromeless prop as well (happy to make a PR)
chromeless
Current solution, (although that makes the Sound button flash for a second)
<ApiVideoPlayer videoId={stream_id} hideControls type="live" onReady={() => { playerControls.webref?.injectJavaScript( `apiVideoPlayer.setChromeless(true); true;`, ); }} ref={player => (playerControls = player as ApiVideoPlayer)} />
No response
Hey, We've added this option in the 1.1.0 version. Let us know if you encounter any issue. Regards
Version
1.0.2
Environment that reproduces the issue
Device: All OS: All
Use case description
When enabling
hideControls
the Mute button is still visisble. Would be useful to hide that, so we can add our own UI element for thisProposed solution
From reading the Javascript docs, you need to call the
setChromeless
function to make that happen.Would be useful to potentially add a
chromeless
prop as well (happy to make a PR)Current solution, (although that makes the Sound button flash for a second)
Alternative solutions
No response