Comments (2)
When trying the same setup with app:useTextureViewBacking="true"
the picture is correctly rotated
from exomedia.
It's been a while since we initially implemented the functionality to rotate so I need to do some research to refresh my memory. Unfortunately the SurfaceView
handling of rotation only rotates the cutout and doesn't actually rotate the content, this is due to how the SurfaceView
works. This is the same reason that the ExoPlayer itself doesn't handle video rotation for the SurfaceView
(see Issue #3385).
However, the TextureView
does rotate both the frame and the media so if you need to specify the media rotation manually you will need to use the TextureView
backing instead (by adding app:useTextureViewBacking="true"
to you VideoView definition in XML).
I will update the documentation for the setVideoRotation
function to include this information to help those in the future.
from exomedia.
Related Issues (20)
- ExoMedia does not support AVI video format HOT 1
- OverideDuration is not working HOT 1
- Player is accessed on the wrong thread HOT 1
- Source error
- AppBar show during controller show in full screen. HOT 2
- ReSize Mood add into Exoplayer HOT 6
- Update TV Video Player Controls
- When will 5.0.0 be released? HOT 3
- Improved VideoControls Error Handling
- Crash when add library ExoPlayer 2.17.0 HOT 5
- ExoMedia demo crashes with v5.0.0 on Android 8.1 and Android 9 virtual devices HOT 1
- jetifier enabled in demo app (migrate constraintlayout) HOT 3
- Many requests to server HOT 1
- Authentication: Bearer token HOT 2
- the video window will shake
- [Question] What about using your library for content URI scheme?
- can this project support to a minium version of android 17? HOT 1
- Can open videoplayback file?
- Kotlin version error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from exomedia.