mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-25 01:36:09 +01:00
This commit is contained in:
parent
01bde0494d
commit
a165cac78e
3 changed files with 36 additions and 72 deletions
|
|
@ -13,6 +13,6 @@ export const renderAssetsPreview = (pathString: string) => {
|
|||
} else if (Constants.SIYUAN_ASSETS_VIDEO.includes(type)) {
|
||||
return `<video style="max-width: 100%" controls="controls" src="${pathString}"></video>`;
|
||||
} else {
|
||||
return "";
|
||||
return pathString;
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue