Skip to content

Commit 2627947

Browse files
committed
fix(UI): Disable doubleClickForFullscreen while casting (#8488)
1 parent c6c0c63 commit 2627947

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ui/controls.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -648,6 +648,9 @@ shaka.ui.Controls = class extends shaka.util.FakeEventTarget {
648648
* @export
649649
*/
650650
isFullScreenSupported() {
651+
if (this.castProxy_.isCasting()) {
652+
return false;
653+
}
651654
if (this.shouldUseDocumentFullscreen_()) {
652655
return true;
653656
}

0 commit comments

Comments
 (0)