Whats the issue
when you change the orientation the whole activity is created again. That means that all the layouts are again drawn on the screen. As I have mentioned earlier the player uses the height and width of its container therefore when you change the orientation the height and width at that time is not calculated and it causes the player to scale abnormally. And I can’t do anything about it. Moreover JavaScript code execution is a tricky part as well. Therefore those who have scaling issues don’t change orientation by yourself and let the default player handle itself.