When you try to create a video player using a custom mesh you get a NullPointerException: Attempt to invoke virtual method 'void com.badlogic.gdx.graphics.glutils.ShaderProgram.begin()' on a null object reference. When I opened up VideoPlayerAndroid.java I noticed shader is never instantiated in the third constructor:
`
public VideoPlayerAndroid () {
this(new FitViewport(Gdx.graphics.getWidth(), Gdx.graphics.getHeight()));
}
When you try to create a video player using a custom mesh you get a NullPointerException: Attempt to invoke virtual method 'void com.badlogic.gdx.graphics.glutils.ShaderProgram.begin()' on a null object reference. When I opened up VideoPlayerAndroid.java I noticed shader is never instantiated in the third constructor:
` public VideoPlayerAndroid () { this(new FitViewport(Gdx.graphics.getWidth(), Gdx.graphics.getHeight())); }
`