Skip to content

Commit

Permalink
web: Don't show webkit fullscreen methods in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Dinnerbone committed Oct 6, 2024
1 parent 471ad1d commit 2675084
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion web/packages/core/src/internal/player/inner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,13 @@ declare global {
webkitCancelFullScreen?: () => void;
}
interface Element {
/**
* @ignore
*/
webkitRequestFullscreen?: (options: unknown) => unknown;
/**
* @ignore
*/
webkitRequestFullScreen?: (options: unknown) => unknown;
}
}
Expand Down Expand Up @@ -1592,7 +1598,7 @@ export class InnerPlayer {

// Then we have to close the context menu manually after the callback finishes.
this.hideContextMenu();
}
};
if (this.contextMenuSupported) {
menuItem.addEventListener("click", itemAction);
menuItem.addEventListener("contextmenu", itemAction);
Expand Down

0 comments on commit 2675084

Please sign in to comment.