Skip to content

Commit

Permalink
fix(UI): Disable save frame when using remote playback (#7433)
Browse files Browse the repository at this point in the history
  • Loading branch information
avelad authored Oct 18, 2024
1 parent d454514 commit 263c6a6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ui/save_video_frame_button.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,9 @@ shaka.ui.SaveVideoFrameButton = class extends shaka.ui.Element {
if (this.ad) {
available = false;
}
if (this.video.remote && this.video.remote.state != 'disconnected') {
available = false;
}
shaka.ui.Utils.setDisplay(this.button_, available);
}

Expand Down

0 comments on commit 263c6a6

Please sign in to comment.