Skip to content

Commit

Permalink
fix(FEC-12972): Remove the volume control on image playback (#725)
Browse files Browse the repository at this point in the history
Remove the volume control on image playback

fix FEC-12972
  • Loading branch information
JonathanTGold committed Feb 8, 2023
1 parent e12c9b5 commit 467664d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/volume/volume.js
Expand Up @@ -388,7 +388,8 @@ class Volume extends Component {
* @returns {React$Element} - component element
* @memberof Volume
*/
render(): React$Element<any> {
render(): ?React$Element<any> {
if (this.props.player.isImage()) return undefined;
const {player, isDraggingActive, muted, volume, smartContainerOpen} = this.props;
const controlButtonClasses = [
// for backward compatibility
Expand Down

0 comments on commit 467664d

Please sign in to comment.