Introduce ability to play mp4 files as they download
This commit is contained in:
parent
bab1ceb831
commit
16bbcc2c50
30 changed files with 1304 additions and 141 deletions
|
@ -99,6 +99,17 @@ function useHasAnyOverlay(): boolean {
|
|||
return panels || globalModal || calling;
|
||||
}
|
||||
|
||||
export function isKeyboardActivation(event: KeyboardEvent): boolean {
|
||||
if (
|
||||
hasExactModifiers(event, 'none') &&
|
||||
(event.key === 'Enter' || event.key === 'Space')
|
||||
) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
export function useActiveCallShortcuts(
|
||||
hangUp: (reason: string) => unknown
|
||||
): KeyboardShortcutHandlerType {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue