I'm so glad you figured it out.
That's a good point. If an OAM file is dependent on the Flash Player (as it would be if the new Animate document is created with the Platform Type set to Actionscript 3.0), then it likely won't work now as Adobe ended support for the Flash Player in 2021 and many browsers had already dropped it.
For anyone with the same issue, you can convert your Animate document to Canvas by going to File > Convert To > HTML5 Canvas.