Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 5    Views: 39

Adnan Basra
Aspiring developer
Profile
Posts: 189
Reg: Apr 26, 2013
Salmiyah
2,940
01/27/14 01:11 PM (11 years ago)

AT53 Video Player Showing video cropped

Hi, I am using the AT53 Video Player plugin for my android app on Buzztouch. The problem I am facing is that in vertical mode it is showing video cropped to the lower side of screen. But when I rotate the screen video becomes full screen. Image link below will further explain my problem. https://www.buzztouch.com/applications061013/JA31505D239C647D08A49F762/images/Screenshot%20at53%20player.png Kindly suggest me what should I do to make video fit to screen . Best Regards, Adnan
 
SGB
Android Fan
Profile
Posts: 56
Reg: Mar 26, 2013
Goes
1,160
like
01/28/14 01:21 AM (11 years ago)
I'm having the same problem. Just subscribed to this thread since because I want to know if there is a solution for this.
 
ATRAIN53
Code is Art
Profile
Posts: 1755
Reg: Nov 17, 2011
Chicago
26,450
like
01/29/14 08:07 AM (11 years ago)
I'm working with Adnan to resolve this. It's impossible to test videos on the Android emulators and I don't have the actual device(s)he is experiencing this on. Curious if others are experiencing this? Also curious if: 1) Is it showing the whole video in Portrait but in a small scaled window? or is it actually cutting/cropping the video? 2) What devices have you seen this happen? This plugin was written and Android 2.x tested, so it may need some work for 3.x/4.x OS'es. On iOS devices the standard seems to really be landscape mode for videos. It's possible (and easier) to lock a screen in a particular orientation in Android. This might be a work around to explore. To do that in Android you could put this in the onCreate of this plugin: setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE); or you could add this option to the plugins activity in the Android manifest: android:screenOrientation="landscape" I'm also curious if this plugin experiences the same issues on the same devices? https://www.buzztouch.com/plugins/plugin.php?pid=30E309BA797C29134B94872
 
SGB
Android Fan
Profile
Posts: 56
Reg: Mar 26, 2013
Goes
1,160
like
01/29/14 10:39 AM (11 years ago)
It's shows the video only on the bottom side of the screen and it's cropped. I try to make a screenshot of the problem. Anyhow, I'm using a HTC Desire S with Android 2.3.5. EDIT: It's the same as the link Adnan Basra mentioned in his topic.
 
SGB
Android Fan
Profile
Posts: 56
Reg: Mar 26, 2013
Goes
1,160
like
02/04/14 12:00 PM (11 years ago)
Atrain53, Any progress on the plugin. It's to bad that the movie won't show up normally in portrait mode. Maybe it wouldn't be such a problem (for the moment) if the movie shows up on top of the screen and not at the bottom. I don't want to push here, but I can't really use the plugin as it is at this moment.
 
ATRAIN53
Code is Art
Profile
Posts: 1755
Reg: Nov 17, 2011
Chicago
26,450
like
02/04/14 02:37 PM (11 years ago)
This is a difficult one to test/troubleshoot. Videos really only work properly on actual devices and I don't have an Android device with that OS to test it on. The OS on my device is 2.2.3 I'm not sure when I'll get my hands on one and I can't really do to much without it. I'll give the Samsung remote test lab a try but it's still an emulator.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.