Vanessa 2022-08-30 17:58:28 +08:00
parent 01bde0494d
commit a165cac78e
3 changed files with 36 additions and 72 deletions

View file

@ -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;
}
};