From 5854705968e73c222724be24eecd21c488a7e977 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 24 Apr 2012 13:40:22 +0200 Subject: Test (Applets): Add MovieCube to jogl-test-applets page. --- .../com/jogamp/opengl/test/junit/jogl/demos/es2/av/MovieCube.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/test') diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/av/MovieCube.java b/src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/av/MovieCube.java index 090b947d9..557cf28d7 100755 --- a/src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/av/MovieCube.java +++ b/src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/av/MovieCube.java @@ -69,7 +69,12 @@ public class MovieCube implements GLEventListener, GLMediaEventListener { TexCubeES2 cube=null; GLMediaPlayer mPlayer=null; URLConnection stream = null; - + + public MovieCube() throws IOException { + this(new URL("http://download.blender.org/peach/bigbuckbunny_movies/BigBuckBunny_320x180.mp4").openConnection(), + -2.3f, 0f, 0f); + } + public MovieCube(URLConnection stream, float zoom0, float rotx, float roty) throws IOException { this.stream = stream; mPlayer = GLMediaPlayerFactory.create(); -- cgit v1.2.3