Skip to content

Commit

Permalink
add fullscreenweb keyboard
Browse files Browse the repository at this point in the history
  • Loading branch information
shiyiya committed Jul 2, 2023
1 parent bfcc89a commit 345f61a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@oplayer/ui",
"version": "1.2.29-beta.3",
"version": "1.2.30",
"description": "ui plugin for oplayer",
"type": "module",
"main": "./dist/index.es.js",
Expand Down
2 changes: 2 additions & 0 deletions packages/ui/src/functions/keyboard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ const KEY_FN: Record<string, (player: Player) => void> = {

f: (player: Player) => player.toggleFullScreen(),

w: (player: Player) => player.emit('fullscreenchange', { isWeb: true }),

s: screenShot
}

Expand Down

1 comment on commit 345f61a

@vercel
Copy link

@vercel vercel bot commented on 345f61a Jul 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

oplayer – ./

oplayer-git-main-shiyiya.vercel.app
oplayer-shiyiya.vercel.app
oplayer.vercel.app

Please sign in to comment.