mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-25 18:26:05 +08:00
fix(editor): video style in edgeless (#10198)
### Before  ### After 
This commit is contained in:
@@ -151,7 +151,13 @@ const embedConfig: AttachmentEmbedConfig[] = [
|
||||
check: (model, maxFileSize) =>
|
||||
model.type.startsWith('video/') && model.size <= maxFileSize,
|
||||
template: (_, blobUrl) =>
|
||||
html`<video width="100%;" height="480" controls src=${blobUrl}></video>`,
|
||||
html`<video
|
||||
style="max-height: max-content;"
|
||||
width="100%;"
|
||||
height="480"
|
||||
controls
|
||||
src=${blobUrl}
|
||||
></video>`,
|
||||
},
|
||||
{
|
||||
name: 'audio',
|
||||
|
||||
Reference in New Issue
Block a user