youtube api - android : youtubeplayerview api configuration change issue -


i using youtubeplayerview display youtube videos. having issue handling orientation change .

initially video open in portrait mode , expected. if click full screen button, video opens in full screen in landscape mode . ( not change orientation of phone, full screen opened in landscape mode ).

now watch video , rotate phone 90 degrees left , watch full screen video. if rotate phone , full screen automatically change small scree in portrait mode.

so looks full screen in landscape mode , portrait mode have small screen. not want behavior. want change video size based on user clicking full screen or not. not based on phone orientation

please how fix it. saw setting flags player not working .

you can use manifest activity android:screenorientation="nosensor".


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -