Skip to content

Commit a3fe476

Browse files
feat: add disable_context_menu embed option (#1144)
1 parent 5f89fc6 commit a3fe476

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

src/lib/embed.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ const oEmbedParameters = [
2121
'color',
2222
'colors',
2323
'controls',
24+
'disable_context_menu',
2425
'dnt',
2526
'end_time',
2627
'fullscreen',

types/formats.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,12 @@ export type VimeoEmbedParameters = {
142142
*/
143143
controls?: boolean;
144144

145+
/**
146+
* Whether to disable the custom right-click context menu (which shows options like "Open debug panel", "Copy debug info", etc.)
147+
* @default false
148+
*/
149+
disable_context_menu?: boolean;
150+
145151
/**
146152
* Whether to prevent the player from tracking session data, including setting cookies
147153
* @default false

0 commit comments

Comments
 (0)