PKM-er / media-extended

enhanced media(video/audio) playback for obsidian.md
https://mx.pkmer.net
MIT License
640 stars 54 forks source link

Suddenly Entirely Broke #428

Open Graywaren opened 1 month ago

Graywaren commented 1 month ago

I installed the plug in yesterday or so and was styling a video player via css today, reloaded obsidian and suddenly the plug-in is broken. The video player entirely disappeared and the link text itself is entirely inaccessible, as if it isn't in the note. I gathered from the inspector that the default player remains hidden, but the Media Extended player is not added because the plug-in broke somehow. I removed my css, uninstalled and reinstalled the plug in, but nothing got it working again. This is what appears in the inspector console:

image

Interestingly, if I go into source mode and some how edit the link (for example, changing the alt text by a single letter), and then go back into edit/live preview mode the video player appears again until obsidian is reloaded.

Also, I'm unsure if this is norrmal or not, but in reading mode the default video player appears, but the media extended one does not. If that isn't part of the bug, but is part of intended behavior I'd really like to see the ME player appear in reading mode as it allows for more styling with custom CSS than the default player does, especially in editing/live preview mode.

I'm on windows 10, using obsidian 1.7.4, and the latest version of the plug-in.