Skip to content
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

No slides showing #270

Closed
lucasrodwell opened this issue Nov 5, 2023 · 2 comments
Closed

No slides showing #270

lucasrodwell opened this issue Nov 5, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@lucasrodwell
Copy link

Describe the bug
Nothing showing in slides pane.

Samples to Reproduce
"Show slide view" on any slide, get following error in console:
plugin:obsidian-advanced-slides:226 Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('http://localhost:3000') does not match the recipient window's origin ('app://obsidian.md').
Get the same error on refresh and show grid.
Obsidian in installed from obsidian_1.4.16_amd64.deb

Note
A similar bug has happened to me before, and previously managed to solved it by extracting https://github.com/hakimel/reveal.js/archive/master.zip into the obsidian plugins folder (presumably it was blocked from being downloaded). However, this no longer works.

@lucasrodwell lucasrodwell added the bug Something isn't working label Nov 5, 2023
@lucasrodwell
Copy link
Author

I think I may have had two vaults open, both using advanced slides on the same default port 3000. Just needed to change the port number... Solved, changing the port number fixed it.

@CEbbinghaus
Copy link

I think I may have had two vaults open, both using advanced slides on the same default port 3000. Just needed to change the port number... Solved, changing the port number fixed it.

Thank you so much. That is exactly the problem I had. Surely there is a way to either programmatically choose a different port per Obsidian instance or at least warn the user as to why the show slide doesn't work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants