Skip to content

Conversation

@SimonIT
Copy link
Member

@SimonIT SimonIT commented May 2, 2025

No description provided.

@SimonIT SimonIT marked this pull request as draft May 2, 2025 14:38
@SimonIT SimonIT linked an issue May 2, 2025 that may be closed by this pull request
SimonIT added a commit to SimonIT/gdx-teavm that referenced this pull request May 10, 2025
xpenatan added a commit to xpenatan/gdx-teavm that referenced this pull request May 11, 2025
@SimonIT SimonIT marked this pull request as ready for review May 11, 2025 20:52
@SimonIT SimonIT requested a review from xpenatan May 11, 2025 21:06
@SimonIT SimonIT requested review from Copilot and removed request for xpenatan July 10, 2025 09:05
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a TeaVM-based HTML/JavaScript backend for video playback tests by introducing new launcher and builder classes, integrating a TeaVM-specific module, and wiring up the project settings.

  • Added a TeaVM entry point and build tool for test applications
  • Introduced a new gdx-video-teavm module containing VideoPlayerTea and factory
  • Updated multi-module settings and Gradle properties for TeaVM versions

Reviewed Changes

Copilot reviewed 9 out of 10 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
test/teavm/src/main/java/com/badlogic/gdx/video/test/teavm/TeaVMLauncher.java HTML/TeaVM application launcher
test/teavm/src/main/java/com/badlogic/gdx/video/test/teavm/TeaVMBuilder.java TeaVM build configuration
test/teavm/build.gradle Build and run tasks for the TeaVM test module
settings.gradle Includes gdx-video-teavm and test:teavm modules
gradle.properties Defines gdxTeaVMVersion and teaVMVersion
gdx-video-teavm/src/emu/com/badlogic/gdx/video/VideoPlayerCreator.java Factory for TeaVM VideoPlayer implementation
gdx-video-teavm/src/com/badlogic/gdx/video/VideoPlayerTea.java Implements VideoPlayer via HTML5 <video> element
gdx-video-teavm/res/META-INF/teavm.properties Maps emu.com package hierarchy for TeaVM
gdx-video-teavm/build.gradle Configures the gdx-video-teavm library module
Comments suppressed due to low confidence (1)

gdx-video-teavm/src/com/badlogic/gdx/video/VideoPlayerTea.java:33

  • [nitpick] Add unit or integration tests for VideoPlayerTea methods (e.g., load, play, update) to validate HTML5 video rendering and event handling under TeaVM.
public class VideoPlayerTea extends AbstractVideoPlayer implements VideoPlayer {

@SimonIT SimonIT merged commit bbc5c6d into master Oct 18, 2025
4 checks passed
@SimonIT SimonIT deleted the teavm branch October 18, 2025 11:47
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

Successfully merging this pull request may close these issues.

gdx-video support for teavm-backend?

3 participants