Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: change internalEmbedObs.disconnect() behavior to respond to medi…
…a fallback Obsidian handles webm audio first as <video>, then fallback to <audio>. However, originally the internalEmbedObs is disconnected as soon as the first <video> is added, which failed to detect <audio> fallback. Now the internalEmbedObs.disconnected() is placed 1.5s after internalEmbedObs.observe() to fix this. fix #4
- Loading branch information