fix hermes markdown media and sync retry (#550)

This commit is contained in:
ekko
2026-05-08 19:55:55 +08:00
committed by GitHub
parent 866ae3d23d
commit bba4920fee
4 changed files with 46 additions and 6 deletions
@@ -83,7 +83,7 @@ const renderedHtml = computed(() => {
const ext = path.split('.').pop()?.toLowerCase()
// Video files: render as video player
if (ext === 'mp4' || ext === 'webm') {
if (ext === 'mp4' || ext === 'webm' || ext === 'mov') {
const downloadUrl = getDownloadUrl(path)
return `<div class="markdown-video-container">
<video class="markdown-video" controls preload="metadata" src="${downloadUrl}"></video>