I found that the latest version 1.4 seems to not support mobile devices, specifically when not using modules. #2027
Replies: 1 comment 1 reply
-
Thanks for reporting, I'll look into it. Its rather that it currently only works in Chrome because its the only browser supporting
In your example you are using
As of today we ship still both UMD and ESM versions of alphaTab. But generally I highly recommend moving to ESM. It is rather a dying practice to have UMD which spoil the global scope and with a future 2.x we will very likely remove support for CJS and UMD. Bundlers, Browsers and Node all have first class ESM support nowadays. And even if you want to keep using the global scope and CDN you can use ESM without updating the rest of your code via code like this:
|
Beta Was this translation helpful? Give feedback.
-
I found that the latest version 1.4 seems to not support mobile devices, such as Safari on iOS. It appears that the alphatab font is missing, but there is no issue when viewed in a PC browser. I'm not sure what the reason is. Attached are the relevant images.
This is a page that displays correctly on PC

This is a situation where it does not display correctly on mobile devices.:

Since the project was upgraded from the previous version 1.3, converting it to modules is quite complicated. It would be best if we could continue using type="text/javascript" as that would require the least amount of changes.
code:
`
<title>AlphaTab Simple Demo</title> <script src="https://cdn.jsdelivr.net/npm/@coderline/alphatab@alpha/dist/alphaTab.min.js"></script>Beta Was this translation helpful? Give feedback.
All reactions