Skip to content

Advanced Browser Demo #1916

Answered by Danielku15
serenity81 asked this question in Q&A
Feb 26, 2025 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Seems browsers or jsdelivr changed their policies since the sample was created. The sample itself works fine if you do not use alphaTab from the CDN but pull alphaTab locally (e.g. via NPM).

The problem seems ESM related so you can use the UMD example I just uploaded: https://github.com/CoderLine/alphaTabSamplesWeb/tree/main/src/browser-advanced-umd

I also added #1917 to fix the ESM problem. WebWorkers/AudioWorklets and CORS have always been a problematic due to additional browser restrictions compared to AJAX, imports and similar.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@serenity81
Comment options

@Danielku15
Comment options

Answer selected by Danielku15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants