diff --git a/src/content/knowledgebase/tool-velociraptor.md b/src/content/knowledgebase/tool-velociraptor.md index 70426da..9cbd36b 100644 --- a/src/content/knowledgebase/tool-velociraptor.md +++ b/src/content/knowledgebase/tool-velociraptor.md @@ -18,7 +18,7 @@ sections: advanced_topics: true review_status: "published" --- - + > **⚠️ Hinweis**: Dies ist ein vorläufiger, KI-generierter Knowledgebase-Eintrag. Wir freuen uns über Verbesserungen und Ergänzungen durch die Community! diff --git a/src/layouts/BaseLayout.astro b/src/layouts/BaseLayout.astro index d6d3205..0921130 100644 --- a/src/layouts/BaseLayout.astro +++ b/src/layouts/BaseLayout.astro @@ -364,13 +364,6 @@ const { title, description = 'ForensicPathways - A comprehensive directory of di errorCount++; console.log(`[VIDEO] Error ${errorCount} in Firefox for: ${video.getAttribute('data-video-title')}`); - if (errorCount === 1 && video.src.includes('/download')) { - console.log('[VIDEO] Trying /preview URL for Firefox compatibility'); - video.src = video.src.replace('/download', '/preview'); - video.load(); - } else if (errorCount === 1) { - console.log('[VIDEO] Video failed to load in Firefox'); - } }); video.addEventListener('loadedmetadata', () => { diff --git a/src/utils/remarkVideoPlugin.ts b/src/utils/remarkVideoPlugin.ts index e7af280..5f0f596 100644 --- a/src/utils/remarkVideoPlugin.ts +++ b/src/utils/remarkVideoPlugin.ts @@ -15,9 +15,7 @@ export const remarkVideoPlugin: Plugin<[], Root> = () => { if (srcMatch) { const originalSrc = srcMatch[1]; const title = titleMatch?.[1] || 'Video'; - - const finalSrc = processNextcloudUrl(originalSrc); - + const hasControls = node.value.includes('controls'); const hasAutoplay = node.value.includes('autoplay'); const hasMuted = node.value.includes('muted'); @@ -27,7 +25,7 @@ export const remarkVideoPlugin: Plugin<[], Root> = () => { const enhancedHTML = `