MSzturc / obsidian-advanced-slides

Create markdown-based reveal.js presentations in Obsidian
https://mszturc.github.io/obsidian-advanced-slides/
MIT License
939 stars 80 forks source link

Video files don't get included in export to html #260

Open jericjan opened 9 months ago

jericjan commented 9 months ago

Describe the bug If I include a local video file in my presentation, and export it to HTML, it won't be able to locate the video file because it doesn't get included in the export.

Samples to Reproduce

  1. Create a folder called "Slides"
  2. In it, create a presentation with <video data-autoplay controls><source src="./light_paint.mp4" type="video/mp4"></video> as the first slide.
  3. Export it to HTML
  4. Open the HTML file

Expected behavior It should include the video file

marcbenedi commented 9 months ago

Hi @jericjan,

Please have a look at PR #261. I tried to implement the feature you mentioned.

Cheers, Marc.

jericjan commented 9 months ago

Oh, awesome! It works pretty well. Would love to see this PR merged son.