-
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Videos (webm & mp4) not displaying correctly in Browser #17
Comments
I have to admit I've never tried it with videos, so perhaps the support is just not there. I'll take a look what I can do. |
@pipe-organ Would you mind trying this? https://github.com/orobardet/pymarkdown-video |
Thanks so much for checking it out, @GooRoo! I tested pymarkdown-video, but it seems like it only works if you provide the full absolute path to the video file. So this markdown extension didn't do anything since I was able make videos work by giving it a full absolute path. I was having a similar issue with images when not using your mkdocs-obsidian-bridge plugin. However, your plugin fixed the image issue, so I was hoping it would also resolve the problem with video files. BTW here are my paths just in case I am doing wrong.
![[Apple1984.webm]]
![[Apple1984.mp4]]
![[/assets/Apple1984.webm]]
![[/assets/Apple1984.mp4]]
<video width="600" controls>
<source src="Apple1984.webm" type="video/webm">
</video>
<video width="600" controls>
<source src="Apple1984.mp4" type="video/mp4">
</video>
<video width="600" controls>
<source src="/assets/Apple1984.webm" type="video/webm">
</video>
<video width="600" controls>
<source src="/assets/Apple1984.mp4" type="video/mp4">
</video> |
Okay, thanks for the info, I'll check this on my side too. |
I’m starting to think this isn’t related to your plugin after all—sorry for barking up the wrong tree. Using absolute path with the pymarkdown-video plug-in you mentioned works well. So I'll stick with this. So please mark this close this and thanks again for the awesome plugin and for taking the time to look into this!
|
I actually tried it myself, and indeed, it does not work as I expected it to. So now it bothers me 🙂 I can't simply close the issue. Will try to come up with something. |
Okay, so as a temporary solution, you can manually install this https://github.com/GooRoo/obsidian-media using In the next version of mkdocs-obsidian-bridge, I'm going to add it as a dependency so that it's always available for users. |
@GooRoo Wow bravo!! Finally had a time to sit down and try this and it works beautifully. Even Obsidian wiki link style movie files work flawlessly!! Thanks you so much for sharing these awesome plugins!! |
Hey guys. Now (since 1.1.0), this functionality is available out of the box. You don't need to install anything additional, just plugins:
- obsidian-bridge
markdown_extensions:
- obsidian_media_mkdocs # this thing embeds audio/video/YouTube |
I just rebuilt my virtual environment from scratch, only installing |
Works absolutely fine! I love you! |
First off, thank you for this fantastic plugin! I've tried nearly every Obsidian MkDocs plugin, and this is the only one that displays all images perfectly without requiring any changes to the Obsidian Vault. I really appreciate all your hard work.
While the images work flawlessly, I'm having trouble displaying videos using the plugin. Here's what I've tried in Obsidian:
Any insight on how to get videos working?
The text was updated successfully, but these errors were encountered: