Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EMVideoView not fitting the screen, looks slightly tilted #318

Closed
1 task done
Shajeel-Afzal opened this issue Sep 22, 2016 · 3 comments
Closed
1 task done

EMVideoView not fitting the screen, looks slightly tilted #318

Shajeel-Afzal opened this issue Sep 22, 2016 · 3 comments

Comments

@Shajeel-Afzal
Copy link

Shajeel-Afzal commented Sep 22, 2016

I am showing video using EMVideoView, but I see that it is not fitting the screen properly. Please see the screenshot. I have a basic layout:

<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:EMVideoView="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@color/icons"
    android:fitsSystemWindows="true"
    android:orientation="vertical">

    <com.devbrackets.android.exomedia.ui.widget.EMVideoView
        android:id="@+id/video_view"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="@color/icons"
        EMVideoView:useDefaultControls="true" />

    <include layout="@layout/toolbar" />
</FrameLayout>

Following is the view when using android:fitsSystemWindows="true"
device-2016-09-22-134400

And following is when not using android:fitsSystemWindows="true", Can you please tell me what might be wrong?
device-2016-09-22-134228

  • I have verified there are no duplicate active or recent bugs, questions, or requests
Include the following:
  • ExoMedia version: 3.0.0
  • Device OS version: 6.0
  • Devide Manufacturer: Samsung
  • Device Name: S7 Edge
@brianwernick
Copy link
Owner

It looks like the metadata for the video includes a non standard (multiple of 90) rotation. Do you see this with different videos?

@brianwernick
Copy link
Owner

@Shajeel-Afzal If possible would you post the url to the video you are seeing this with. Otherwise I cannot Reproduce the issue

@Shajeel-Afzal
Copy link
Author

@brianwernick sorry it was mistakenly done by me. It is resolved now, Thank you so much for creating this library 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants