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

Would there be a way to create an iFrame service ? #60

Open
Limezy opened this issue Oct 29, 2021 · 2 comments
Open

Would there be a way to create an iFrame service ? #60

Limezy opened this issue Oct 29, 2021 · 2 comments

Comments

@Limezy
Copy link

Limezy commented Oct 29, 2021

Hi, thanks for this awesome project that I use every week.
This is not an issue, it's more like a feature request
Would it be possible to include an iframe for any of the included score ?
That would be incredibly helpful to integrate a gregorian chant score inside a markdown / Obsidian note, or inside Outline wiki note / Flarum forum post for instance !
Thanks !
French gregorian singer

@bbloomf
Copy link
Owner

bbloomf commented Oct 29, 2021

What would this look like? Just a page that takes GABC in the query string and renders it something like https://bbloomf.github.io/jgabc/psalmtone#noeditor does but without the link at the top to show the editor? That should be pretty simple to make a URL, e.g. https://bbloomf.github.io/jgabc/render?gabc=(c4)+Ex(g)am(g)ple(g)+(%3A%3A) to behave as I think you're asking

@Limezy
Copy link
Author

Limezy commented Apr 3, 2022

Hi @bbloomf !

First of all, thanks for your answer and I'm so sorry to reply soooo late...
Your understanding is indeed right. What I would need is ideally a "secure" webpage, (just like youtube embeds for instance), that doesn't allow any navigation, that don't have any frame etc... Just the pure rendered svg score or verses.

The url could produce the score :

Of course options could be integrated to setup the font, to activate the player or not etc...

After a bit of searching, it looks like what I need is mostly a setup based on the Exsurge library.
About that library, I'm a bit lost as your fork seems to be now way ahead of the original one ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants