gdx-video
gdx-video copied to clipboard
gdx-video support for teavm-backend?
I used gwt in the past, but I find teavm the much better option for web, e.g. due to its mutlithreading support. Are there plans to support teavm also in the future?
I didn't plan it. I think I only tried gdx-teavm once. I can look into it when I find some time. It would be kind of interesting to have this first party lib compatible with a third party backend.
So I just made a first version of it by changing basically the classes from gwt to teavm https://github.com/libgdx/gdx-video/tree/teavm Three things needed to be done for testing it:
((TeaGL20)Gdx.gl).glis not accessiblev.setSrc(((TeaFileHandle)file).getAssetUrl());getting the url of the video fileVideoPlayerCreatorfind out how to use reflection