Closed jameelur closed 8 years ago
I'll look into the changes tonight, after which I'll probably merge it. Thank you for the contribution!
Indeed the documentation says that it will set the world size to the video size, and the android implementation didn't do this. However, the desktop implementation also does not do this.
Since I'm quite busy at the moment, could you add this as well? Could you also fix the indentation?
I'm not quite familiar with the desktop implementation as I haven't tried it out before. So it may be better if you could make that change when you can. But from what I can see, you do set the viewport world size to the video dimensions (line 173).
I've fixed the indentation as requested. My mistake, didn't notice you use tabs instead of whitespace.
Ow yeah, you're right. I totally missed that line. Thank you for the fixes!
The current VideoPlayerAndroid does not adhere to the viewport type that was used in it's instantiation. The changes I've made updates the viewport world dimensions once the media player has been prepared and then update the viewport and camera to display the video in the correct dimensions.